From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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.
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
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.
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)