Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Latest Agilent MSO drivers not returning all waveforms

Hi

 

I have an Agilent MSO-X 2004A and am linking it to my PC using the drivers provided in post 6 of this thread Here

 

Until I used these drivers, it couldn't deal with negative values from the scope and displayed very odd waveforms + it always reset the scope when one ran the vi!!  The new drivers form the link fixed the negative values issue and i managed to stop it resetting the scope by putting a constant 'false' on the reset input to a VI.

 

 

The problem I am now having is that the vi'swon't display the Math waveform and generate an error message:

 

 

Error -1074000000 occured at Agilent 2000 3000 X-0Series.lvlib:Error Query.vi

 

Possible reason(s):

Instrument reports:
-224,"Illegal parameter value"
+0,"No error"

Complete call chain:
     Agilent 2000 3000 X-Series.lvlib:Error Query.vi
     Agilent 2000 3000 X-Series.lvlib:Autosetup.vi
     Agilent 2000 3000 X-Series Acquire Waveform Continuously no Reset.vi

 

Can someone please have a look at this - I am not a Labview programmer and would not know where to start!

 

if it matters, I am displaying a waveform on channel 1 at present and the FFT of it on the Math channel

 

many thanks

Tony

0 Kudos
Message 1 of 22
(4,522 Views)

Hi Tony,

 

I noticed that your program raised an error when executed Autosetup.vi. I looked into this VI and found there seems to be a command which do not support "MATH" channel. Also, I updated the Fetch Waveform.vi to make it correct when acquire MATH data.

 

Please update your driver with the VIs in the attachement.

 

Thanks,

Charles

Download All
0 Kudos
Message 2 of 22
(4,510 Views)

Thanks Charles

 

Unfortunately, I still get the same error when attempting to read Maths channel

 

regards

Tony

0 Kudos
Message 3 of 22
(4,501 Views)

Hi Tony,

 

Did you replace both VIs?  When we ran the example (with updated VIs) with the MSO-X 3024A we could not reproduce the issue.  Did you make any modifications to the existing example?  If you did can you attach it?

 

thanks

0 Kudos
Message 4 of 22
(4,493 Views)

Hi

 

Yes, I replaced both

 

The error i get when trying to acquire math channel using the'Agilent 2000 3000 X-Series Acquire Waveform Continuously.vi' from the examples is as follows

 

Error -1074000000 occured at Agilent 2000 3000 Series.lvlib:Query.vi

 

ossible reason(s):

Instrument reports:
-224,"Illegal parameter value"
+0,"No error"

Complete call chain:
     Agilent 2000 3000 X-Series.lvlib:Error Query.vi
     Agilent 2000 3000 X-Series.lvlib:Autosetup.vi
     Agilent 2000 3000 X-Series Acquire Waveform Continuously.vi

 

 

Thanks for any help

0 Kudos
Message 5 of 22
(4,414 Views)

I'm sorry, I don't know how to attach the file

 

regards
Tony

0 Kudos
Message 6 of 22
(4,413 Views)

Hi Tony,

 

Actually, the Autosetup.vi is equivalent to the "Auto Scale " button on the front panel. So if you are going to fetch the math channel, it is will clear the math channel if you auto scale before fetching data.

 

According to your scenario, it is highly recommended to modify the example VI by removing the Autosetup subvi. The updated VI looks like below.

 

Thanks,

Charles

 

2011-06-10_AcquireWaveformContinously.png

 

 

0 Kudos
Message 7 of 22
(4,402 Views)

Hi Charles

 

As it was, it didn't clear the math channel on the scope, in fact it did't appear to do anything to either scope or vi dsplay, just generate an error immediately I run the vi.

 

I removed the autosetup just now as you suggested and the code now captures a screen of Math channel (FFT in my case) but then generates an error:

 

Error -1074000000 occured at Agilent 2000 3000 X-Seeries.lvlib:Error Query.vi

Possible reason(s):

Instrument reports:
-221,"Settings conflict"
+0,"No error"

Complete call chain:
     Agilent 2000 3000 X-Series.lvlib:Error Query.vi
     Agilent 2000 3000 X-Series.lvlib:Read Waveforms (Single).vi
     Agilent 2000 3000 X-Series Acquire Waveform Continuously.vi

 

If you could tell me how to upload files, i would be happy to upload the code I am using although it came from the link I included in my original post (mods as suggested on this thread)

 

Thanks

Tony

0 Kudos
Message 8 of 22
(4,399 Views)

When you reply there is an Attachments section (below the Cancel and Post buttons ) and select Add Attachment

0 Kudos
Message 9 of 22
(4,396 Views)

Can you also please include the firmware version your instrument has?

0 Kudos
Message 10 of 22
(4,394 Views)