LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO NI 9871 1073807298 (VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.)

Solved!
Go to solution

Hello everyone,

I need to establish simple two wire communication between cRIO-9063 with NI 9871 (RS485) and measurement device HT100. I'm using the cRIo in "Scan interface" mode.

 

I send a specific message from NI 9871 and measurement device should respond with same message, which it does. I can even read the message without a problem in VI, but I keep getting an error -1073807298 (VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error from VISA read. The communication is set properly baud rate, n. of bits, no termination character, no parity, no flow control. I'm not so sure about setting of timeout, but it should not be a problem.

The error occurs even when I send wrong message and responding device does not influence communication line in any matter.

In attachment there is my project and screenshot from o-scope to show the communication (timing, voltage).

Any suggestions? Thank you in front!

Download All
0 Kudos
Message 1 of 4
(2,647 Views)
Solution
Accepted by topic author Spaca

I was missing termination resistor. Sorry for spamming.

Now it works (new o-scope screen attached).

0 Kudos
Message 2 of 4
(2,608 Views)

how many ohm have those termination resistors?

0 Kudos
Message 3 of 4
(2,043 Views)

Typically 120 ohms.

0 Kudos
Message 4 of 4
(2,036 Views)