02-15-2013 08:28 AM - edited 02-15-2013 08:28 AM
Hi,
i am new to Labview
I am trying to set up a frequency sweep in LabVIEW by programming a HP33120A Function Generator.with device Driver have i implemented Sweep with same Step in my posted Code,now i want to improve Sweep function durch varied step in different frequency range,for example,from 10 Hz to 1000Hz :10Hz to100Hz with 10Hz step sweep, from 100Hz to 1000Hz with 100Hz step sweep. Would appreciate if someone who has worked on it suggest a method appropriately. Thanks!
note:Labview 2009 SP1
02-15-2013 10:47 AM
It seems overly complicated to me, especially with that silly sequence structure. All that you have to do is use the Ramp Pattern to create an array of frequencies. Use two of them with different a different delta and combine the arrays. Pass the combined array to a for loop with the function to set the frequency and let the magic of autoindexing do its thing.
02-15-2013 03:51 PM
02-15-2013 03:56 PM
@ben64 wrote:
Why don't you use the frequency sweep commands of the 33120A? You just have to specify the frequency start, stop and sweep time.
Ben64
i want to record every Sweep point as output ,and write them in a txt-file. frequency sweep command have no every sweep Frequency output
02-15-2013 04:02 PM
@Dennis_Knutson wrote:
It seems overly complicated to me, especially with that silly sequence structure. All that you have to do is use the Ramp Pattern to create an array of frequencies. Use two of them with different a different delta and combine the arrays. Pass the combined array to a for loop with the function to set the frequency and let the magic of autoindexing do its thing.
thanks for your suggestion,i try it later