LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make small delays?

Hi, I need to control a servo using only my parallel port, so I need very slow delays about 100us, Is it possible to do it?

Any help will be apreciated.

Thanks.
0 Kudos
Message 1 of 2
(2,480 Views)
Hello!

I don�t think you will be able to set delays of 100us mainly because a delay produced in software (in a for or while loop, for example) is very unstable due to the fact that there are different processes going on in your computer. With these processes going on you cannot guarantee that your program takes the exact same time to execute each loop.

I am including some links to some documents that I think will be helpful for you.

Using the Parallel Port in LabVIEW
Using VISA to Access the Parallel Port in Lab
VIEW

Setting Individual Bits for the Parallel Data Port Using LabVIEW
Writing to a Parallel Port
Parallel Port Controller/Switcher


Hope this helps!

S Vences
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,481 Views)