Firing Triggers with a Synchronization Clock

Prerequisites: Setting and Dividing a Synchronization Clock

After you have set a synchronization clock for the front and/or rear zones of your chassis, you can use the synchronization clock to control when triggers fire. Using the synchronization clock terminal of niSync Connect Trigger Terminals, you can set a trigger to fire on an update edge of the full-speed or a divided synchronization clock.

You can also fire a trigger asynchronously using this terminal, though a trigger synchronized to a time reference is generally more accurate than an asynchronous trigger. Using a synchronization clock to coordinate trigger firing is ideal for situations where you are trying to synchronize different signals coming through the front and back zones of your chassis.

Complete the following steps to synchronize a trigger with a divided or full-speed clock:

  1. Place niSync Connect Trigger Terminals.
  2. Wire instrument handle with the session handle from the niSync Property Node you used in Setting and Dividing a Synchronization Clock.
  3. Set Divided Clock 1 as the value for synchronization clock. This divides the frequency of the synchronization clock by the value you set in the Clock Divisor 1 parameter of the niSync Property Node and uses the result as the synchronization clock frequency for this trigger.
    Note Note  You can also set the synchronization clock terminal to the following values:
    • Divided Clock 2—Fires the trigger on an update edge of the second divided clock you created with the Clock Divisor 2 parameter of the niSync Property Node.
    • Full Speed Clock—Fires the trigger on an update edge of the full-speed synchronization clock.
    • Asynchronous—Fires the trigger independently of the synchronization clock.
  4. Select the source and destination terminals for this trigger.

After completing the preceding steps, the trigger fires on an update edge of the full-speed or divided synchronization clock.