LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending waveform to function generator?

Hello all,

I am using an agilent 33205A function generator and require it to use a special driving waveform.  Currently I load the waveform using this HP Benchlink software.  I would like to automate this in the startup of my vi.  Is there a way to download a "home-grown" waveform to the function generator using labview? 

Thanks,

Azazal

Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 1 of 4
(3,110 Views)
If you're using the driver from here, then use the function called ag33xxx - Arbitrary Wfm Ops. You will have to create the waveform in the form of a 1D array. Look at the high level example called ag33xxx - Arb - Application. I don't see a function in the driver that allows you to output a defined waveform so you may want to look in the instrument manual to see if there is such a function. If there is, then it should be a simple matter to read it and then place the values into LabVIEW as a constant or something you read from file.
0 Kudos
Message 2 of 4
(3,104 Views)

Hey,

Even I have to do similar stuff. I have to send  arbitrary waveforms to 33120 using labview one after another for automated testing of line drop out test.Is there any way to send arbitrary waveforms through labview?

0 Kudos
Message 3 of 4
(2,960 Views)
What part of the answer don't you understand? The function I mentioned will transfer a waveform to the instrument. What you will have to do is write some code to read the waveform from file and pass it to the Data input of the function. I think you can use BenchLink to create the waveforms and save them.
0 Kudos
Message 4 of 4
(2,956 Views)