LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

uSec Wait

Alguien a identificado algun "wait" vi que trabaje bien en uSec? O al menos lo mas cercano a la realidad.

 

Gracias!

0 Kudos
Message 1 of 4
(1,586 Views)

@Norbac wrote:

Alguien a identificado algun "wait" vi que trabaje bien en uSec? O al menos lo mas cercano a la realidad.


Google Translate: Has anyone identified a "wait" I saw that works well in uSec? Or at least as close to reality.

 

Answer: Not applicable in Windows.  Even in a Real Time OS, microseconds will be tough.  If you need to be that accurate, you need to look to a hardware solution such at FPGA.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(1,576 Views)

You can't get an extremely accurate timer, but if you want to wait for a relatively consistent time you can use "Stopwatch" class .NET nodes.

 

Note that in LabVIEW, running the constructor and the first call to get the elapsed ticks has some overhead on it.  You need to do that ahead of time to be able to actually do sub-millisecond timing.

 

0 Kudos
Message 3 of 4
(1,541 Views)

LabVIEW 2018 introduced Hi Resolution Wait on the timing palette.  This is a waitable object based on the Hi resolution timer.  its resolution is hardware dependant but, less than 1 uSec 

 

for more info on hi resolution timers see this nugget (that I'll have to update now)


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(1,537 Views)