Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

vertical scale osilloscope

Solved!
Go to solution

Hi, i have agilent oscilloscope DSO7012B ,i have started DEVELLOPING the interface of ,this device in labview but i have a great problem in verticale scale,I can't adjust between vertical scale and probe attenuation to have a vertical scale 10mV to 5V/div @ x 1 probe 100mV to 50V/div @ x 10 probe 1V to 500V/div @ x 100 probe 10V to 5000V/div @ x 1000 probe 100V to 50000V/div @ x 10000 probe 200mV to 100V/div @ 20:1

0 Kudos
Message 1 of 10
(6,025 Views)

https://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=17333

(You might as well just use the existing driver)


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 10
(6,022 Views)

thanks Mr 

0 Kudos
Message 3 of 10
(6,007 Views)
I really don't know what you want. You just say you have a great problem. The function in the driver does adjust the vertical range. The command for the scope is not in volts/division. It is for maximum volts and you can't change the firmware though you can set it software and translate to maximum volts. There is an example scope VI. You should also post your code to better explain the problem.
Message 4 of 10
(6,000 Views)

I try to create a knob to my ossillo to controll Volt/div i don't found this utility in the driver ,so ,i think that i can create this control with assembling the probe attenuation and the vertical range and such as :10mV to 5V/div @ x 1 probe || 100mV to 50V/div @ x 10 probe 

 

0 Kudos
Message 5 of 10
(5,994 Views)

I try to create a knob to my ossillo to controll Volt/div i don't found this utility in the driver ,so ,i think that i can create this control with assembling the probe attenuation and the vertical range and such as :10mV to 5V/div @ x 1 probe || 100mV to 50V/div @ x 10 probe 

 

0 Kudos
Message 6 of 10
(5,993 Views)
Where is the code you wrote and are having problems with?
Message 7 of 10
(5,975 Views)
0 Kudos
Message 8 of 10
(5,965 Views)
Solution
Accepted by ENENT'COm

If I understand, you are going to have to do some arithmetic make use of graph property nodes. As I said, the scope does not accept volts/div commands. You simply specify a max voltage. I personally think this is a better option for the user. In any case, if you fix the graph size, you can use the knob to scale the graph. Say you have 10 divisions and want 1 volt per division. The actual setting you pass to the configure scope function is then 1 times 5 (the number of positive divisions. You could also cheat a bit and set the scope to it's volts/div physical knob and do a read of it's range value. The knob could be wired to a case statement with the actual range values. Just don't use a knob set for dbl. Use it as an integer with text labels.

Message 9 of 10
(5,942 Views)

Example 

 

This uses a DAQ card but the principle is the same since a DAQ card is also by a maximum voltage. Look at the knob design.

Message 10 of 10
(5,938 Views)