09-13-2006 12:07 PM
I'm using MAX to communicate with my Instrument via VISA TCP/IP Resources. When issue command Read (viRead), the Input buffer or Parameter for VXI-11 (Device_ReadParms) require data member "flags" set to 0x80 (termchrset). But this flags is zero (0). Based on the VXI-11 Document "TCP/IP Instrument Protocol Specification" Revision 1.0, July 17, 1995. Section B.5.3 (Operation Flags), page 22. This flag should be set to 0x80 (termchrset) when a termination character is specified on a read. (the viRead passed termination character as 0xA (Line Feed).
Is there a work-around to add this flag when using MAX?
09-14-2006 11:34 AM
09-14-2006 12:41 PM
Yes, it works.
But the default for viRead has TermChar set to Line Feed (Other than NULL), if this default is used, then the TermCharEnable should also enabled by default automatically.
This flags send from VXI-11 Client via viRead that's using VXI-11 protocol, and I read this flags at the VXI-11 Server that I'm implementing.
Thank you for your help.