04-11-2012 10:51 AM
I am VERY new to LabView; coming from a VB6 / C embedded environment. I am learning LabView to write drivers for the devices I design. I have a device with a BlueTooth module built in (my design - I write the interface). It connects to WindowsXP fine as a COMM port, using a "Rocketfish BlueTooth USB" from Best Buy. I have to use thier software to connect.
I created several VI's (based on the device driver tutorial), built a simple Labview interface based on the serial example. I can set it up, write a command, get data OK. However, if I use VISA Close, the BT port disconnects? Has anyone run into this? Without another BT device to experiment with, I can't determine if it's the device driver in Windows or something Labview is doing.
I see there are BT server/Client examples, can someone recommend a USB BT device that works well? The simple one I have (I believe) won't let the server start - I get the error "network not responding" or something to that effect... Assuming again because I can't use Windows to set it up.
Thanks!
Steve
04-12-2012 07:37 PM
Hi Steve,
It looks like the VISA close, closes the COM port connection to the bluetooth device.
http://digital.ni.com/public.nsf/allkb/59B81BBF762D780686256F4D00607220?OpenDocument
Also, if you're new to LabVIEW, here is a good tutorial:
http://zone.ni.com/devzone/cda/tut/p/id/3260
also it looks like you can use your device:
http://digital.ni.com/public.nsf/allkb/8295C04C0A038E8686257500005CCA99?OpenDocument