DAQmxExportSignal
- Updated2023-03-16
- 2 minute(s) read
int32 DAQmxExportSignal (TaskHandle taskHandle, int32 signalID, const char outputTerminal[]);
Purpose
Routes a control signal to the specified terminal. The output terminal can reside on the device that generates the control signal or on a different device. Use this function to share clocks and triggers between multiple tasks and devices. The routes created by this function are task-based routes.
Parameters
| Input | |||||||||||||||||||||||||||||||||||||||||
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| taskHandle | TaskHandle | The task used in this function. | |||||||||||||||||||||||||||||||||||||||
| signalID | int32 | The name of the trigger, clock, or event to export.
|
|||||||||||||||||||||||||||||||||||||||
| outputTerminal | The destination terminal of the exported signal. You can specify a string containing a comma-delimited list of terminal names. |
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. |