FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Accuracy of millisecond timer on cFP-2020

What is the resolution of the millisecond timer on the cFP-2020 and 2000 controllers?
What is the long-term accuracy?
What is the relationship between the millisecond timer value and the millisecond value of the real-time clock?
What are the resolution and accuracy of the real-time clock?

(for code running on the controller)

Thanks!

Anton

0 Kudos
Message 1 of 7
(3,151 Views)
I don't have specific answers to your questions but here are a couple of threads to check out
that might get you headed in the proper direction.

http://forums.ni.com/ni/board/message?board.id=170&message.id=205275#M205275

http://forums.ni.com/ni/board/message?board.id=110&message.id=4204&view=by_date_ascending&page=1

http://forums.ni.com/ni/board/message?board.id=110&message.id=5190&requireLogin=False

Matt
0 Kudos
Message 2 of 7
(3,152 Views)
Thank you, Matt.  There is indeed some good, detailed technical information hidden in an attachment there...

Unfortunately my timestamp observations are still partly unexplained:

In a loop with only an FP-read on LED-A and a wait-on-next-millisecond-multiple running on the cFP-2020 I would expect the difference between consecutive timestamps (deltaT) to be very close to the wait time.  My results:

wait 1000 ms: deltaT= 0 or 1000 or 2000
wait 5000 ms, deltaT= 4000 or 5000 or 6000
wait 333 ms, deltaT= 0 or 333 or 1333

(there's also a random variation of a few milliseconds on top of this, which I'm not concerned about)

How can this be?
0 Kudos
Message 3 of 7
(3,135 Views)
That is interesting.  The wait-on-mS-multiple can have a short first iteration;
are any of your short time numbers from the first iteration only?

What is the source of your time for your measurement?

Can you post an example?

Thanks.

Matt
0 Kudos
Message 4 of 7
(3,132 Views)
The short time intervals recur frequently.

The source of the time stamps is the FP-read.

I'll post it tomorrow.

Thanks for your interest!

Anton

PS.  I say that I'm still using Labview RT 6.1.1.

0 Kudos
Message 5 of 7
(3,130 Views)
Hi,

Here is a VI that produces my puzzling results.  I would like to take the advice given by NI and others to use the FP Read timestamps, but this VI appears to indicate that Get-Date/Time-in-Seconds provides more consistent time.

I am now using LV-RT 6.1.3.

I'd love to have an explanation!

Anton
0 Kudos
Message 6 of 7
(3,087 Views)
Hi Anton,

This is most likely expected behaviour. A FieldPoint Read, when set up as event-driven, will only update the timestamp when the data point changes. Viewing the block diagram of the FieldPoint Read VI shows a case structure that only updates the timestamp in the true case (new data).

In this case you are monitoring value changes of an indicator on the controller. Because the value returned from the LED isn't continually changing from true to false, and vice-versa, between loop iterations you are only getting updated timestamps intermittently.

Cheers.

| Michael K | Project Manager | LabVIEW R&D | National Instruments |

0 Kudos
Message 7 of 7
(3,073 Views)