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