User`s guide
Programming via GPIB and VXI 4
Agilent VISA User’s Guide 109
/* Print the results. */
printf( "inData16 : 0x%04hx\n", inData16 );
printf( "peekData16: ox%04hx\n", peekData16
);
viClose( vi );
viClose (drm );
}
MEMACC Attribute Descriptions
Generic MEMACC Attributes
The following read-only attributes (VI_ATTR_TMO_VALUE is
read/write) provide general interface information.
Table 22 Attributes That Provide General Interface Information
Attribute Description
VI_ATTR_INTF_TYPE Interface type of the given session.
VI_ATTR_INTF_NUM Board number for the given interface.
VI_ATTR_TMO_VALUE Minimum timeout value to use, in
milliseconds. A timeout value of
VI_TMO_IMMEDIATE means operation
should never wait for the device to respond.
A timeout value of VI_TMO_INFINITE
disables the timeout mechanism.
VI_ATTR_INTF_INST_NA
ME
Human-readable text describing the given
interface.
VI_ATTR_DMA_ALLOW_
EN
Specifies whether I/O accesses should use
DMA (VI_TRUE) or Programmed I/O
(VI_FALSE).