Ocean Optics Jaz Scripting Language and Scripting Engine User Manual
Page 52
A: Example Scripts
44
013-RD000-000-12- 201010
A script must have a name and a 3-digit version number. As the product evolves, new script engines will
be produced, so it is important that a script targeted for a later version is not sent to an earlier version
engine. The intention is that all script engines be backward compatible with version 1.0.0. The script
writer adjusts this version tag to guarantee a match between script engines and the script.
SCRIPT Simple_test_of_scriptor
Version 0.0.1
VARIABLES
//
// File to store the Spectrum that we get
//
testfile1 FILE "testfile1.txt" ASCII
//
// SPECTRAL variable for the spectrum that we get from the Spectrometer
//
testspectrum SPECTRAL
//
// Channel that we are getting the spectrum from
//
channel INT_16
//
// Button choice variable
//
choice INT_16
//
// Variable to hold the Integration Time
//
integrationtime REAL
END
//
// Start of the Script
//
START
//
// Set variables
//
channel := 0
integrationtime := 0.0004
//
// Set the display precision
//
SetDisplayPrecision(8,6)
- Apex 785 Raman (1 page)
- STS-UV (2 pages)
- TR2 Engineering Note (4 pages)
- SAD500 Communications and Control (19 pages)
- Red Tide USB650 Install (26 pages)
- Fiber Optic Termination Kit (6 pages)
- Transmissive pH Probe (10 pages)
- Remora (42 pages)
- PlasCalc (59 pages)
- Correcting Device Driver Issues (8 pages)
- ecoVis Krypton Light Source (16 pages)
- LPC-500CM (28 pages)
- HPX-2000 (24 pages)
- ADC1000-USB (27 pages)
- Torus Operating Instructions (30 pages)
- ADC2000-PCI (13 pages)
- Sensors for Real-Time Analysis (2 pages)
- IDRaman reader (2 pages)
- DH-2000-CAL (30 pages)
- QE65 Pro (32 pages)
- Collimating Lenses (2 pages)
- D1000 (2 pages)
- IDRaman mini (2 pages)
- HR2000CG-UV-NIR (42 pages)
- Cool Red (1 page)
- HL-2000 (20 pages)
- XE-1 Xenon (6 pages)
- USB-ADP Serial Adapters (3 pages)
- CHEM2000 (36 pages)
- Deuterium-Halogen Calibration Light Source (19 pages)
- NeoFox Engineering Note (30 pages)
- QE Pro (2 pages)
- OOIBase32 (140 pages)
- AR-1 Argon (6 pages)
- pH Sensor Patches, Probes and Cuvettes (36 pages)
- SpecLine Offline Spectroscopy (60 pages)
- HL-2000-HP-232 (26 pages)
- External Triggering Options Instructions for Spectrometers with Firmware Version 3.0 and Above (16 pages)
- Breakout Box (10 pages)
- USB-ISS-UV_VIS (4 pages)
- ISS-UV_VIS (6 pages)
- OOIColor (14 pages)
- LS-1 Series (12 pages)
- Apex Install (24 pages)
- DH-2000 (34 pages)