03-12-2021 06:27 AM
Hello,
I am trying to communicate one Bluetooth device with LabVIEW.
When I am simply running the VI then its working fine,
but when I am developing the executable after that its doesn't work.
I am using LabVIEW 19, What will be the problem?
Yours solution will appreciable!
Thanks in advance!
Solved! Go to Solution.
03-12-2021 08:27 AM
The first step in asking for help with a problem is to actually tell us something about the problem.
"it doesn't work" tells us nothing.
In what way doesn't it work? What would it be doing if it was "working" and what is it doing instead? Do you get error messages?
Do you have any actionable information?
03-12-2021 09:45 AM
1. When I am running normal Bluetooth VI then it's working fine.
2. After development of exe When I am running exe Then exe is running without error.
But communication between Bluetooth module and LabVIEW it not happening.
3. And again when I am opening VI from project folder and seperately running it then communication between Bluetooth module and LabVIEW is happening.
03-12-2021 11:33 AM - edited 03-12-2021 11:50 AM
Without seeing your code what can we do besides guess what you did wrong?
My experience with BT is limited to BT serial devices. These install a virtual serial port and after the device(s) are paired in Windows the BT part becomes transparent and communication with the instrument with VISA through BT was no different than communicating with that instrument using VISA through a wired serial port.
If yours is similar is it possible the virtual com port your BT device is using changing?
03-13-2021 11:04 PM
Hi,
I am trying to communicate with 8 channel Numato Bluetooth Relay Module.
I am attaching here its Project and VI
May be it will help you to diagnose the actual problem
03-13-2021 11:35 PM
Greeting,
This problem get solved!
I am assuming this was the problem
1. I don't want to close VISA session for my complete execution
that why when I was running "only VI" that time it was working perfectly fine.
2. After that when I was running .exe its was not communicating with Bluetooth module,
(Because that particular COM was till engaged with last run VI)
3. Then I close the "only VI" session first and then run .exe again
and it start to communication.
I would like to thanks RavensFan and RTSLVU for theirs quick support