LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

E4438C auto frequency change

I'm a first time LV user in the process off automating an Agilent E4438C.  I have the LV front-panel working (can change freq, power, etc).  I would like to do all of this automatically and am suggling with the configuration.  I set the frequency range and increment value and configured a while loop but can't seem to tie into the frequency setting to have the loop increment the frequency.

Any suggestions?


0 Kudos
Message 1 of 4
(2,648 Views)

You should have included your VI or an image of the block diagram so someone could see what your have done. There's a lot of ways you can do this. You can use a shift register as in the attachment or create an array of frequency values and auto-index that through a for loop or while loop.

Message Edited by Dennis Knutson on 08-01-2006 03:33 PM

0 Kudos
Message 2 of 4
(2,640 Views)

Hi,

Just to expand on Dennis's excellent response, it's probably wise to include the status from the error out cluster of the freq VI and wired it the OR function so that the loop is terminated on an error condition as well.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 3 of 4
(2,623 Views)
Thanks Dennis and Ray:

Your suggestions worked great!  Next time I'll be sure to include more info.

Mark
0 Kudos
Message 4 of 4
(2,606 Views)