LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bluetooth discover doesn't work after building an application

Dear All,

I am trying to build an application that will discover all bluetooth devices in the area. When I run my labview code the programm works perfectly (and there are 7 bluetooth devices found) but when I build an application he doesn't find anything?

I will attach my code and my application.

Yours sincerly,
0 Kudos
Message 1 of 9
(3,518 Views)
hi Aquila1981,

found something in a database for that:


"Problem Description:

The Bluetooth Discover.vi works fine in the development environment, but when built into an executable, it does not work properly. In an executable containing only this VI, the EXE completes execution instantaneously, ignoring the specified search time of the Discover VI and acting like it just passes over it. This problem only occurs when searching for external devices (timeout >0) and not when searching for local devices (timeout <=0). All machines have been Windows XP, SP2, using either TDK or DLink Bluetooth dongles. If LV RT is installed it worked correctly.


Workaround:

The only work around is to discover devices in the development environment, record the specific device addresses, and feed those explicitly into the rest of your VI before you build it into an executable."


greets!
0 Kudos
Message 2 of 9
(3,517 Views)
Hi Watermann,

Thanks for your reply but that is just the problem. I am never searching for the same device with the same name. So I should detect all bluetooth devices search for a specific string and then let the user chose which device he wants to use. So it is very important for me to detect them at runtime.

Greetz

Aquila1981
0 Kudos
Message 3 of 9
(3,510 Views)
Hi,

I'm afraid that I have to confirm what Watermann has posted. There is no solution at this moment. We are trying to fix this but apparently this only happens on machines without LabVIEW Real-time installed. We know that this is a major inconvenience and our R&D engineers are investigating this.

Regards.

JorisV
Team Leader AE
NI Belgium
Message 4 of 9
(3,495 Views)
Hi JorisV,

Thank you for your reply. Indeed this is a major inconvenience. I hope you and your developers at NI find a solution soon.

Please keep me posted if there are any updates for this problem (if possible).

My best regards,

Björn Hendrikx
0 Kudos
Message 5 of 9
(3,476 Views)

Hi,

Sorry for stepping on the same questions, but can you guestimate how soon to expect any resolution of this problem?

and also, when we can expect CVI 8.x or LabView 8.x (for Win 2000) to do bluetoot'ing?

Thanks,

Alex

 

0 Kudos
Message 6 of 9
(3,357 Views)
Hi All,

I have got LabVIEW 8.0. I make a VI for discovering BT targets. It works fine on my computer and also fine when I make a application.

I don't have any problem with this function and the discovering of BT target. I made the test of the PC of my collaegue and It works fine too.

Two tests done : One with a own Vi and an own application on my PC  ==> everything OK
                            One with the Vi and application of Aquila1981 from the folder "rest.zip" (see first thread)==> everything OK


My config : Win XP Pro ver 2002  SP2
                  Pentium IV (3,4 Ghz)
                  1 Go of RAM

Targets : Pocket PC Asus A620 BT
               Sony-Ericsson Mobile Phone K750i

BT stuff : BT USB Stick
                Manufacturer : Broadcom ==> Blutonium BCM2035 BT 2.4 Ghz Single Chip Transceiver
                Driver version : 5.1.2600.2180
                Firmware Revision 00.04


Let me know if you have some problems.

Julien Roland
AE of NI Belgium
www.ni.com/support
Julien Roland - District Sales Manager
NI Belgium - Technical Support

Don't forget to rate a good answer
0 Kudos
Message 7 of 9
(3,342 Views)
Dear Julien Roland,
 
NI has solved the problems concerning BT discovery in labview 8.0 so if you want to simulate or test te problem you should test it in labview 7.0, 7.1 or 7.1.1.
 
Greetings,
 
B
0 Kudos
Message 8 of 9
(3,328 Views)
Dear Aquila1981,
 
I'm happy to hear taht you have solved your problem. I think the engineer's team who creats LabVIEW have investigated this problem and now it is  solved in the version 8 of LabVIEW.
 
Best Regards,
 
PS : Thanks for the advice. I will test the BT discovering on LV 7.X
 
Julien Roland
Applications Engineer
NI Belgium
www.ni.com/support
Julien Roland - District Sales Manager
NI Belgium - Technical Support

Don't forget to rate a good answer
0 Kudos
Message 9 of 9
(3,322 Views)