DAQmxSwitchDisconnect
int32 DAQmxSwitchDisconnect (const char
switchChannel1[], const char switchChannel2[], bool32
waitForSettling);
Purpose
Disconnects two switch channels. When using this
function, specify only the two connection endpoints
switchChannel1 and
switchChannel2.
Parameters
Input
|
Name |
Type |
Description |
switchChannel1
|
const char []
|
The first channel to disconnect. |
switchChannel2
|
const char []
|
The second channel to disconnect. |
waitForSettling
|
bool32 |
If TRUE, this function waits for the switches to
settle before returning. If FALSE, the function returns immediately
after the operation. |
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. |
|