LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bluetooth and LabVIEW

Solved!
Go to solution

Hello,

 

Is it possible to connect two of the same Bluetooth devices to LabVIEW without having delays? Is it possible to manually change the channels of the bluetooth devices for the Bluetooth Open Connection function, as I believe this or something else involving the Open Connection to be the problem. 

 

0 Kudos
Message 1 of 3
(753 Views)
Solution
Accepted by topic author hame2

I guess this is referring to this thread? I have not used the builtin bluetooth functions, but it does not look like a LabVIEW problem. Since you are reading data at the same rate it looks like you are receiving data buffered on the device.The manual says there is a command mode for synchronized data transfer. So maybe you should be using that.

Alternatively you could probably read data from the devices independently (in separate loops) and drop messages from one device until the other starts sending data.

The example you gave could also use a lot of cleanup, there is a lot of unncessary code there.

Message 2 of 3
(706 Views)

I put them into separate and now the data is coming with no delays; thanks for the suggestion, I really should have tried to do this earlier! 

 

The code I provided was example code from LPMS with slight adjustments to output the data into graphs and the additional device, so I am wary of trying to clean it up. Again, thanks!

0 Kudos
Message 3 of 3
(693 Views)