10-25-2019 06:08 PM
Sorry for the long waiting
I tried rev 5 and it didn't worked.
Here are the results.
Flow
Pressure
So it was the same as rev 4. I don't know why it doesn't synchronize, but I got a new bluetooth sensor. So now I have 3 of it and I am think they are synchronize, but there was a error on the new one and we are trying to solve.
10-28-2019 10:01 AM
Try this code. The timing data looks suspect, its out of synch at first then falls into synch which makes me think the get_data.vi subvi settings were lost. See - http://zone.ni.com/reference/en-XX/help/372614J-01/lvconcepts/reentrancy/
I was setting the "get_data.vi" as re-entrant (pre-allocated clone) but I think it was linking to an old version and when I converted to 2013 that was lost. Once you open this version, open the "get_data.vi" and check that the word clone appears.
Hopefully this solves the issue, regardless of USB or Bluetooth.
Craig
10-31-2019 02:07 PM - edited 10-31-2019 02:08 PM
Once again, guys thanks for all your help.
I got a third bluetooth sensor and it was all syncronized with rev4 version. But when we got the third one, we saw that something was wrong and that why I had my delay to reply you guys. We had to change the sensor firmware because it was with the wrong range.
As the point here was to syncronize every one, I try this last rev and here are the results.
Flow
Pressure
They are the same sensors as rev0 and now they are all synchronized. The sensor 2 (red) is the usb sensor and everything is synchronized and working very fine.
If you guys want to see the data, I put it here in the attachment.
As I had to change something in the code because the COM port was different, I will just try to ajust that and post the Definitive Version here.
And as I say before, thanks for all the help!
10-31-2019 02:43 PM
Glad to hear its working!
When you have time I'd like to see the results of the final code I posted, just out of curiosity.
Cheers.
Craig