12-21-2009 04:21 AM
Hello,
I have been working on labVIEW for a few months but this is for the first time I am trying to connect a machine with PC(LabVIEW) using an RS 232 port. I want to connect a medical analyzer, having an RS 232 port to my pc. Can anyone tell me what all are the basic steps.
Regards,
Nitzy
P.S. : I tried it using the basic read and write VISA example in labview lib. I connected the machine to pc and tried running the VI but I got no signal.
12-21-2009 06:41 AM
First, you have to make sure that you have the correct type of serial cable (null modem or straight-through) and that the com settings (baud rate, parity, etc.) of the VI match what the instrument is set for. Then, you have to know whether the instrument requires a specific command before it will return anything or whether it streams data. All of this should be in the manual. Since you have not attached the manual or even mentioned the make and model of the instrument, it's impossible to provide many more details.
I would recomend that you first try a program such as Hyperterminal and get communication working there before trying any programming.