next up previous contents index
Next:   IMAGE Up: The KEYBOARD INTERFACE: Command Previous:   HISTOGRAM

  I2C

Convert an integer value to a character string and store as a user named program variable of type character string. This is designed especially for use within macros.

The character string can be defined with a fixed number of characters, or a variable number:

VARIABLE LENGTH OUTPUT [NO]:

and if fixed the number of characters is defined:

ENTER NUMBER OF OUTPUT CHARACTERS [3]:

The character string is saved as a named program variable:

ENTER VARIABLE NAME [#CVALUE]:

The following example shows the command being used together with a program variable:

Main menu: ENTER COMMAND [PLOT DATA]:Define
ENTER VARIABLE NAME [#CVALUE]:#IVALUE
ENTER DATA TYPE OF VARIABLE:INTEGER
ENTER VARIABLE VALUE [0500]:500
Main menu: ENTER COMMAND [Z-SCALE]:i2c
ENTER INTEGER [1]:#IVALUE
VARIABLE LENGTH OUTPUT [NO]:n
ENTER NUMBER OF OUTPUT CHARACTERS [3]:4
ENTER VARIABLE NAME [#CVALUE]:
Main menu: ENTER COMMAND [CONCATENATION]:list
s #CVALUE = 0500
i #IVALUE = 500



Andrew Hammersley
2004-01-09