Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Wait Indefinitely for Trigger Event (Labview VI)

Greetings!

Fairly new to all this so bear with me. Let me know if this is even possible... 

 

Platform: Agilent / Keysight Technologies DSO-X 3054A Oscilloscope

Software: LabVIEW 2016 (64-bit)

Connection: USB-B 

 

My goal is to monitor a channel and wait for a trigger on the oscilloscope to occur.

All the trigger parameters will be modified from the oscilloscope. I am trying to have the host-computer just store data for the moment. 

 

If the trigger conditions are met OR "force trigger" button is pressed, then save an image of the oscilloscope and continue monitoring for the next trigger. 

 

I setup a small VI to save images, now all I need to do is make an infinite loop to "listen" for a trigger..?

 

I've read these examples that seem to be close to what I want but I do not know how they would be implemented properly. 

Using VISA handles events.

Stop Wait on Trigger example that uses DAQmx. 

0 Kudos
Message 1 of 4
(3,114 Views)

Hi,

 

Have you downloaded the Instruments drivers for your Oscilloscope? maybe there you can find the functions or examples that would allow you to accomplish what you need.

 

DSO-X 3054A Instrument Drivers

 

 

 

 

 

 

0 Kudos
Message 2 of 4
(3,067 Views)

Yes, I have downloaded the Instrument drivers and browsed the examples.

Let me ask a different question that may help me.

 

What I have found so far is that I can only communicate with my oscilloscope through the "VISA resource name."

If I am plugged in via USB, can I utilize the DAQ/DAQmx assistant?

No physical channels appear and I am wondering if I have to strictly use VISA writes and reads. Or my device doesn't support assistant.

 

Overall, I am a little lost in LABview, and figuring out what functions I can and cannot use.

Unfortunately, this is from my lack of experience. 

I will be experimenting again shortly with the examples.

0 Kudos
Message 3 of 4
(3,051 Views)

VISA is the way to communicate with instruments via a communication bus.

DAQmx is the way to communicate with NI's data acquisition cards. A totaly other system that communicates via a huge library but only supports the data acquisition cards and surely no third party instruments.

 

However you don't have to write the lower level VISA commands because the downloaded driver does tat for you already.

 

So take an example and run it.

By the way I would not try to download a copy of the screen but just the scope traces data and display them on your screen. Much less data transfer (no pixels you are not interested in) and you can use the data to calculate results immediately.

greetings from the Netherlands
0 Kudos
Message 4 of 4
(3,043 Views)