LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to measure maximum voltage of channel 1 and channel 2 simultaneously in Agilent oscilloscope DSO 2002A?

Don't branch the VISA Resource wire or the error wire. Just call the functions one after the other.

0 Kudos
Message 11 of 21
(1,617 Views)

As per your suggesstion i tried in that way also. Again i'm getting the same problem. it's not reading channel 2's voltage instead it is reading channel 1.

0 Kudos
Message 12 of 21
(1,605 Views)

Please show your modifications.

 

Are the separate measurements shown on the scope's screen?

0 Kudos
Message 13 of 21
(1,596 Views)

yes, i can see the separate output in the oscilloscope screen. it is reading both channel 1's and channel 2's maximum voltage separately.

0 Kudos
Message 14 of 21
(1,591 Views)

I don't have driver but I believe the Read Measurement function should have an option to pick the specific measurement. What does the help say?

0 Kudos
Message 15 of 21
(1,584 Views)

There is no problem in read measurement function. when i measure channel 1 only, it is reading channel1's maximum voltage correctly. when i measure channel 2 only, it is reading channel 2's maximum voltage correctly. there is no problem in that. the problem is when i try to measure both channel 1's and channel 2's simultaneously. i think the problem may be in configure measurement type (while configuiring source channel 1 and channel 2).

0 Kudos
Message 16 of 21
(1,565 Views)
Then perhaps you are using the wrong polymorphic instance of the function. I would suggest you look at the SCPI commands that are on the block diagram and compare them to what is in the manual.
0 Kudos
Message 17 of 21
(1,550 Views)

i tried in all way. i couldn't solve the problem. herewith i have attached the BP of my program (tried in both parallel and series way). i'm getting the same output. i have a doubt in 'read measurement' function, it is asking measurement type only. then how it will take the channel. if i give source channel 1 and 2 in configure measurement type (separately for both channels), it wil go to default as channel 1 while i runing the program. that is the problem. i dont know how to rectify that.

Download All
0 Kudos
Message 18 of 21
(1,526 Views)
And have you tried a different instance like I suggested? This is done by clicking on the polymorphic selector below the function. Have you tried looking at the block diagram of the read measurement function, like I also suggested? Do you always have context help turned on?
0 Kudos
Message 19 of 21
(1,488 Views)

I'm pretty sure you want something like this.


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
0 Kudos
Message 20 of 21
(1,478 Views)