LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi to autoset the level of a agilent function generator

I have the drivers for an Agilent 33120A and can set the output level at a given frequency, but what I would like to do is have a vi that would keep the output level, over a certain frequency range. I have made a vi that will step that output of the generator in a while loop until I reach the desired level, but was wondering if anyone had a better way to do this?
0 Kudos
Message 1 of 2
(2,446 Views)
Are you using the latest driver? The one I use has a function called ag33xxx - Waveform Parameters that allows you to individually change frequency, amplitude, or offset. After setting the amplitude with it, you can then use the function again in a loop to adjust the frequency while keeping the amplitude constant. The driver can be downloaded from NI here.
Message 2 of 2
(2,446 Views)