Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ni488 driver and 5 byte messages

Hi all,

I'm seeing some very strange goings on with a gpib application.

Using NI Communicator as controller, talking to a custom slave application written with NI488.

whenever I use Communicator to post a message of 5 bytes long, it screws up the last byte, replacing it with a random character. Shorter or longer messages always get handled perfectly, but alas "*IDN?" is five bytes long.

Tx: *IDN?
Rx: *IDNS

Tx: IDN?
Rx: IDN?

Tx: abIDN?
Rx: abIDN?

I've double-checked my software and this problem is actually occurring within ibrd(), rather than my application.

Has anyone seen this before? NI driver v1.7

ta,

Mat.
0 Kudos
Message 1 of 1
(2,797 Views)