DAQmxTristateOutputTerm
int32 DAQmxTristateOutputTerm (const char outputTerminal[]);
Purpose
Sets a terminal to high-impedance state. If you connect an external signal to a terminal on the I/O connector, the terminal must be in high-impedance state. Otherwise, the device could double-drive the terminal and damage the hardware. If you use this function on a terminal in an active route, the function fails and returns an error.
DAQmxResetDevice sets all terminals on the I/O connector to high-impedance state but aborts any running tasks associated with the device.
Parameters
Input | ||
Name | Type | Description |
---|---|---|
outputTerminal |
|
The terminal on the I/O connector to set to high-impedance state. 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. |