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.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.