Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Sincronize 3 Visa reads

Sorry for the long waiting

 

I tried rev 5 and it didn't worked.

Here are the results.

Flow

Flow.png

PressurePressure.png

 

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.

 

0 Kudos
Message 31 of 34
(843 Views)

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.

rev5_clones.png

 

 

Hopefully this solves the issue, regardless of USB or Bluetooth.

 

Craig

0 Kudos
Message 32 of 34
(827 Views)

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

FinaltestFlow.png

 

PressureFinaltestPressure.png

 

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!

0 Kudos
Message 33 of 34
(808 Views)

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

0 Kudos
Message 34 of 34
(800 Views)