Table Of Contents

DAQmx Create Timing Source (Control Loop From Task) (G Dataflow)

Last Modified: October 22, 2018

Creates a timing source that uses a combination of the sample clock and the specified sleep time to determine when to send ticks to a Timed Loop.

You must create an analog input task that uses sample clock timing and wire that task to the task in input of this node. Do not use the DAQmx Start Task node to start the task. The Timed Loop starts the task automatically. National Instruments recommends that you use this instance instead of the Signal From Task instance for best performance with Timed Loops.

connector_pane_image
datatype_icon

task in

task in is the name of the task that the operation applies.

datatype_icon

sleep time

sleep time specifies in microseconds the amount of time the Timed Loop sleeps after each sample clock pulse. The default sleep time is 0. This input is ignored on all OSes other than Pharlap or NI Linux RT.

datatype_icon

error in

error in describes error conditions that occur before this node runs. This input provides standard 'error in' functionality.

datatype_icon

timing source name

timing source name is the name to assign to the timing source this node creates.

datatype_icon

task out

task out is a reference to the task after this node or function completes execution.

datatype_icon

timing source out

timing source out is the name of the timing source this node creates. Wire this output to the source input of the Input Node of a Timed Loop.

If you specified a name for the timing source in the timing source name input, this output contains the same name. If you did not specify a name for the timing source, NI-DAQmx creates a name and sets this output to that name.

datatype_icon

error out

error out contains error information. If error in indicates that an error occurred before this node ran, error out contains the same error information. Otherwise, error out describes the error status that this node produces.

Where This Node Can Run:

Desktop OS: Windows

FPGA: LabVIEW NXG does not support FPGA devices

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics