NI-DAQmx .NET Framework 4.0 API Reference

DaqSystem.GetDisconnectedCDaqSynchronizationPorts Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.GetDisconnectedCDaqSynchronizationPorts Method
Verifies configured cDAQ Sync connections between devices.

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

Syntax

public string GetDisconnectedCDaqSynchronizationPorts(
	string deviceRequested,
	double timeout,
	out bool disconnectedPortsFound
)
Public Function GetDisconnectedCDaqSynchronizationPorts ( 
	deviceRequested As String,
	timeout As Double,
	<OutAttribute> ByRef disconnectedPortsFound As Boolean
) 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.
disconnectedPortsFound
Type: SystemBoolean
Indicates if any port connections are unverified.

Return Value

Type: String
The port-to-port connections that failed verification.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

Failures generally indicate a wiring issue or that a device has been powered off or removed. Stop all NI-DAQmx tasks running on the devices prior to running this method because any running tasks cause the verification process to fail.

See Also

Log in to get a better experience