Tick Count

For time differences measurement the “Tick Count (ms)” VI from the standard LabVIEW palette can be used.
Note, that SDK version 4.2.1 has a bug fix in this function.
The tick count starts when the application starts and overflows after 2^32ms = 49,7 days.

If you want higher resolution than 1ms you can use the following code:


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

The VDK tick period is defined in a target specific file that is added to the project during build. It can be viewed and altered in the kernel tab of the project view in VisualDSP++:

Changes to the settings will be lost if the project is rebuilt by SDK.