VeriStand .NET API Reference

CustomDevice.UseDeviceClock Property

Gets or sets whether the Timed Loop in which an asynchronous custom device runs is synchronized with the Primary Control Loop (PCL) timing source. This property only applies to asynchronous custom devices that run in Timed Loops.

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 Overridable Property UseDeviceClock As Boolean
C#
public virtual bool UseDeviceClock { get; set; }
Visual C++
public:
virtual property bool UseDeviceClock {
	bool get ();
	void set (bool value);
}

Property Value

true (True in Visual Basic) if the Timed Loop is synchronized with the PCL timing source. Otherwise false (False in Visual Basic).

Remarks

If true (True in Visual Basic), the system passes the timing source from the PCL to the custom device RT Driver VI. The PCL runs the custom device Timed Loop after NI VeriStand sets the outputs of the custom device. This prevents the PCL from running late if the custom device finishes late.

See Also

Log in to get a better experience