Table Of Contents

DAQmx Wait For Next Sample Clock (G Dataflow)

Version:
    Last Modified: February 6, 2017

    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.

    connector_pane_image
    datatype_icon

    task in

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

    datatype_icon

    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.

    datatype_icon

    error in

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

    datatype_icon

    task out

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

    datatype_icon

    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.

    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.

    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


    Recently Viewed Topics