
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).
Summary of Contents for E2094S
Page 6: ...6 Agilent VISA User s Guide ...
Page 116: ...116 Agilent VISA User s Guide 4 Programming via GPIB and VXI ...
Page 126: ...126 Agilent VISA User s Guide 5 Programming via LAN ...
Page 143: ...Glossary Agilent VISA User s Guide 143 Windows notification area See notification area ...