HP (Hewlett-Packard) E1418A TV Converter Box User Manual


 
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