User manual
2.3.34  AcqrsD1_configAvgConfigInt32 
Purpose 
Configures a long parameter for averager/analyzer operation. 
Parameters 
Input 
Name Type  Description 
instrumentID ViSession Instrument identifier 
channelNbr  ViInt32  Channel number. A value = 0 will be treated as =1 for 
compatibility. 
parameterString ViString  Character string defining the requested parameter. 
See below for the list of accepted strings. 
value  ViInt32  Value to set. 
Return Value 
Name Type  Description 
status ViStatus Refer to Table 2-1 for error codes. 
Accepted Parameter Strings 
Parameter String  Data 
Type 
Description 
"DitherRange" ViInt32 
Range of offset dithering, in ADC LSB’s. May assume 
values v = 0, 1…15. The offset is dithered over the range 
 [ -v, + v] in steps of ~1/8 LSB. For Averagers ONLY. 
"FixedSamples" 
ViInt32 
For Threshold Gate type in AP240/AP235 Analyzers and 
Peak
TDC
 ONLY. 
Number of samples transmitted for each point over 
threshold. It must be a multiple of 4. 0 = No limit imposed. 
"GateType" 
ViInt32 
For AP240/AP235 Analyzers and Peak
TDC
 ONLY. 
  1 = User Gates 
  2 = Threshold Gates 
"HistoTDCEnable" 
ViInt32 
For AP240/AP235 Averagers ONLY. 
May assume 0 for not enabled and 
 1 to enable the simple TDC mode for the channel 
"InvertData" 
ViInt32 
May assume 0 (no inversion) and 
  1 (invert data, 1’s complement). 
"NbrMaxGates" 
ViInt32 
For Threshold Gate type in AP240/AP235 Analyzers and 
Peak
TDC
 ONLY. 
Maximum number of gates allowed for each segment. 
  0 = No limit imposed 
"NbrSamples" ViInt32 
Number of data samples per waveform segment. May 
assume values between 16 or 32 and the available memory 
length, in multiples of 16 (32) as explained below. 
"NbrSegments" ViInt32 
Number of waveform segments to acquire. May assume 
values between 1 and 8192. 
"NbrWaveforms" ViInt32 
Number of waveforms to average before going to next 
segment. May assume values between 1 and 65535 (64K – 
1). For Averagers ONLY. 
"NbrRoundRobins" ViInt32 
Number of times to perform the full segment cycle during 
data accumulation. For AP240/AP235 Averagers and 
Peak
TDC
 ONLY. 
"NoiseBaseEnable" 
ViInt32 
May assume 0 (no base subtraction) and 1 (base subtraction 
enabled). It can only be enabled if the threshold is enabled. 
For Averagers ONLY. 
Programmer’s Reference Manual    Page 64 of 210 










