LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data acquisition using RS-232

Hello,

 

         I am trying to acquire some signals from a medical analyzer through its RS 232 port. I have connected the device to my pc and tried out the Advanced Serial write and read VI example from the NI examples. But I am getting an error   " Error -1073807339 occurred at VISA Read in Advanced Serial Write and Read.vi " and not being able to acquire any signals. 

 

         Can anyone help me with this problem?

 

Regards,

 

Nitzy... 

0 Kudos
Message 1 of 5
(2,781 Views)

hi

first, look what this error code means.  Check the interface (for instance with hyperterminal) and make sure the instrument is responding.

N

0 Kudos
Message 2 of 5
(2,777 Views)

Hello,

 

         I have checked the instrument with another software developed in VB. Its working fine.. Any clue what may be the problem? 

0 Kudos
Message 3 of 5
(2,775 Views)

hi

this error code means "timeout", so either you did not wait long enough for operation to complete o, in my opinion, the serial port does not work correctly.

N

0 Kudos
Message 4 of 5
(2,770 Views)

The serial port is certainly working and I strongly doubt that additional wait time is required.

 

My guess is that the correct termination character is not being sent. Look at the basic example to see how to send a CR/LF after each command.

0 Kudos
Message 5 of 5
(2,753 Views)