09-18-2008 11:40 AM
Hi,
We are working in the ECG signal visualization. We are sending data from a DSP which converts the ECG signal from analog to digital. This A/D converter has a 16 bits resolution. We are sending data through spp which allow to send 8 bits data. We use "VISA read" to data acquisition. We separate the 16 bits into two 8 bits package and we need to join those two bytes in Labview and then converts it to analog for visualization.
We don't know how to join two bytes in Labview taking from a serial port.
We really appreciate your help.
Thank you.
09-19-2008 01:13 PM
Hi Luego,
What format are the 8 bit packages in? Are they byte arrays?
What format do you want the data in? If they are array and you want a longer array, just append the arrays using the build array function. If you want to convert them to a string or number you should be able to find a conversion function within the numeric/string palletes.
If you can provisde more information I can give a better example.
12-07-2009 02:03 AM
good day to all , my tast is the same i am working on now, i used a modified VI to search on my module and i can find any BT in the area, and when i tried to select my module i found it very hard for my level, after i check many websites i found that its better to use VISA to communicate with the BT module (SPP), but i still got the same problem which is i cant find any chart from module even when i place the block called type cast to convert from sting to and data you want. so plzzzz i need to confirm which way is better to set the COM port
1- use my VI and use some other modifications to collect the data from ?
2- use VISA read and wirte and progress the tast?
3- last thing how i can test my serial port using the NI-SPY??i found it but i dnt knew how to test
i test the module and its working using hypertermianl normally ascii code and send to the BT slave.
any idea plzzz
12-08-2009 06:14 PM
Hi wavestorm1986,
It seems that other people in this thread have found success using SPP to communicate with Bluetooth devices, so you may want to give that a shot. What datatype is the data you are receiving and what datatype are you attempting to convert it to?
With regards to using NI-Spy to troubleshoot the VISA connection, here is a great KnowledgeBase article that should be helpful.
Thank you for choosing National Instruments.
Aaron Pena
National Instruments
Applications Engineer
12-09-2009 12:00 PM
hi Dr. Horrible
i am sending an ECG signal using OP-AMP and PIC then i connect the PIC to the bluetooth module output thats
means the ADC part also should be done, then the signal come from the sensor attached to the body will be send by the module and my dongle should should detect the signal using a third terminal software called bluesoleil 2.6 coz i am using win7 so i want to modify the VISA to got the graph... i read what you send me about the NI-SPY but still dont know how to use, so is it that mean i have to save the data into a file then i can read it from there?or its a time measurement tool?
plz i need more example how to use the NI-SPY and any anther idea will be helpful to finish my task.....
thanx
12-11-2009 12:13 AM
Hi wavestorm1986,
Make sure you are using a Bluetooth dongle that is supported by the Microsoft Bluetooth Stack or the new WIDCOMM stack.These are the type of dongles that are supported by LabVIEW.
Thank you for choosing National Instruments.
Aaron Pena
National Instruments
Applications Engineer
12-11-2009 12:25 PM
hi Peñata
is it so important to use only the bluetooth dongle that labVIEW can support ?? means if i install the the driver of the dongle and i checked the control panel and device manger and its already there ... means its working normally .. but still have to us the labVIEW support dongle???
i can pair the module that i have, but when i want to hyperlink in my own laptop i found its cant be done, but when i test it with other laptops its k means its working so the process will be
1- pair
2- set the port number
3- call the port using VISA
so this is the normal procedure that i have to use ???or i missed something..................
any help will be thankful