User manual
2.3.46 AcqrsD1_configSetupArray
Purpose
Sets the configuration for an array of configuration values. It is useful for Analyzers only.
Parameters
Input
Name Type Description
instrumentID ViSession Instrument identifier
channel ViInt32 1...Nchan
setupType ViInt32 Type of setup.
0 = GateParameters
nbrSetupObj ViInt32 Number of setup objects in the array
setupData ViAddr Pointer to an array containing the setup objects
ViAddr resolves to void* in C/C++. The user must
allocate the appropriate variable type and supply its
address as ‘setupData’.
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
GateParameters in AqGateParameters
Name Type Description
GatePos ViInt32 Start position of the gate (must be multiple of 4)
GateLength ViInt32 Length of the gate (must be multiple of 4)
Discussion
The user has to take care to allocate sufficient memory for the setupData. nbrSetupObj should not be
higher than what the allocated setupData holds.
The SSR option allows up to 4095 gate definitions. The AP101/AP201 analyzers are limited to 64 gate definitions.
Note: The driver contains a set of 4095(64) default AqGateParameters, defined as { {0,256} {256, 256} {512, 256}
{768, 256} ... }.
Programmer’s Reference Manual Page 91 of 210