DAQmxSwitchCreateScanList

NI-DAQmx C Functions

DAQmxSwitchCreateScanList

int32 DAQmxSwitchCreateScanList (const char scanList[], TaskHandle *taskHandle);

Purpose

Creates a new switch scanning task that uses the specified scan list and applies it to the specified task.

Parameters

Input
Name Type Description
scanList const char [] Uses a special syntax to specify the sequence of connections and disconnections for the task.
Output
Name Type Description
taskHandle TaskHandle * The task created by this function.

Return Value

Name Type Description
status int32 The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error.