Continuous Data Acquisition Using NI-SCOPE With External Start Trigger

Updated Sep 28, 2023

Environment

Software

  • LabVIEW

Driver

  • NI-SCOPE

Synchronization is essential in a test and measurement system with more than one instrument. In this article, we will demonstrate how to perform continuous data acquisition with an external trigger using NI Oscilloscope.

  1. Ensure NI-SCOPE  compatible with your hardware model and LabVIEW version has been installed.
  2. Launch LabVIEW.
  3. Click Help >> Find Examples 
    image.png
  4. In the NI Example Finder, launch niScope EX Fetch Forever.vi located at Hardware Input and Output >> Modular Instruments >> NI-SCOPE >> Continuous Acquisition. 
    image.png
  5. In the block diagram of the VI, before niScope Initiate Acquisition.vi is called, insert a property node configured with Synchronization >> Start Trigger >> Source.
  6. The name of the trigger source terminal used should be the value of the property node. The acceptable values are
    • VAL_IMMEDIATE
    • VAL_RTSI_0
    • VAL_RTSI_1
    • VAL_RTSI_2
    • VAL_RTSI_3
    • VAL_RTSI_4
    • VAL_RTSI_5
    • VAL_RTSI_6
    • VAL_PFI_0
    • VAL_PFI_1
    • VAL_PFI_2
    • VAL_PFI_3
    • VAL_PFI_4
    • VAL_PFI_5
    • VAL_PFI_6
    • VAL_PFI_7
    • VAL_PXI_STAR
    • VAL_SW_TRIG_FUNC
  7. At this point, your block diagram should looks like image below. 
    snippetNote: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
  8. Configure parameters on the front panel correctly and your NI Oscilloscope is ready to acquire data continuously with external start trigger.