Example Code

niScope Count Triggers

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Modular Instrumentation

    Software

  • LabVIEW

    Driver

  • Other

Code and Documents

Attachment

Overview
Demonstrates how to count the number of triggers received during an acquisition.


Description
This example configures the NI-SCOPE device for continuous acquisition, and to count the number of the triggers received during an acquisition. You can select the positive or negative trigger slope.

 

Requirements

Software:

  1. LabVIEW 2012 (or compatible)
  2. NI-SCOPE


Steps to Implement or Execute Code

  1. Setup trigged acquisition.
  2. Run the VI properly.
  3. Fetch all available records.
  4. Keep running total of records.

 

Additional Information or References
VI Snippet

1111.png

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Dustin D

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.