This example is based on niScope EX Configured Acquisition.vi that installs with the NI-SCOPE driver. For information on front panel inputs, configuration, and external connections, please refer to the VI documentation for that example.
This example demonstrates the use of a start and reference trigger together. The digitizer in use will only accept the reference trigger after the start trigger has been received. Thus, a common use case is setting the digitizer to wait on a reference trigger from a repeating source, such as a pulse train or sample clock. The user can then decide to use the nth pulse in a series of pulses, or trigger from a sample clock pulse after a start trigger has been received from another source.
This example also uses an external reference clock, however this is optional. To remove reference clock functionality refer to step 7 on the block diagram.
Choose the name of your device from Resource Name dropdown box.
Configure your vertical, horizontal, and channel parameters in the corresponding boxes of the front panel.
Configure your trigger parameters, including the trigger source for your start trigger and the trigger source for your reference trigger. The start trigger must be received once before the reference trigger can initiate each individual acquisition to occur.
To end the program, press STOP on the Front Panel.