LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA

Solved!
Go to solution

 

Hello to everyone.

 

I would like to know does the Tick Count Express VI give output in real time when used in Target VI? Does it count in ms in real time or in computer time?

 

Thanks in advance.

0 Kudos
Message 1 of 6
(3,116 Views)
Neither. As the name says, it's a tick count. The count increments at a known rate starting at 0 and going until the counter rolls over -- at which point it goes back to 0 and starts over.

For a 32 bit counter and a 1msec tick rate, the counter will roll over about every 42 days of continuous operation.

Mike..

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 6
(3,094 Views)

 

Mike,

thanks for your help.

 

Yes, count increments at a known rate. But if the rate is 1ms, does it increment every 1ms in real time?

 

I am asking this question because I work with simulated I/O now, but in near future I will use my VIs on real system.

 

Thanks in advance.

0 Kudos
Message 3 of 6
(3,081 Views)
On a PC, nothing is in real time (i.e. deterministic). Now having said that, a 1msec rate is pretty slow in computer terms, so it tends to be "real-er" -- you see fewer effects of Windows latency.

How accurate does this tick need to be?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(3,062 Views)

 

Well, it has to be exactly 1ms. Okay, I can't expect counting in real time on a PC, but when I compile Target VI on RIO device can I expect real-time counting?

 

Thanks in advance.

0 Kudos
Message 5 of 6
(3,053 Views)
Solution
Accepted by topic author Chupka993
Yes.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 6 of 6
(3,045 Views)