Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Sometimes missing one byte among SCPI string with Agilent VISA

I use TNT4882 chip and config it as one chip mode. Firstly continously write command to TNT4882 or read from TNT4882 with agilent VISA function, it works OK. But when use NI 488.2 application, it only can rightly write command to TNT4882 every two times. But can continously read from TNT4882. It is that first write command, it is OK, but second write command, The NI 488.2 return timeout error and TNT4882 can not generate interrupt. I think NI 488.2 does not access bus, So after I finish receive data, I release holdoff and clear STOP. After that, NI 488.2 can successfully write command every time. But when use agilent VISA to contionously write command and read, sometimes missing one byte, So I can not receive right SCPI. I am puzzled that why missing middle byte. For example command is "centerfreq", maybe I only receve "centerreq". When recevie config, I config GPIBDataWrite(TNT_AUXMR,0x96); when send cofig, I config GPIBDataWrite(TNT_AUXMR,0x99); I don't know what happen?

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

This is a double post.  Please see this conversation for information about this problem.

 

http://forums.ni.com/ni/board/message?board.id=140&message.id=36729

 

Thanks,

Steven T.

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