11-16-2021 04:18 PM
Hi all,
I am graduating and I am using Labview (for the first time) for my thesis.
In particular, I need Labview to control a NI USB-6229 to generate a voltage output that varies in time as shown
V2 ---------------
V1 ------ ---------------
0
0 t1 t2 t3
with V1,V2,t1,t2,t3 selected by the user. This voltage output is used to control a power generator.
I managed to generate something similar to what I want but my X axis (time) is out of scale and in general I'm not sure if this is the right way to do this.
Thanks in advance
Solved! Go to Solution.
11-16-2021 07:42 PM
yes, it is possible, but the smallest time interval between two successive voltage levels are limited by the sampling rate based on the number of active AO channels.
If you're using all 4 channels, the time resolution is 1.6us (best case). If you're using only 1 channel, it becomes better to 1.2us (best case)
Unfortunately, I do not use the latest LV version (and so does many of the forum members), so please upload the VI in an earlier version say 2016.
Here is how to save for an earlier version - https://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/saving_for_the_previous_ve/
11-17-2021 03:43 AM
Hi santo_13, thank you so much for your help.
I'm using 1 channel.
11-17-2021 02:47 PM
I have restructured your code to be scalable in terms of number of voltages and time durations. Please try the attached VI (2013).