Table Of Contents

Read Trigger Time Stamp Multimode Function (Single Timestamp) (G Dataflow)

Last Modified: August 28, 2017

Reads a timestamp recorded on the internal software buffer for a specific terminal.

You must invoke Enable Time Stamp Trigger for this function to return a timestamp.

connector_pane_image
datatype_icon

instrument handle in

The instrument handle that you obtain from Initialize.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

terminal

The terminal that contains the digital signal you want to read timestamps from.

datatype_icon

timeout

The number of seconds to wait for a time stamp to be generated before returning a timeout error.

Default: 10

datatype_icon

instrument handle out

The instrument handle that you obtain from Initialize.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.
datatype_icon

time stamp out

The oldest unread timestamp detected on the specified trigger terminal.

The timestamp is removed from the software buffer when read.

datatype_icon

detected edge

The detected trigger condition of the timestamp.

Name Description
rising The timestamp was written on the rising edge of the digital signal.
falling The timestamp was written on the falling edge of the digital signal.

Troubleshooting a Full Buffer

If the buffer associated with terminal is full, timestamp and trigger timestamp operations are suspended and you receive Error -1074118582. This function continues to return previously generated timestamps, despite the overflow condition, until no timestamps are available. You can clear this error condition using Disable Time Stamp Trigger, or you can expand the size of the timestamp buffer using niSync Properties.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

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


Recently Viewed Topics