NI-DAQmx .NET Framework 4.0 API Reference

DaqSystem.AutoConfigureCDaqSynchronizationConnections Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.AutoConfigureCDaqSynchronizationConnections Method
Detects and configures cDAQ Sync connections between devices.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public string AutoConfigureCDaqSynchronizationConnections(
	string deviceRequested,
	double timeout
)
Public Function AutoConfigureCDaqSynchronizationConnections ( 
	deviceRequested As String,
	timeout As Double
) As String

Parameters

deviceRequested
Type: SystemString
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
Type: SystemDouble
The time in seconds to wait for the device to respond before timing out. If a timeout occurs, no configuration is changed.

Return Value

Type: String
The configured port-to-port connections.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

Stop all NI-DAQmx tasks running on the devices prior to calling this method because any running tasks cause auto-configuration to fail.
Note Note
Auto-configure toggles lines on ports during configuration. Upon completion, all previous configurations are deleted.

See Also

Log in to get a better experience