Hewlett-Packard VTL function calls and data types typically begin with the
lower case letters vi. Output and enter are performed with functions named
viPrintf and viScanf. Both these functions require a session (a VTL
defined I/O function) to uniquely identify the device being controlled. In
the examples, the session has been named dac.
Querying Module Identification and Configuration
This example will query the module for the identification string and
determine the module configuration.
The module identification is obtained using the IEEE-488 Command
*IDN?
.
!Send query to the module.
*IDN?
!Enter a string.
The string returned should be similar to one of the following:
HEWLETT-PACKARD,E1418A_8CH,xxxxAxxxxx,A.01.00
or
HEWLETT-PACKARD,E1418A_16CH,xxxxAxxxxx,A.01.00
The
xxxxAxxxxx
portion of the response string is the module serial
number.
The module configuration is obtained using the
DIAGnostic:CONFiguration?
query.
!Send query to the module.
DIAG:CONF?
!Enter six integers and decode the integers.
40 Programming Examples
Chapter 2
Summary of Contents for E1418A
Page 6: ...Notes 6 Contents HP E1418A 8 16 Channel D A Converter Module ...
Page 10: ...Notes 10 HP E1418A User s Manual ...
Page 12: ...12 HP E1418A User s Manual ...
Page 105: ...TRIGger 105 HP E1418A SCPI Command Reference Chapter 3 ...
Page 111: ...Notes HP E1418A Command Quick Reference 111 HP E1418A SCPI Command Reference Chapter 3 ...
Page 135: ...135 HP E1418A Register Based Programming Appendix B ...
Page 157: ...Notes 156 HP E1418A Error Messages Appendix C ...
Page 170: ...Notes Appendix D Voltage Current Output Adjustment 169 ...
Page 174: ...Figure E 1 8 Channel Disassembly 172 Configuration and Disassembly Appendix E ...
Page 175: ...Figure E 2 16 Channel Disassembly Appendix E Configuration and Disassembly 173 ...
Page 192: ...Notes 192 HP E1418A 8 16 Channel D A Converter Module Index ...