11-09-2011 08:38 PM
I got a ZaberTseries linear motor on hand, in order to control it, I have downloaded the labview code from NI website, it is specially coded for Zaber motor.
The driver details could be found at http://www.zaber.com/wiki/Software/Labview_Driver
Now, the question is that I want to use the code "Enter a list of commands" to let the motor do a series of action. However, each step should be 8 hours delayed than the previous one.
Anybody give some advice? I am new with Labview, try to tell some details please.
Thank you very much.
11-16-2011 01:02 PM
The simplest thing is to add a wait in the for loop like this:
You can find that in the Programming: Timing palette. The only downside to that is that the Quit button won't work anymore, and the serial port will get left open. If you want to solve that, then calculate the wait time to be 8 hours if Quit is false, otherwise zero.
11-16-2011 11:59 PM
Hi Don, thank you for your reply. However, I am still a little confused waht is the difference between this "" and "
". Because that I have tried the same program by using the first one, but it doesn't work well.
11-18-2011 11:17 AM
The difference is explained in this knowledge base article.
The Wait (ms) function is typically used as a programmatic delay between code segments...
The Wait Until Next ms Multiple function is typically used as timing control for a While Loop to prevent LabVIEW from using too much of the processor...