User manual
2.3.72 AcqrsD1_getSetupArray
Purpose
Returns an array of configuration parameters. 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 Maximum allowed number of setup objects in the
output.
Output
Name Type Description
setupData ViAddr Pointer to an array for the setup objects
ViAddr resolves to void* in C/C++. The user must
allocate the appropriate array and supply its address as
‘setupData’
nbrSetupObj-
Returned
ViInt32 Number of setup objects returned
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
AqGateParameters
Name Type Description
GatePos ViInt32 Start position of the gate
GateLength ViInt32 Length of the gate
Discussion
For the object definition refer to AcqrsD1_configSetupArray. If AcqrsD1_getSetupArray is called
without having set the Parameters before, the default values will be returned.
Note: The driver contains a set of 64 default AqGateParameters, defined as { {0,256} {256, 256} {512,
256} {768, 256} ... }.
Programmer’s Reference Manual Page 138 of 210