10-06-2013 09:13 PM
Hi all,
If I have an array of values, is it possible to write those values out as an analog voltage and then stop writing when it gets to the end of the array? If so, how should I go about doing this?
I've attached my code which generates an array of frequency swept sine voltages and I write that out to my analog channel, when I view my output however, I get the same repeating sine wave outputing over and over again. I'm expecting for example:
writing out 1 Hz wave, 2Hz, 3Hz etc....
however I'm getting the 1Hz wave over and over again, I've selected finite samples in the sample clock and pretty much done lots of trial and error and still no luck :(. Any help would be much appreciated!
Daniel
Solved! Go to Solution.
10-07-2013 04:50 AM
Hi Daniel !
Take a look at this example (you can search it among LabVIEW examples ) :
Cont Gen Voltage Wfm-Int Clk-Non Regeneration.vi
Here is another VI which I have done (see attached). It is slightly different than LV example and it should help you.
Hope it helps...
Julien
10-07-2013 05:35 PM
Hey Julien,
Thanks for the suggestion, I've modified my code a bit after looking at that example and I think it works 🙂
Dan