07-04-2007 03:12 AM
07-05-2007 11:01 AM
Hi there,
I'm seeing exactly the same thing. When a device is discovereed for the first time using this vi, the devices name isn't found. After this the name is found every time.
However if you then turn the device off and on again, the name dissapears from the discover. Not quite sure of a way around this yet. I believe it might be a Windows driver "feature" as I have seen this behaviour before.
Workarounds/ideas:
I can only suggest running the discover twice at this stage. I'll look into it more.
AdamB
09-16-2009 09:46 AM
09-18-2009 05:30 AM
Hello,
I tried using the workaround above of calling the discovery twice if all names were not returned:
But I found it wasn't totally reliable, it helped it return about 75% of names where before it was 0%. But its fairly quick.
I have another workaround that gives an even higher return (100% on my test system) but at the expense of time. This took 90 seconds to get the names of 3 devices:
All other cases are just wired through. That new function is Bluetooth RFCOMM Service Discovery, and it usually always forces a valid name to be returned (as well as services so potentially you could store this data for use in the program later to make it slightly more efficient if the device you wanted to use was one of the ones that didn't return a name).
I hope this helps!
09-23-2009 05:43 AM
09-23-2009 05:50 AM
Hello,
I will report this, however I don't think there is much to be done about it for the reason below:
I believe its an issue with the bluetooth drivers rather than LabVIEW, my evidence for this is that if I load the Bluesoleil panel and do the same thing after a reboot (discover devices) it too reports the addresses and not the names. I have to query the services on the device to get its name (which is what gave me the idea for the workaround.
09-23-2009 05:58 AM - edited 09-23-2009 05:58 AM
09-23-2009 05:59 AM
09-23-2009 06:01 AM
ssk wrote:
Does the Bluesoleil driver work with LabVIEW? If it does it would appear to overcome the limited Bluetooth compatibility within LabVIEW.
Thanks
Simon
For me, it doesn't have any different results to LabVIEW bluetooth (you still have to query services), however results may vary. I haven't tried running LabVIEW with the bluesoleil driver, this was just an observation on my personal laptop.
09-23-2009 06:19 AM
No, bluesoleil driver doesnt work with LabVIEW!!! The reason is , LabVIEW works with windows drivers only
i tried discovering bluetooth by installing te bluesoleil software but wasnt able to make the bluetooth work.
but as soon as i uninstalled the bluesoleil drivers and allowed windows to install the bluetooth on its own, my Bluetooth was getting discovered with adddress and name