LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any library function in Measurement Studio 6.0 which can give delay in milliseconds.The Delay function gives delay only in Seconds.

I am looking for a library function in Measurement Studio Version 6.0 which can provide delay in milliseconds.I checked the function Delay but this take the argument in seconds??
0 Kudos
Message 1 of 3
(3,099 Views)
er...

I think you'll find it also works on FRACTIONS of a second. Thousandths
even.


"pkumar" wrote in message
news:50650000000800000085470000-1019262487000@exchange.ni.com...
> Is there any library function in Measurement Studio 6.0 which can give
> delay in milliseconds.The Delay function gives delay only in Seconds.
>
> I am looking for a library function in Measurement Studio Version 6.0
> which can provide delay in milliseconds.I checked the function Delay
> but this take the argument in seconds??
Message 2 of 3
(3,099 Views)
The Delay() function actually requires a double type for its parameter. Therefore, you can send it a value such as 0.555, which corresponds to 555 milliseconds. I tested this on my computer, and it does have a resolution of one millisecond. You can use the Timer() function from the Utility Library to test the accuracy.
J.R. Allen
Message 3 of 3
(3,099 Views)