Ocean-optics Jaz Scripting Language and Scripting Engine Manual de usuario Pagina 23

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 74
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 22
013-RD000-000-12- 201010 15
Chapter 5
Using the Jaz Scripting Engine
Overview
The scripting engine is a program named Scriptor. Scriptor contains all the functionality needed to
communicate with a Jaz unit and execute user scripts. Scriptor has several arguments that may be passed
to it on the command line to modify its behavior.
The scripting engine has two script file input modes:
In one mode, the names of the script(s) are provided on the command line. The engine will
attempt to execute each script in order of appearance on the command line.
In the second mode, a flag is passed with a text string naming a directory from which the engine
should fetch scripts.
In either mode, each script will execute independently of any other scripts that have been or will be
executed. Minimal use would pass the name of a single script on the command line.
The flags are specified on the command line as a hyphen followed by a letter. A flag may take no
arguments or it may take one. The format follows POSIX program invocation conventions. Flags may
appear in any order but the name of scripts must follow all flags or an error will be reported.
The invocation format is:
Scriptor <flags and options> <script name(s)>
Engine Arguments
Flag Arguments Meaning
-v none verbose output -- enhances the trace option
-t none trace -- displays all engine actions
-c none compile only -- will check script for syntax but will not
attempt to execute
-h IP address of Jaz Unit
Default: 127.0.0.1
Specifies the IP address to contact the Jaz unit. If not
provided, engine assumes that the Jaz components are
local. See Tethered Mode.
Vista de pagina 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 73 74

Comentarios a estos manuales

Sin comentarios