07-22-2009 06:22 AM
Hello everyone,
I am using labview 8.0 and i want to acquire the ecg signals from my ecg machine which has an RS 232 output.. Can anyone please tell me how to do that.??
Regards,
Nitzy
07-22-2009 07:10 AM
Nitzy,
Start by looking in the here http://www.ni.com/devzone/idnet/ to see if a LV driver already exists. If not, you can create your own using the VISA functions that ship with LV.
07-22-2009 07:12 AM
OK I'll have to learn how to post links--
See my post in the thread "invalid suffix" quoted here
"
It would help a LOT if you told us what specific instrument you were trying to communicate with. Even better- post a link to the user's guide for the instrument. BEST YET- read the user's guide for the instrument.(to answer your question we will need to read the manual so, why shouldn't you read it too?)"
07-22-2009 08:24 AM
hello,
Thanks a lot for your response.. I am trying to communicate with an ecg machine which i have designed in our lab.. i used an ADC Kit and RS 232 with Max232 for the conversion and transmission of the signal.. i dont have a proper manual for the machine, but can give you any information that will be required...
Regards,
Nitzy..
07-22-2009 08:42 AM
Nitzy,
First order of business is determining what kind of COM settings your hardware is expecting. Things like baud rate, start bit, # data bits, stop bits. The next would be the contents of each transmission. Things like termination characters, checksums etc.
MAX232 chip is very familiar to me. Can you give more info about the ADC Kit and any other hardware related to the com port on your hardware?
07-22-2009 08:51 AM
hello,
the ADC used is ADC0804 LCN .. micro controller used is of 8051 family,AT89C52.... no other hardware components are used.. its the most basic model...
Regards,
Nitzy..
07-22-2009 09:02 AM
Nitzy,
All the communications parameters, commands etc are going to depend on how the AT89C52 uP is programmed. Safe to assume you wrote this code?
07-22-2009 09:11 AM
07-22-2009 09:25 AM
Nitzy,
The uP needs to have a program. Program needs to handle reading the ADC and the serial communications functionality your project requires. This
http://www.atmel.com/dyn/resources/prod_documents/doc4346.pdf contains example code to handle setting up the UART to do serial communication.
07-22-2009 09:36 AM