This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
snippets:tick_count [2015/09/30 12:36] – created ba | snippets:tick_count [2017/11/07 22:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Tick Count ====== | ====== Tick Count ====== | ||
- | For time differences measurement the “Tick Count (ms)” VI from the standard LabVIEW palette can be used. | + | 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.\\ | ||
- | Note, that SDK version 4.2.1 has a bug fix in this function. | + | If you want higher resolution than 1ms you can use the following code: |
- | 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. | ||