DAQmxAutoConfigureCDAQSyncConnections
int32 DAQmxAutoConfigureCDAQSyncConnections(const
char chassisDevicesPorts[], float64 timeout);
Purpose
Detects and configures cDAQ Sync connections
between devices. Stop all NI-DAQmx tasks running on the devices
prior to running this function because any running tasks cause
auto-configuration to fail.
Parameters
Input
|
Name |
Type |
Description |
chassisDevicesPorts
|
const char [] |
Specifies the names of the CompactDAQ chassis, C
Series modules, or cDAQ Sync ports in comma separated form to
search. If no names are specified, all cDAQ Sync ports on
connected, non-simulated devices are scanned. |
timeout
|
float64 |
The amount of time, in seconds, to wait for the
device to respond before timing out. If a timeout occurs, no
configuration is changed. |
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. |
|