User Tools

Site Tools


snippets:tick_count

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
snippets:tick_count [2015/09/30 12:37] basnippets: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:+{{:snippets:timing:tick_count.png|}}\\ 
 +drag and drop this [[VI snippet]] into a LabVIEW block diagram.\\
  
-{{:snippets:timing:tick_count.png?200|}} 
  
 +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++:
  
 +{{:toolchain:vdsp:visualdsp_tick_count.png|}}
  
 +Changes to the settings will be lost if the project is rebuilt by SDK.
  
snippets/tick_count.1443609472.txt.gz · Last modified: 2017/11/07 22:26 (external edit)