VeriStand .NET API Reference

Target.SetControlLoopTimingSourceToDAQ Method

Sets the Primary Control Loop timing source to the DAQ device with the specified name and configuration.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function SetControlLoopTimingSourceToDAQ ( _
	DAQDeviceName As String, _
	DAQTimeout As UInteger, _
	TimedLoopSleepTime As UInteger _
) As Boolean
C#
public bool SetControlLoopTimingSourceToDAQ(
	string DAQDeviceName,
	uint DAQTimeout,
	uint TimedLoopSleepTime
)
Visual C++
public:
bool SetControlLoopTimingSourceToDAQ(
	String^ DAQDeviceName, 
	unsigned int DAQTimeout, 
	unsigned int TimedLoopSleepTime
)

Parameters

DAQDeviceName
Type: System.String
The name of the DAQ device to set as the timing source.
DAQTimeout
Type: System.UInt32
The amount of time in milliseconds to wait for the DAQ device to transfer data before timing out.
TimedLoopSleepTime
Type: System.UInt32
The amount of time in microseconds the Primary Control Loop sleeps after each tick.

Return Value

true (True in Visual Basic) if the timing source was set successfully. false (False in Visual Basic) if the DAQ device is an invalid timing source.

See Also

Log in to get a better experience