Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Create oscilloscope driver

my probleù is when i run my oscilooscope with my PC ,the button of run flashes also the stop is always  lights ,thank you very much 🙂 🙂

0 Kudos
Message 11 of 21
(2,787 Views)

I'm not familiar with that specific scope (I prefer Tektronix), but that sounds about right.  When running this example, you are constantly getting a new waveform.  This includes starting the acquisition process.  So it makes sense that Run would flash.  And the stop button is probably always on because it is setup to constantly gather waveforms.  You hit the stop to make it stop doing that.  When it is waiting for the trigger, the start button will come on.  When it sees the trigger, the start button will turn off.

 

I recommend reading through the context help of the calling VIs.  Dig into them and see if you can make sense of the commands that are being sent.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 12 of 21
(2,777 Views)

can i create a control to read the waveform only when i change the input configuration such as time,vertical range....

thank you for our helpful comment 

0 Kudos
Message 13 of 21
(2,770 Views)

You can do whatever the drivers allow you to do.  That VI you shared was just an example of how to use some of the functions.

 

What I recommend is write down how you would manually setup the oscilloscope.  Then go through your list and find the VIs in the driver that will do what you want.  Make you program based on that.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 14 of 21
(2,768 Views)

this is my personal created program but my problem is blocked when i changed to XY mode ,and couldn't delete the problem of run/stop by(

 read the waveform only when i change the input configuration) thank you for our helpful comment ,sincerly 🙂

0 Kudos
Message 15 of 21
(2,757 Views)

can someone help me please 

0 Kudos
Message 16 of 21
(2,724 Views)
Can you attach an image of the block diagram?
0 Kudos
Message 17 of 21
(2,710 Views)

yes, thank you  🙂

0 Kudos
Message 18 of 21
(2,706 Views)
You aren't doing anything in that program to only write when a parameter changes. You are constantly hammering the bus with the same commands over and over again. You should be using an event structure to send new parameters with a control change.
Message 19 of 21
(2,703 Views)

how I can make this event structure to send new parameters with a control change. 

0 Kudos
Message 20 of 21
(2,699 Views)