I'm made a project with Phidget 4-Input bridge to measure PT100 RTD. In fact I use 5 Boards (Total 20 Sensors) + 8_8_8 Phidget Board for relays and 4-20 Sensors. Interface is Visual C2008.
in regard with 8_8_8 the board is working fine. But we experience several problems using Bridge Board. The problem is very important, because we are going to use this soluton over 50 Piers at Spain to measure temperatures in storages (So it means about 300 phidgets).
My problem is with source code: I made that in usual way than 8:8:8
1- Create Iface for each Bridge Board
2- Open It
3- Wait to attach
4- The on Attach enable the 4 Bridges on The Boards & Configure Gain1 and sample 1000ms
5- Then in a Loop (every 1000 Seconds) y call to CPhidgetBridge_getBridgeValue
to get the actual value.
It's works fine for a while, but suddenly (I don't know way) CPhidgetBridge_getBridgeValue return code 9 (UnkNown value) and Board stop to respond (always return "9"). The only solution we found at this moment is to repeat the step from 3:
3- Wait to reatach
4- On Attach Reconfigure Phidget
then it turn to work again, until it fail again with "9". The rate of failed is not fixed. Sometimes
it take a while (1 hour) before failed, somethimes just 5 seconds.
I try to use a "handle call" aproximation, then the callback is "call" every second in regular way, but again somethimes it stop to call and we need again to do reatach-reconfigure.
If it's needed we can provide source code. It's very important for me try to understand the problem, because we start by monday to deploy the system in real situation, and if it work we proceed with next piers, but i'm very worried about having problems because it will be work in 24x7 schema over industrial computer
Thanks a Lot
Phecab Technical Manager
- (21.62 KiB) Downloaded 214 times