03-07-2023 11:50 AM
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.
Solved! Go to Solution.
03-08-2023 08:56 AM
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.
03-08-2023 01:32 PM
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!