Ocean-optics Jaz Scripting Language and Scripting Engine Manual do Utilizador Página 15

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 74
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 14
2: Jaz Scripting Engine Architecture
013-RD000-000-12- 201010 7
The DO ... DONE construct is a special iteration construct. It behaves exactly like a FOR loop, but with
one special caveat: a DO ... DONE loop cannot have GOTO statements in it. CALL statements are
allowed in a DO … DONE loop.
Built-In Variables
The intent of built-in variables is to make system-wide setting values available to the developer. For
example, INTEGRATION_TIME_SECONDS establishes an integration time of 1 second by default. To
change this, assign it a new value prior to taking a spectrum reading. Those that are marked as constants
are not user-modifiable and are meant to convey values to system functions. For example, in specifying
lamp intensity the value ALLBULBS means “set all bulbs in the light source to the value” while BULB1
specifies the first bulb in the source.
Built-in Variables for Use
NOTE:
Variables in red are important settings for the spectrometer and should be set by the developer to
alter the default behavior.
Variable Type Constant Typical Use/Value
NONE TEXT YES "NONE"
LED_LAMP_TYPE INT_16 YES 6
UV_VIS_LAMP_TYPE INT_16 YES 4
VIS_NIR_LAMP_TYPE INT_16 YES 5
AVERAGES INT_16 0
BOX_CAR INT_16 0
LAMBDA_LOW INT_16 0
LAMBDA_HIGH INT_16 0
LIGHT INT_16 0
RESPONSE_TIMEOUT_SECONDS INT_16 5
NUMBER_OF_PIXELS INT_16 2048
NON_LINEARITY INT_16 0
Vista de página 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 73 74

Comentários a estes Manuais

Sem comentários