DAQmxDisconnectTerms

NI-DAQmx C Reference Help

Edition Date: January 2019

Part Number: 370471AM-01

»View Product Info
Download Help (Windows Only)

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 const char [] The originating terminal of the route. You can specify a terminal name.
destinationTerminal const char [] 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful