User | Kudos |
---|---|
13 | |
9 | |
8 | |
5 | |
5 |
NI Community,
I have developed some applications where it was desirable to have a Wait, but 1 millisecond is just too long.
I came up with a method using the High Resoution Releative Seconds.vi, to create a delay in the microsecond range (it's attached). This works for the particular application I need it for, because I am waiting on an external buffer to be ready to accept new data (its rate it can process is 60 nanoseconds). Waiting for an entire millisecond in this case is just too long.
The downside to this method is it is tied to your processor speed and current workload. It would be great if NI supported a 'Wait Until Next us Multiple.vi (it doesn't Sleep).
Attached is my work-around. I'd love to see other ideas on this topic.
Thank you,
Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Available in LabVIEW 2018 and later with High Resolution Polling Wait.vi.