www.vtiinstruments.com
EX1629 Command Set 181
vtex1629_get_scanlist
FUNCTION PROTOTYPE
ViStatus vtex1629_get_scanlist (ViSession vi, ViInt32 _VI_FAR channels[],ViPInt32 numberOfChannels);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
channels = an integer return array indicating which channels are included in the scan list. Valid return values: 0 to
47.
numberOfChannels = a return integer value indicating the number of channels currently included in the scan list.
Valid return values: 1 to 48.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function queries and returns a list of channels currently configured to be sampled in the data acquisition
process. The channels array must be at least 48 elements long.
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 channels[VTEX1629_MAX_SCANLIST_LENGTH];
ViInt32 numberOfChannels;
…
status = vtex1629_get_scanlist(instrumentHandle, channels, &numberOfChannels);