DAQmxDisconnectTerms
int32 DAQmxDisconnectTerms (const char sourceTerminal[], const char destinationTerminal[]);
Purpose
Removes signal routes previously created using DAQmxConnectTerms. DAQmxDisconnectTerms cannot remove task-based routes, such as those created through timing and triggering configuration.
When this function executes, the route is unreserved immediately. For this reason, this type of routing is called immediate routing.
Parameters
Input | ||
Name | Type | Description |
---|---|---|
sourceTerminal |
|
The originating terminal of the route. You can specify a terminal name. |
destinationTerminal |
|
The receiving terminal of the route. You can specify a terminal name. |
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. |