Configure a Scope to Periodically Display an Given Number of Samples

Updated Oct 6, 2018

Reported In


  • PXI Digitizer


  • LabVIEW

Issue Details

I want my scope (such as PXIe-5122) to acquire an analog signal periodically, using Analog Edge Ref Trigger. But I'm only interested in the very first number of data after each time the scope is triggered. For example, 40 data points.
How should I implement this function?


It can be implemented by designing a LabVIEW block diagram like in the VI snippet below.

In this case, you want to acquire an analog signal, and you choose the edge type to trigger with positive slope (by default), you have to do 4 things as noted in the image. You can configure the numSamples control of the niScope Read (poly) VI to determine the number of samples you desire to show in the read waveform. The results are shown in the following images.


Not Helpful