Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

zaber linear motor control by Labview 2009SP1

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.

0 Kudos
Message 1 of 4
(6,845 Views)

The simplest thing is to add a wait in the for loop like this:

addedWait.png

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.

0 Kudos
Message 2 of 4
(6,817 Views)

Hi Don, thank you for your reply. However, I am still a little confused waht is the difference between this "1.JPG" and "2.JPG". Because that I have tried the same program by using the first one, but it doesn't work well.

0 Kudos
Message 3 of 4
(6,811 Views)

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...

0 Kudos
Message 4 of 4
(6,805 Views)