06-26-2018 01:10 PM
Alguien a identificado algun "wait" vi que trabaje bien en uSec? O al menos lo mas cercano a la realidad.
Gracias!
06-26-2018 01:33 PM
@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.
06-26-2018 07:02 PM
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.
06-26-2018 07:10 PM - edited 06-26-2018 07:12 PM
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)