Replacement for "wait(ms)"

This page describes how the standard “wait(ms)” LabVIEW function can be replaced with C-Nodes to possibly achieve a more accurate timing.

Please note that c nodes work only in compiled mode (Not in FDM mode)

Inside of a c-node enter:

extern void se_advtimer_wait_ms(unsigned int timeout_ms);
se_advtimer_wait_ms (ms);

Here is a little example for the weait ms replacement:

drag and drop this VI snippet into a LabVIEW block diagram.

Notes:
- This is a replacement for the LabVIEW “wait(ms)” function.
It does NOT have the “wait until next multiple” functionality.

 
waitms_replacement.txt · Last modified: 2017/11/07 22:26 by 127.0.0.1
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki