01-18-2012 04:39 AM
Hi
I work with Agilent 33220a.
When I use Agilent 33XXX Series Generate Arbitrary Waveform.vi example I have following Errors. but any other of examples ( similar Agilent 33XXX Series Generate Frequency Sweep.vi) has not error.
Error -1074000000 occurred at Agilent 33XXX Series.lvlib:Error Query.vi
Possible reason(s):
Instrument reports:
-222,"Data out of range"
+0,"No error"
Complete call chain:
Agilent 33XXX Series.lvlib:Error Query.vi
Agilent 33XXX Series.lvlib:Create Arbitrary Waveform.vi
Agilent 33XXX Series Generate Arbitrary Waveform.vi
Would you please help me?
Thank you
01-18-2012 05:22 PM
I've actually got a 33220a here so I went ahead and hooked it up and ran the Generate Arbitrary Waveform example. Surprisingly enough I found that I am indeed getting the same error! (I say surprisingly because this instrument driver was released 7 years ago and I know for a fact that I have personally ran this example with this instrument in the past without problems).
In order to help isolate the issue there are a few things that I'm curious about regarding your system:
1. What OS are you using? (I'm using Windows 7)
2. What version of LabVIEW are you running? (I'm testing with LabVIEW 2011)
3. How are you connected to the instrument (aka GPIB, USB, ethernet)? (I'm seeing the error both with GPIB and USB)
4. What is the serial number of your unit?
5. What version of firmware is your unit running? (I have 2.02-2.00-22-2) I checked the Agilent website and it looks like 2.07 is the most recent release.
6. Are you receiving the same error every time you run this example? On my machine I am seeing a few different errors every time I run the example and I'm even seeing it run without errors every ~8 or so runs.
I'll have time to do some more troubleshooting tomorrow but for now these items should help us isolate the source of the problem.
Lars L
NI R&D
01-19-2012 09:34 AM
Can you please also indicate whether you are running the example on a 32 or 64 bit system?
01-21-2012 12:18 AM
Hello,
Thank you for your hepling.
1. I use Windows XP SP3 32 bit.
2. I use Labview 8.2.1
3. I connect device using USB.
4. I dont know about serial number.
5. I dont know about firmware. What is firmware?
6. I have problem only with Agilent 33XXX Series Generate Arbitrary Waveform.vi. I have no problem with other examples such as Agilent 33XXX Series Generate Frequency Sweep.vi.
I can run Agilent 33XXX Series Generate Arbitrary Waveform.vi only 1 time then I have error. then I must to reset PC.
01-23-2012 04:01 PM
So after trying a few different troubleshooting ideas I believe I've finally figured out the cause of the problem. If you take a look at the settings of the Simulate Signal Express VI that is used to create the waveform for this example you should notice that we are outputting a sine wave with uniform white noise. If you double-click the Simulate Signal VI, however, and turn off this white noise and re-run the example multiple times then you should see it run without errors.
My theory here is that the voltage level changes between points on the noisy arb waveform are too erradic in for the FGEN to keep up with the generation (given its settling time and other specifications). If I increase the noise amplitude to levels to 0.5V then I see the "Data out of range" error on almost every run but if I decrease it to 0.01V then I can run many times without problems. I would guess, however, that noise levels of 0.01V should certainly be within specifications for this particular instrument and I did find that ~5-10% of runs with these low noise levels still gave the error. If I turn off the noise in the signal then the device never encounters the error.
Since I've seen this error both in the LabVIEW PnP driver that you've been using as well as using the IVI-C driver, I'm currently thinking that this is is a bug in the instrument firmware. For some background, the firmware of an instrument is the software that runs on the benchtop instrument itself and dictates how the device responds to particular software commands over USB/GPIB/ethernet/etc. We occasionally encounter bugs in an instrument's firmware which are reported to the manufacturer and are hopefully fixed. Most companies will link to any firmware updates on a device's product page. For the 33220A the current version of your firmware depends on your serial number:
You can check your firmware version by sending "*IDN?" to the device and seeing how the device replies. Mine replies with "Agilent Technologies,33220A,MY44013262,2.07-2.00-22-2" for example.
I updated my firmware to 2.07 as this matched my serial number and found that this error was still occuring with noise turned on. I have a contact at Agilent who I'm going to report this to so they can be sure to address this in the next update. I hope this clarifies any confusion and helps you get up and running with your application. Let me know if there's anything else that I can help with.
Lars L
NI R&D
Instrument Drivers/IVI
01-23-2012 04:58 PM
04-07-2012 11:15 AM
Hello everyone!
I would appreciate if you can help me with the next issue. I got the same error also while using Agilent 33XXX Series Generate Arbitrary Waveform.viexample. However, in my case the story is a little bit more complicated. I modified that example in order to generate an arbitrary wavefor signal. I added [Simulate Signal]. Then I defined my signal. And here the story starts. Actually I had two signals. Both are pretty simple:
The first one:
X_Value Y_Value
0.000000 0.000000
0.200000 1.000000
0.400000 0.000000
0.600000 -0.900000
0.800000 0.000000
1.000000 0.800000
1.200000 0.000000
1.400000 -0.700000
1.600000 0.000000
1.800000 0.600000
2.000000 0.000000
2.200000 -0.500000
2.400000 0.000000
2.600000 0.400000
2.800000 0.000000
3.000000 -0.300000
3.200000 0.000000
3.400000 0.200000
3.600000 0.000000
3.800000 -0.100000
4.000000 0.000000
The second one:
X_Value Y_Value
0.000000 0.000000
0.200000 -1.000000
0.400000 0.000000
0.600000 0.900000
0.800000 0.000000
1.000000 -0.800000
1.200000 0.000000
1.400000 0.700000
1.600000 0.000000
1.800000 -0.600000
2.000000 0.000000
2.200000 0.500000
2.400000 0.000000
2.600000 -0.400000
2.800000 0.000000
3.000000 0.300000
3.200000 0.000000
3.400000 -0.200000
3.600000 0.000000
3.800000 0.100000
4.000000 0.000000
As you can see the difference between them is that the first signal first runs to the positive value (to 1) whereas the second signal goes to the negative value (to -1). My problem is the next: when I am trying to generate the first signal everything works properly. However, I always get the error mentioned by the previous guy whenever I try to run the program with the second signal. It really confuses me because there is no principal difference between those two signals.I really, need your advice!I hope my question is clear.
Thank you very much for your help! Awaiting for your reply!
Best regards, Seva.
04-07-2012 11:36 AM
Hi!
It's me again. I played a little bit with the settings and I see that the problem can be identified with much more simple signals:
Signal A:
0.000000 0.000000
1.000000 1.000000
2.000000 0.000000
3.000000 -0.900000
4.000000 0.000000
Signal B:
0.000000 0.000000
1.000000 -1.000000
2.000000 0.000000
3.000000 1.000000
4.000000 0.000000
Signal C:
0.000000 0.000000
1.000000 -1.000000
2.000000 0.000000
3.000000 1.100000
4.000000 0.000000
Signal 😧
0.000000 0.000000
1.000000 -1.000000
2.000000 0.000000
3.000000 0.900000
4.000000 0.000000
Signals A, B and C work properly whereas signal D gives me a next list of possible errors:
Instrument reports:
-222,"Data out of range"
+780,"VOLATILE arb waveform has not been loaded"
+0,"No error"
I hope it would help you to figure out the problem!
Thank you!
06-14-2017 10:07 AM
Hello all ,
I am a student.
I have a problem with the communication between LABVIEW (version 2016)
and the spectrum analyzer DSA 875 using the USB connexion ,
After the installation of DSA 875 drivers on the software.
This error occurs at the sweep time configuration of analyser in labview,
and I receive a message that contains "INVALID FUNCTION"
On the analyzer screen. please help me thank you