Table Of Contents

DAQmx Wait For Next Sample Clock (G Dataflow)

Last Modified: July 19, 2019

Waits until the next pulse of the Sample Clock occurs.

Use this node to ensure I/O cycles complete within Sample Clock periods. National Instruments recommends you use this node for certain applications only.

Use the DAQmx Real-Time properties to configure error reporting and waiting options.


task in

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


timeout (sec)

timeout (sec) specifies the maximum amount of time in seconds to wait for the next Sample Clock pulse. If the time elapses, this node returns an error. The default timeout is 10 seconds. If you set timeout to -1, this node waits indefinitely.


error in

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


task out

task out is a reference to the task after this node runs.


is late?

is late? indicates if this node detected an extra Sample Clock pulse after the specified number of warmup iterations execute. Use the Number of Warmup Iterations DAQmx Real Time property to specify the number of warmup iterations. This output is always FALSE until that number of loop iterations execute.


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.

Errors and Warnings with Extra Sample Clock Pulses Between Call

If an extra Sample Clock pulse occurs between calls to this node, the second call returns an error or warning and waits for the next Sample Clock pulse. Use the Convert Late Errors to Warnings DAQmx Real-Time property to specify whether this VI returns errors or warnings. If that property is TRUE, any warnings this VI returns do not include the source string.

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