From 2573de66c1593269ebb631cb73dc718ee8070dcb Mon Sep 17 00:00:00 2001 From: "Ryan@SOLARIS_testStation" Date: Wed, 30 Oct 2024 12:13:01 -0400 Subject: [PATCH] bug fix on DigiParameters::GetFullPara for all channels --- DigiParameters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DigiParameters.h b/DigiParameters.h index 246e690..6c54512 100644 --- a/DigiParameters.h +++ b/DigiParameters.h @@ -75,7 +75,7 @@ class Reg { haha = "/cmd/"; // for SendChSWTrigger, not in GUI } if( ch_index == -1 ){ - return "/ch/0.." + std::to_string(nChannals) + haha + name; + return "/ch/0.." + std::to_string(nChannals-1) + haha + name; }else{ return "/ch/" + std::to_string(ch_index) + haha + name; }