Agilent Technologies ESG Especificaciones Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 259
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
Programming Guide 1-23
ESG Family Signal Generators Preparing for Use
GPIB Command Statements
Enter
ENTER is the complement of OUTPUT and is used to transfer data from the addressed
instrument to the controller. The syntax is:
Figure 1-8. Enter Command Syntax
ENTER is nearly always used in conjunction with OUTPUT.
Some BASIC Examples
100 OUTPUT 719, "...programming codes..."
110 ENTER 719; "...response data..."
ENTER statements are commonly formatted, requiring the secondary command USING
and the appropriate image items. The most-used image items involve end-of-line (EOI)
suppression, binary inputs, and literal inputs. For example:
100 ENTER 719 USING "#, B"; A, B, C
suppresses the EOI sequence (#), and indicates that variables A, B, and C are to be filled
with binary (B) data. In another example:
100 ENTER 719 USING "#, 123A"; A$
suppresses EOI and indicates that string variable A$ is to be filled with 123 bytes of literal
data (123A).
NOTE Be careful when using byte-counting image specifiers. If the requested
number of bytes does not match the actual number available, data might be
lost or the program might enter an endless wait state.
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 258 259

Comentarios a estos manuales

Sin comentarios