How precise is Phidget intervals when raise Phidget22.Events

Comments & issues
Post Reply
PatrikMichnac
Fresh meat
Posts: 2
Joined: Thu May 23, 2019 11:50 pm
Contact:

How precise is Phidget intervals when raise Phidget22.Events

Post by PatrikMichnac »

Hello, I have 4x Thermocouple Phidget with VINT Hub Phidget. I have a question regarding termometer intervals. I can set intervals from 20ms to 1000ms. First of all, I want to know which device has a clock and which device is responsible for timing. It is Thermocouple or VINT HUb device? And secnd question is how precise is this clock. Do you recomend to use computer timer to control timing or is it possible to count miliseconds from intervals? I want to save value from termocouple every seconds so I just want to know if better approch is to use windows timer or can I be sure with interval precise and than I can use clock on Phidget?
fraser
Engineering
Posts: 138
Joined: Thu Nov 19, 2009 4:41 pm
Contact:

Re: How precise is Phidget intervals when raise Phidget22.Events

Post by fraser »

I wouldn't rely on intervals for precise timing. They are pretty accurate on their own, but when coming down through the library and program, the accuracy will drop. Program event times vary (especially if used in a GUI scenario, where there's generally 10ms of overhead), so you're best off using timing from the OS.

I've seen event times vary +/-5ms to +/-10ms on random data points in C# GUI applications. But in general the average time between events will be what you specify as a DataInterval.

But to answer your question it is the TMP1101 that handles timing, and if running 4 thermocouples at minimum DataInterval, you could see the intervals go up due to high load.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests