Jump to content

bluetooth connection with microcontroller


terence

Recommended Posts

Hi Guys,

To date, i've been working a project that has a microcontroller, accelerometer and a bluetooth chip. basically im just sending accelerometer readings thru the micro, to my laptop running a VI in labview. i've managed to write a VI that reads the data via RS232. I'm trying to write a VI for bluetooth now. I've been following the advanced client example in labview 7.1 which has been really helpful. i'm able to detect all bluetooth enabled devices. list the services for the blue tooth device. then choose the service.

Once the service has been chosen "COM0" in my VI, i try to read the data that the micro is sending over bluetooth. the micro is constantly outputting characters but i only seem to be able to read about 20 bytes using the bluetooth read function before it stops / times out. i'm not sure if my code under the "COM0" service is correct. i've also tried all the differend modes of the bluetooth read function. I've attached the VI.

any help is appreciated!

Thanks,

Terence

Download File:post-4458-1146498156.vi

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.