LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use an binary stream file to generate Arb from Agilent 33250A?

I used Lv6.1 and ag33xxx.llb (download from NI web page). And I want to generate Arb waveform from Agilent33250A, this Arb according to an binary stream file, just like 0101110010100011.......
 
I used "Getting Started 2.vi" module, to try first, and all setting used default value. Instrument can be remote controlled. But what I can see from oscilloscope is very strange. The waveform is start with several sine wave (at very high voltage even to 40Vpp!!) and then several sine wave (at low voltage), then at about 0v. It is not what I want!
 
And, if I changed Frequecy or 0/1 data, NOTHING changed of output waveform.
 
On Agilent web site, I found there are some vi examples for Agilent33250A. But I can NOT read it for all vi modules in ag33250a.llb. I'm puzzled about where can I find this file ag33250a.llb.
 
I'm not sure what's the problem with "Getting Started 2.vi" module, or anything incorrect of my setting. And I want to know how can I do for my project right now?
 
I appreciate the help.
 
0 Kudos
Message 1 of 7
(4,905 Views)

Dear Yue,

from Datasheet  of Agilent  33250A     80MHz-Function/Waveform-Generator you can take this Info:

Output-characteristics ( into 50Ohm ) :   10mVpp ..... 10Vpp ,  what kind of Scope do you use;

or when did you calibrate it last time - or do you simply not connect the Ground clips ? 

I do not really understand your problem - it sounds a little bit strange.  Would you please send the code

to this forum - then we can discuss about it.

I have successfully used several Generators ........... including Arb - mode.

Regards

Werner

0 Kudos
Message 2 of 7
(4,895 Views)

Thanks, Werner.

I used Agilent54622D scope to check Agilent33250A output directly via coaxial-cable.

Firstly, that's my mistake to not change scope setting "Probe scale" to 0.5:1, (default is 10:1).

Then I opened LV ag33xxx.llb (download on NI web site) --> ag33xxx - Getting Started.vi.  Select "waveform shape" is Sine,  Freq is 1KHz, Amplitude is 1Vpp. Run this vi, I can get correct sine wave from scope. Then select some other waveform, such as square and triangle, all are correct.

After above, I opened "ag33xxx - Getting Started 2.vi", it is used for Arb function. Run this vi directly, output waveform is in attachment. If I changed Freq, nothing changed of waveform.

So, I'm puzzled about it. Where the issue is?

You can use Arb mode successfully. How to do it?

Regards,

Yue

 

0 Kudos
Message 3 of 7
(4,889 Views)

Hi,

I´m also puzzled about the 33250A.llb library file. I can not find it anywhere.

 

Regards

Hans

0 Kudos
Message 4 of 7
(4,798 Views)
Yue,

I ran ag33xxx - Getting Started 2.vi on my 33120A and it works fine. The default amplitude is 0.5 millivolts so it it hard to see on a scope, but it is there. The reason the sgnal is so small is that the waveform is downloaded in binary format using only values of 0 and 1. To get a +/-10 volt signal in binary the values must range from +2047 to -2047. Some of this information is buried in the help files, but you would never find it if you did not know where to look.

I found the ag33xxx library useful as a guide but have ended up generating my own commands and using standard VISA Read and Write VIs.

Lynn
0 Kudos
Message 5 of 7
(4,789 Views)
Hi,
 
I had to find the ag33250a.llb file to run one old project. It can be found from Agilent website, searching for instrument drivers for AG33220a.
http://adn.tm.agilent.com/index.cgi?CONTENT_ID=2261
 
 It is an .exe file, which upon extraction places ag33250a.llb under C:\VXIPNP\WinNT\AG33250A\examples
 
peter
0 Kudos
Message 6 of 7
(4,648 Views)
Dear sir,
 
Can you please send ag33xx.llb file which support LV6.1.
On Ni site there only support for LV7 and more
 
thanks
 
Sasa
0 Kudos
Message 7 of 7
(4,443 Views)