From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

RS-422 over NI 8431

Hi everybody,

 

I'm using the NI-8431 to communicate with an instrument from a PC.

The instrument uses 4 channels - 3 RS-485 half duplex at 1 Mbit/Sec and 1 RS-422 at 2 Mbit/Sec. On the RS-422's channel the PC sends 150 byte at 30 Hz and the instrument sends two messages, one of 231 bytes and the other of 150 bytes at 60 Hz (total of 120 messages/sec). I have problem to receive the incoming message whenever the outgoing message is transmitted. When I inspect it using Port Monitor application, I see that whenever an outgoing message is sent, I receive only partial (about 150 bytes) out of the 231 expected bytes. Any information/suggestion about the issue?

 

thanks in advance,

Nir Gil

 

0 Kudos
Message 1 of 3
(2,413 Views)

It is easier to give a response to your question after you attach your code.  Without the code, the possible responses are near infinite. Smiley Wink

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 2 of 3
(2,383 Views)

Hi,

 

Yes, the code would help. 

One wild guess, maybe it has something to do with the termination character ?

 

Kees

0 Kudos
Message 3 of 3
(2,362 Views)