High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I realize "SGL Trigger" mode?

Hi, please help me...

I have a NI5112 scope card. How can I realize "SGL Trigger" mode like original NI-Scope Software (2.0 version) with LabVIEW 5.1?
0 Kudos
Message 1 of 4
(6,016 Views)
If you open the example "Configured Acquisition" that ships with NI-Scope, you will see that the code is actually just a single record acquired over and over again. If you remove the while loop from the block diagram, the behavior of the VI will be the same as "SGL Trigger" mode of the Soft Front Panel. Please try this out and let me know if you have any questions.
0 Kudos
Message 2 of 4
(6,016 Views)
Thank you so much for answering. The example will do beautiful, but the problem is I have two VI now, SGL Trigger and Normal Trigger mode VI. How can I built-in one application this two modes like Soft Front Panel "Play" and "Pause" buttons. On SGL mode the VI is always close every end of single trace. (Sorry if the problem is too simple, dut I'm beginning LabVIEW user).
0 Kudos
Message 3 of 4
(6,016 Views)
The easiest way to do this is to start from the Configured Acquisition example and add a case statement around all of the code in the while loop. Then, you could wire a boolean control to the case statement that determines whether you pause the acquisition or not, which is similar to the behavior on the Soft Front Panel. If you need help completing these tasks in LabVIEW, please consult our online help and our LabVIEW Application Engineers.
0 Kudos
Message 4 of 4
(6,016 Views)