12-07-2009 03:14 AM
What I mean is that your blue tooth module should have a programers interface or a utility program in which you can define how it reacts to messages via blue tooth. If not you should ask the supplier how to do that.
The VISA interface is only taalking to the serial line and does not know about blue tooth.
The blue tooth vi's in LabVIEW don't know visa as far as I know.
And your problem is, you have to choose which way to go.
I only offer my knowledge as far as it goes.
good luck
12-07-2009 05:04 AM
12-24-2009 11:29 AM
thanx 4 all the help u can provide, i chose how i can make it, i have to VISA and call the module port using bluetooth dongle with a 3rd party software which is bluesoliel 6.4, means i will not use the bluetooth vi's , what i want to know is that i must buy a dongle can be supported by labVIEW ??? or in VISA case as much as i can set the virtual serial port its fair to go ahead with the ECG idea .....
as i know VISA deal only with STRING so i must convert the string to array then draw the signal, i just hope i am on the correct way thats why i build a small vi and i really hope can work, i will upload at least what i did will share all..
plz any idea will be thankful..............plzzzz
12-28-2009 04:22 AM
12-28-2009 04:27 AM
12-28-2009 05:47 AM
12-28-2009 06:08 AM
hi Albert Geven
thanx for any help u can provide. i attached the VI in labVEIEW 8.6 and i hope it can work with you sir.plz i just want to know if i am using a serial port connection do i have to e worry about the dongle i am using ?? i will use bluesoliel 6.4 to set the incoming and outgoing COM ports. by the way my dongle is not on the list of labVIEW bluetooth ...
thanx for reply
12-28-2009 07:17 AM
Hi
You had an empty resource name constant.
Why not use a control as I just have done.
Further more you are writing an ascii 49 ("1") to the bt device. Is that enough
and what do you expect to get back?
look at the modification for opening the device.
On the frontpanel you now have to select the correct serial port.
12-28-2009 09:22 AM
hi Albert Geven
this VI is not tested yet coz i didnt built the sensor of the ECG until now, i am trying to send the ECG signal thats why i have to send a byte or more than one byte, at least at the end the ECG signal will not be ugly i mean the resolution should be higher and the number of bit also. as far as i know the COM port can accept only 8bit and if i want to send more so what i have to do ?? like 12bit ??
plzzz sir let me know if i am using the bluesoliel to set the port and synchronize the connections between the sending and the receiving terminal do i have to be worry about the dongle i am using or not ??? i am confusing about this .
last thing i found a VI but i think its almost the same idea with what i did, so plz can you recommend me which one can be better to modify and get the final results..
thank you very much sir.
12-28-2009 10:00 AM
Hi
Indeed a serial port only can send and receive multiples of the initialized value 7 or 8 bits and it also sends a parity bit in 7 bit mode.
Not forgetting the start and stopbit to signal start and end of the bitstream.
So if you need more bits pack them in bytes.
The example was in lv2009, so I could not yet look at it. Tonight it will be possible again.
If you are building your own hardware how do you test the blue tooth communication?