Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

33250A Simple Sine Wave

Gents,

I have looked at the example drivers for an Agilent 33250A and can not get one to work as expected. My project is very simple, I would like to allow the operator to start the waveform generator, adjust the Hz and Vpp, the waveform will always be a sine wave. When I use the example drivers, the output is a mess. I can control the Hz and Vpp using the example drivers however looking at the output of the 33250 with either a scope or thru a LabView vi looks more like a bunch of random points rather than a nice sine wave. When I switch the 33250 to local mode I get what I'm looking for a sine wave @ 500 Hz 1Vpp. Any help?

Thanks
0 Kudos
Message 1 of 7
(5,028 Views)
Please attach your vi.
Are you not sending continuously, try to send only when a change  is needed.
greetings from the Netherlands
0 Kudos
Message 2 of 7
(5,018 Views)
Hello zilla,
       Are you using the LabVIEW Plug and Play driver from IDNet or something else?  If the signal does not look like you expected, try increasing your sampling rate.  Does the instrument's front panel show the same configurations that you are sending from LabVIEW?

Cheers,

NathanT
0 Kudos
Message 3 of 7
(5,005 Views)

Gents,

vi is attached. I have the device set up to run continuously. Also I’m using the current plug and play drivers from NI. I also have it working now as I want. I found the problem to be the input control for the Hz. The default value is 1000. I created a frequency control for the example vi (ag33xxx – Wfm Config Ex.vi). Then set the control value to 500, expecting a frequency of 500 Hz, but was getting 500k Hz. My sampling rate was not fast enough for that frequency resulting in a shot gun type pattern of a sine wave at 500k Hz. Once I divided the input control by 1000 I got the desired result.

Thank you.

 

0 Kudos
Message 4 of 7
(4,998 Views)
zilla,
       I am glad that things are working well now.

Cheers,

NathanT
0 Kudos
Message 5 of 7
(4,975 Views)

I'm using Labview 6.1 i need agilent 33250a vi but i can use your it's for 8.5 could tou pls save your file for 6.1 version and send it?thnx 

0 Kudos
Message 6 of 7
(4,644 Views)

Hello Greg,

       I have attached the LV 6 version of the ag33xxx LV PnP Instrument Driver.  Enjoy.

 

 -NathanT

0 Kudos
Message 7 of 7
(4,628 Views)