Reads time at which the imported Time Trigger transitions low to high. The optional timeout can be used tio wait for the transition. The time is returned as a LabVIEW absolute timestamp. local time communicating uses the local timescale. network time communicating and network synced are applicable only for an Ethernet interface.


icon

Inputs/Outputs

  • cgenclassrntag.png session in

    session in is the session to read. This session is selected from the LabVIEW project or returned from the XNET Create Session VI.

  • cdbl.png timeout (10)

    timeout is the time to wait for the rising edge of Time Trigger. The timeout is a LabVIEW relative time, represented as 64-bit floating-point in units of seconds.

    If timeout is positive, the XNET Read (State Time Trigger) VI waits for the rising edge of Time Trigger, then returns the timestamps for that edge. If the edge does not occur prior to the timeout, an error is returned.

    If timeout is negative, the XNET Read (State Time Trigger) VI waits indefinitely for the rising edge of Time Trigger.

    If timeout is zero, the XNET Read (State Time Trigger) VI does not wait and immediately returns the timestamps, which are zero (invalid) if the rising edge of Time Trigger has not occurred.

    This input is optional. The default value is 10 seconds.

  • cerrcodeclst.png error in (no error)

    The error in cluster can accept 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.

  • igenclassrntag.png session out

    session out is the same as session in, provided for use with subsequent VIs.

  • iatrn.png local time trigger

    local time trigger returns the timestamp of first rising edge of the imported Time Trigger since it was armed. The timestamp is a LabVIEW absolute time, using the local timescale. If Time Trigger has not encountered a rising edge since it was armed, local time trigger returns zero (an invalid timestamp).

  • ierrcodeclst.png error out

    The error out cluster 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.

  • iatrn.png network time trigger

    network time trigger returns the timestamp of first rising edge of the imported Time Trigger since it was armed. The timestamp is a LabVIEW absolute time, using the network timescale. If Time Trigger has not encountered a rising edge since it was armed, network time trigger returns zero (an invalid timestamp).

  • ibool.png network synced

    network synced contains the value of the Synced? property at the time that both timestamps are acquired, to specify whether the network time trigger timestamp is synchronized to the network (true) or not (false).

  • Description

    When you use the XNET Connect Terminals VI with destination terminal of TimeTrigger (i.e., imported), the Time Trigger captures absolute timestamps on the rising edge, and you read those timestamps using this XNET Read (State Time Trigger) VI.

    The imported Time Trigger is armed when you invoke the XNET Connect Terminals VI, and Time Trigger is armed again on each subsequent invocation of the XNET Read (State Time Trigger) VI. After the Time Trigger is armed, the first rising edge after arming is captured for the subsequent XNET Read (State Time Trigger) VI.