annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

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
Messaggio 1 di 5
2.948Visualizzazioni

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
Messaggio 2 di 5
2.944Visualizzazioni

Hello,

 

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

0 Kudos
Messaggio 3 di 5
2.942Visualizzazioni

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
Messaggio 4 di 5
2.937Visualizzazioni

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
Messaggio 5 di 5
2.920Visualizzazioni