LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to acquire data from a RS 232 port

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 

0 Kudos
Message 1 of 13
(4,285 Views)

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.  

0 Kudos
Message 2 of 13
(4,268 Views)

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?)"

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 13
(4,267 Views)

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.. 

0 Kudos
Message 4 of 13
(4,249 Views)

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? 

0 Kudos
Message 5 of 13
(4,241 Views)

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.. 

0 Kudos
Message 6 of 13
(4,236 Views)

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?

0 Kudos
Message 7 of 13
(4,232 Views)
errrr.... I knew, this was goin to happen.. i didnt write the codes.. is there any way out of it without the codes?:smileysad:
0 Kudos
Message 8 of 13
(4,225 Views)

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.

0 Kudos
Message 9 of 13
(4,216 Views)
okey, thank you so much wayne.. i'll just try that....
0 Kudos
Message 10 of 13
(4,210 Views)