User manual

2.3.35 AcqrsD1_configAvgConfigReal64
Purpose
Configures a double 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 ViReal64 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
"NoiseBase"
ViReal64
Value in Volts of the value to be added in Noise Supressed
Averaging. For Averagers ONLY.
"StartDeltaPosPeakV"
ViReal64
Positive excursion needed before searching for positive
peak. Must be positive. For Peak
TDC
mode Analyzers
ONLY.
"Threshold"
ViReal64
Value in Volts of the threshold for Noise Supressed
Averaging or for SSR or Peak
TDC
with Threshold Gates.
"ValidDeltaPosPeakV"
ViReal64
Negative excursion needed to validate a positive peak. Must
be positive. For Peak
TDC
mode Analyzers ONLY.
Discussion
The channelNbr is used to designate the channel number for those parameters whose values can be different
for the two channels of an AP240/AP235 in dual-channel mode. These parameters are indicated in bold in
the list above.
Example
long channelNbr = 0;
double threshold = 0.8;
AcqrsD1_configAvgConfigReal64(ID, channelNbr, "DitherRange", double);
This function sets the NSA threshold to 0.8 V.
Note that this function takes the value of the parameter to be set, not the address.
Programmer’s Reference Manual Page 68 of 210