Table Of Contents

Read Trigger Time Stamp Multimode Function (Multiple Timestamps) (G Dataflow)

Last Modified: August 28, 2017

Reads multiple timestamps recorded on the internal software buffer for a specific terminal and returns them in an array.

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

connector_pane_image
datatype_icon

instrument handle in

The instrument handle that you obtain from Initialize.

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

number of timestamps

The number of timestamps to read.

If the number of timestamps is not available before the timeout elapses, the number read before the timeout occurred is returned through the time stamp(s) out and detected edges arrays.

datatype_icon

error in (no error)

error in (no error) accepts error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_icon

status

status is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_icon

code

code identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_icon

source

source specifies the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_icon

instrument handle out

The instrument handle that you obtain from Initialize.

datatype_icon

time stamp(s) out

The oldest unread timestamp detected on the specified trigger terminal.

The timestamp is removed from the software buffer when read.

datatype_icon

detected edges

Returns an array of integer enumerations of size equal to the number of timestamps read that specifies the detected trigger conditions.

Name Description
rising The detected timestamp was recorded on the rising edge of the trigger.
falling The detected timestamp was recorded on the falling edge of the trigger.
datatype_icon

error out

error out passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_icon

status

status is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_icon

code

code identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_icon

source

source specifies the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

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