12-16-2009 02:07 AM
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...
12-16-2009 02:14 AM
hi
first, look what this error code means. Check the interface (for instance with hyperterminal) and make sure the instrument is responding.
N
12-16-2009 02:16 AM
Hello,
I have checked the instrument with another software developed in VB. Its working fine.. Any clue what may be the problem?
12-16-2009 02:22 AM
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
12-16-2009 05:59 AM
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.