10-30-2006 09:27 AM
10-30-2006 02:26 PM - edited 10-30-2006 02:26 PM
Look at the shipping example called Gen Voltage Update (assuming you are using DAQmx). You can put the DAQmx Write inside a for loop and auto-index an array of step values though the loop. Add a Delay function and you are done. You could get a bit fancier and use a while loop and exit if there is an error. Other shipping examples show that. You would just have to add another condition to stopping the loop. Instead of (or in addition to) get the array size and stop the while loop when the iteration count is greater than the number of elements in the array.
Message Edited by Dennis Knutson on 10-30-2006 01:27 PM
10-30-2006 03:59 PM
Hi:
I am not using DAQmx. How do I go about this hurdle?. I am using LABVIEW 6.1.
Thanks,
Mizar
10-30-2006 04:09 PM
11-06-2006 12:28 PM
11-06-2006 12:39 PM
11-06-2006 01:32 PM
11-06-2006 01:45 PM
11-06-2006 02:04 PM
Hi Dennis:
Thanks a lot!. That works. However it asks for a file name everytime it iterates. Can I move the file dialog anywhere else?
Mizar,
11-06-2006 02:12 PM