08-09-2007 01:01 AM
Hi Les Hammer
I was wondering if you can help me out with my Bluetooth question at my thread "Building Bluetooth program on LabVIEW". Thx.
10-23-2008 01:34 AM
10-23-2008 09:52 PM
Hi Bobby,
> I am planning to communicate with a BT(PC Dongle) device from labview.
> Will labview act as a BT source by itslef as i dont have BT in my pc installed?
I'm assuming that you mean does LabVIEW contain all the BT source code that you need as LabVIEW does not have the BT hardware source.
I think you need at least LabVIEW 8.2 (or was it just 8.1?). While the 7.x version had BT in it a defect kept it from working properly. You might need the Professional version. Just check to see if if your version has BT in it. If it does, that should be all you need. At least it was for the D-Link that I had.
> I have a PC_Dongle from iAnywhere Solutions and i will connect it to my PC where labview is installed.I wanted to communicate with a mobile having BT is it possible?
If you know the protocols for your mobile.
> Please provide me how to configure those settings.
Sorry, I have no idea. I don't remember doing any configuration settings.
> That Dongle came with propritary drivers shall choose that or let MS detect default drivers?
I did neither (IIRC) - it's been a while. I just let LabVIEW handle it all.
~~Les Hammer
10-24-2008 01:51 AM
Hi Les,
Thanks for a quick response i have LabView 8.5 dev.SO you meant to say even with out BT hardware labview can communicate with external device?
I have tried to do on BT but i have no luck.As i told before i wanted to communicate with an external device.
Primarly what i done is connected PC Dongle to my machine and run Simple Bluetooth server.vi then it took by default Pc dongle connected to the machine
then i used my bluetoothvi to discover it discovered my mobile.But if i give that address to listener it is giving Error 54.What is uuid?How can i determine it.In server ex it was hardcoded.
I dont know mobile protocols but i can replace mobile wiith a BT chip on a FPGA board i know the serial port message protocol to control its BT connectivity
One more doubt labview supports BT streamingfunctionality also?
Please find the snapshots errors attached
10-26-2008 09:55 PM
> SO you meant to say even with out BT hardware labview can communicate with external device?
No. You need some BT Hardware. LabVIEW does not supply that. But LabVIEW supplies the software - you do not need to install other software (at least I didn't with my D-Link.)
> Primarly what i done is connected PC Dongle to my machine and run Simple Bluetooth server.vi
I don't think I ever got that to work, simply because my instrument didn't have those protocols.
Instead I started two loops - a transmit and a receive. The receive loop has to be ready to receive responses as soon as the device (in my case a sensor instrument) decides it's time to send a response. The transmit loop sends information under my program control. Maybe your situation is different.
> then i used my bluetoothvi to discover it discovered my mobile.But if i give that address to listener it is giving Error 54.
Your screen shots show address "00:18:e4:..." on one screen and "00:18:13:..." on the other. These are two different addresses. If you click on Error 54 it will tell you more information on what is wrong. I don't have the error numbers memorized.
> What is uuid?
Unique universal IDentifier, or something like that. Each Bluetooth device is suppose to have a unique id to identify it from the rest of the world.
> One more doubt labview supports BT streamingfunctionality also?
I don't know what that is. It's been over a year since I did the Bluetooth program and the memory is getting fuzzy.
~~Les Hammer
10-29-2009 11:33 AM
hi everyone.......
i hope MR.LES if you do not mind to send me your VI i am new in this task and i am really interested to use it. and if you mind i hope answer my questions:
1-i have a DELL laptop and already got BT WIDCOMM and i its function very good, so can i modify the BT driver in my labVIEW 8.6 ?is it possible ?any idea how ?
2-i have a easy BT module from parallex company which have a PIC bulit-in, i want to connect it to the labVIEW and recive other BT signal from the another easy BT module...i connect the module to the PC as a serial port or DAQ (better one)???
3-hope u answer my questions as fast as you can ............
Regards...........
10-29-2009 12:28 PM
It's been 2 years since I looked at this code. It was working at that time (converted to a .dll) with the other software and hardware, but we ran out of funds and abandoned the project. I know the code looks for a specific address range from the Bluetooth device, but I don't remember where that was. I deleted the 66MByte install directory and zipped the rest in the attached file.
Good luck,
~~Les Hammer
12-03-2009 09:00 AM
Hi MR.Les Hammer
Thank you for the data you send, sorry for being late i had some problems, anyway i have a BIG problem now, I am using VISTA 32bit HOME PREMIUM, and i install labVIEW 2009.
i bought a BT dongle HK-808 and can be used in all the OS's (VISTA INCLUDED). when i plug in the device i found that can be found and when i insert the CD i found its only BLUESOLEIL 2.6, but at the same moment i found out my BT driver (built in) is OFF and its ICON removed,and the dongle icon appear so when i run the new dongle simple client and server.vi
cant run at all,before the server was running but the client got ERROR 59 which is i try to avoid it but i couldn't so:
1- Is it possible to use a dongle and off the DELL wireless 365 bluetooth module, and use the dongle to acquire the signal in labVIEW ?
2- If any BT want to communicate with any device they should PAIRED first so labVIEW can do this part means can create the SERIAL PORT NUMBER without using BLUESOLEIL means us the laptop BT ? means that is it possible to create the SERIAL PORT using the laptop BT, then confirm it usinglabVIEW?
3- i work on a VI and i can detect the all the bluetooth devices but when select any device i can see only COM0 ?? which should be like COM6 or COM7 ?
i hope i can slove this task as soon as i can coz BT for me its like a channel still have to use the applications(ECG using BT and show the signal using labVIEW)
thanx for any reply.............
12-04-2009 04:39 PM
Sorry, but I do not have any idea on this. I no longer have the Bluetooth set up so I can't even check this out.
~~Les
04-07-2011 05:06 AM
Hi Dear All,
I am working on Bluetooth module of labview and Symbian 3rd Ed FP2 SDK of Nokia Mobile platform.
Symbian C++ API for "CSdpAgent’s SetRecordFilterL" discovers and filters based on 16-bit UUID of Services adverstied by other Bluetooth devices.Problem that i am facing is that Labview advertieses 128-bit UUID in GUID format so how to handle it in Symbian BT APIs or may be in labview.
How may i advertise 16-bit UUID via Labview.
Thanks & Regards
awais qureshi