int32 DAQmxSwitchDisconnect (const char switchChannel1[], const char switchChannel2[], bool32 waitForSettling);
Disconnects two switch channels. When using this function, specify only the two connection endpoints switchChannel1 and switchChannel2.
| Input | ||
| Name | Type | Description |
|---|---|---|
| switchChannel1 |
|
The first channel to disconnect. |
| switchChannel2 |
|
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. |
| 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. |