Ocean-optics Jaz Scripting Language and Scripting Engine Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Ocean-optics Jaz Scripting Language and Scripting Engine herunter. Ocean Optics Jaz Scripting Language and Scripting Engine User Manual [en] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 74
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Scripting Language and Scripting Engine
Programming Guide
Document Number 013-RD000-000-12- 201010
Offices:
OcOcean Optics, Inc.
830 Douglas Ave., Dunedin, FL, USA 34698
Phone 727.733.2447
Fax 727.733.3962
8 a.m.– 8 p.m. (Mon-Thu), 8 a.m.– 6 p.m. (Fri) EST
E-mail: Info@OceanOptics.com (General sales inquiries)
[email protected] (Questions about orders)
TechSupport@OceanOptics.com (Technical support)
Seitenansicht 0
1 2 3 4 5 6 ... 73 74

Inhaltsverzeichnis

Seite 1 - Programming Guide

Scripting Language and Scripting Engine Programming Guide Document Number 013-RD000-000-12- 201010 Offices:OcOcean Optics, Inc.830 Douglas

Seite 2 - Limit of Liability

1: Introduction2 013-RD000-000-12- 201010Operating System Support Microsoft Windows – Windows 7, 2000, XP; 32-b

Seite 3 - Table of Contents

013-RD000-000-12- 201010 3Chapter 2Jaz Scripting Engine ArchitectureOverviewThe Jaz Scripting engine comprises the linguistic a

Seite 4

2: Jaz Scripting Engine Architecture4 013-RD000-000-12- 201010All variables are global in scope. That means that

Seite 5 - 013-RD000-000-12- 201010 v

2: Jaz Scripting Engine Architecture013-RD000-000-12- 201010 5TEXT LiteralsA literal of type text may need to have carriage re

Seite 6

2: Jaz Scripting Engine Architecture6 013-RD000-000-12- 201010 Symbol Name Type> Greater than Boolean< Le

Seite 7

2: Jaz Scripting Engine Architecture013-RD000-000-12- 201010 7The DO ... DONE construct is a special iteration construct. It b

Seite 8

2: Jaz Scripting Engine Architecture8 013-RD000-000-12- 201010Variable Type Constant Typical Use/ValueELECTRIC_DA

Seite 9 - Introduction

013-RD000-000-12- 201010 9Chapter 3InstallationOverviewThe JSL can be run under Jaz, Linux or Windows and installed from either

Seite 10 - Operating System Support

3: Installation10 013-RD000-000-12- 201010Downloading from the Ocean Optics WebsiteInstalling on a Windows Platfo

Seite 11 - Architecture

013-RD000-000-12- 201010 11Chapter 4Windows Scriptor LauncherIntroductionScriptor Launcher provides a graphical interface for O

Seite 12 - Example:

AdditionalOffices:Ocean Optics Asia666 Gubei Road, Kirin Tower, Suite 601B, Changning District, Shanghai, 200336 PRCPhone 86.21.6295.6600Fax 86.21.629

Seite 13 - Operators

4: Windows Scriptor Launcher12 013-RD000-000-12- 201010Running the ApplicationScriptor Launcher Main WindowDouble

Seite 14 - Main Program

013-RD000-000-12- 201010 13Script OptionsOption MeaningVerbose Corresponds to the -v option and provides the most detailed out

Seite 15 - Built-In Variables

4: Windows Scriptor Launcher14 013-RD000-000-12- 201010

Seite 16

013-RD000-000-12- 201010 15Chapter 5Using the Jaz Scripting EngineOverviewThe scripting engine is a program named Scriptor. Scr

Seite 17 - Installation

5: Using the Jaz Scripting Engine16 013-RD000-000-12- 201010Flag Arguments Meaning-p IP Port number of Jaz unitDe

Seite 18 - Transferring JSL to Jaz

013-RD000-000-12- 201010 17Chapter 6Functions ReferenceACOSSyntax: ACos(A,B)ArgumentsName Type Special ConsiderationsA INT_16 o

Seite 19 - Windows Scriptor Launcher

6: Functions Reference18 013-RD000-000-12- 201010ArgumentsName Type Special ConsiderationsA SpectralB SpectralC S

Seite 20 - Running the Application

6: Functions Reference013-RD000-000-12- 201010 19Call -- UserFunctionInvocationSyntax: Call MyProcedureArgumentsName Type Spec

Seite 21 - Run Section

6: Functions Reference20 013-RD000-000-12- 201010Name Type Special ConsiderationsIN Operator for membershipOUTSID

Seite 22 - 4: Windows Scriptor Launcher

6: Functions Reference013-RD000-000-12- 201010 21CompSyntax: Comp(A,B,C)ArgumentsName Type Special ConsiderationsA SpectralB S

Seite 23

013-RD000-000-12- 201010 iiiTable of ContentsAbout This Manual...

Seite 24 - Jaz Mode

6: Functions Reference22 013-RD000-000-12- 201010ArgumentsName Type Special ConsiderationsA INT_16 or REAL variab

Seite 25 - Functions Reference

6: Functions Reference013-RD000-000-12- 201010 23Do … DoneSyntax: Do V SV,EV,SS DoneExample:Do I 1,10,1Sum := Sum + IDoneThis

Seite 26 - AssignLampType

6: Functions Reference24 013-RD000-000-12- 201010ArgumentsName Type Special ConsiderationsA INT_16 or REAL variab

Seite 27 - 6: Functions Reference

6: Functions Reference013-RD000-000-12- 201010 25Intent: Fetch current value of light source bulb intensity setting.GetLampShu

Seite 28

6: Functions Reference26 013-RD000-000-12- 201010ArgumentsName Type Special ConsiderationsLabel A labeled stateme

Seite 29 - Comp(A,B,C)

6: Functions Reference013-RD000-000-12- 201010 27ArgumentsName Type Special ConsiderationsLabel Name Tagged instruction in the

Seite 30 - Displaymsg

6: Functions Reference28 013-RD000-000-12- 201010Intent:Compute the element-wise logarithm base 10 of A and store

Seite 31 - Duplicate

6: Functions Reference013-RD000-000-12- 201010 29ArgumentsName Type Special ConsiderationsA SpectralB SpectralC Spectral Ci =

Seite 32 - GetLampIntensity

6: Functions Reference30 013-RD000-000-12- 201010ArgumentsName Type Special ConsiderationsButtonSelection INT_16

Seite 33 - GetSpectrum

6: Functions Reference013-RD000-000-12- 201010 31ArgumentsName Type Special ConsiderationsLabel A labeled statement in the scr

Seite 34

Table of Contentsiv 013-RD000-000-12- 201010Chapter 6: Functions Reference...

Seite 35

6: Functions Reference32 013-RD000-000-12- 201010Name Type Special ConsiderationsSequence INT_16 variable or lite

Seite 36

6: Functions Reference013-RD000-000-12- 201010 33ArgumentsName Type Special ConsiderationsA INT_16 or REAL variable or literal

Seite 37

6: Functions Reference34 013-RD000-000-12- 201010ReadRealVectorSyntax: ReadRealVector(F,V,Length)ArgumentsName Ty

Seite 38 - OnErrorGoto

6: Functions Reference013-RD000-000-12- 201010 35Intent:To read in a 2-dimensional array of real numbers from a file. The arra

Seite 39 - OpenFile

6: Functions Reference36 013-RD000-000-12- 201010SetDisplayPrecisionSyntax: SetDisplayPrecision(W,P)ArgumentsName

Seite 40

6: Functions Reference013-RD000-000-12- 201010 37ArgumentsName Type Special ConsiderationsL Integer variable or literal Lamp u

Seite 41

6: Functions Reference38 013-RD000-000-12- 201010ShowMenuSyntax: ShowMenu(s1{,s2,s3,s4})Where: s = a string or a

Seite 42

6: Functions Reference013-RD000-000-12- 201010 39ArgumentsName Type Special ConsiderationsA SpectralB SpectralC Spectral A -B

Seite 43 - Savereading

6: Functions Reference40 013-RD000-000-12- 201010ArgumentsName Type Special ConsiderationsA SpectralV Integer val

Seite 44 - SetLampIntensity

6: Functions Reference013-RD000-000-12- 201010 41WriteSpectrumSyntax: WriteSpectrum(F,A)ArgumentsName Type Special Considerati

Seite 45 - ShowGraph

Table of Contents013-RD000-000-12- 201010 vScale ...

Seite 46 - ShowMenu

6: Functions Reference42 013-RD000-000-12- 201010

Seite 47 - WaveLength

013-RD000-000-12- 201010 43Appendix AExample ScriptsBare Script TemplateSCRIPT Testing1VERSION 1.0.0VARIABLES /////////////////

Seite 48 - WriteFile

A: Example Scripts44 013-RD000-000-12- 201010A script must have a name and a 3-digit version number. As the produ

Seite 49 - WriteSpectrum

A: Example Scripts013-RD000-000-12- 201010 45//// Set the integration time //Display("Setting$Integration$time to$"

Seite 50

A: Example Scripts46 013-RD000-000-12- 201010////////////////////////////////////////////////////////////////////

Seite 51 - Example Scripts

A: Example Scripts013-RD000-000-12- 201010 47FiveSpectrumDark SPECTRALSixSpectrumDark SPECTRALSevenSpectrumDark SPECTRALEightS

Seite 52 - A: Example Scripts

A: Example Scripts48 013-RD000-000-12- 201010SixBaseRatio REALSixPeakAbsorbance REALSixBaseAbsorbance REALSixAbso

Seite 53

A: Example Scripts013-RD000-000-12- 201010 49Slope1 REALSlope2 REALSlope3 REALSlope4 REALSlope5 REALSlope6 REALSlopeSum REALim

Seite 54

A: Example Scripts50 013-RD000-000-12- 201010LightPeak INT_16MaxPeak INT_16QuickPeak INT_16FivePeak INT_16SixPeak

Seite 55

A: Example Scripts013-RD000-000-12- 201010 51Light1 := 4000LABEL LightLoopSetLampIntensity(0,ALLBULBS,Light1)GetSpectrum(0,Lig

Seite 56

Table of Contentsvi 013-RD000-000-12- 201010

Seite 57

A: Example Scripts52 013-RD000-000-12- 201010Call RefreshGOTO TOPLABEL QUITDisplayMsg("Ending$Session")

Seite 58

A: Example Scripts013-RD000-000-12- 201010 53LABEL TOPShowMenu("Standardize","View pH","Refresh pK&qu

Seite 59

A: Example Scripts54 013-RD000-000-12- 201010Pause(1)GetSpectrum(0,DarkSpectrum)DisplayMsg("Taking Dark$Refe

Seite 60

A: Example Scripts013-RD000-000-12- 201010 55OpenFile(LowFile, ForWrite)WriteSpectrum(LowFile,LowpHSpectrumDark)CloseFile(LowF

Seite 61

A: Example Scripts56 013-RD000-000-12- 201010GOTO EXITLABEL Manual//Not yet a feature in ScriptorDisplayMsg("

Seite 62

A: Example Scripts013-RD000-000-12- 201010 57QuickAbsorbance1 := QuickPeakAbsorbance1 - QuickBaseAbsorbanceif(QuickAbsorbance1

Seite 63

A: Example Scripts58 013-RD000-000-12- 201010DisplayMsg("Make sure Dark,$Low, and Max Refs$have been taken&q

Seite 64

A: Example Scripts013-RD000-000-12- 201010 59GOTO FullMenuLABEL EightDisplayMsg("pH = 8 Buffer$Should Be$Present")Pa

Seite 65

A: Example Scripts60 013-RD000-000-12- 201010Display("pK = ",pK,"")Pause(2)Display("Slop

Seite 66

A: Example Scripts013-RD000-000-12- 201010 61[PROCESS CalculatepH]//Gets sample spectrum, calculates and displays pH, returns

Seite 67

013-RD000-000-12- 201010 viiAbout This ManualDocument Purpose and Intended AudienceThis document provides you with instructions to install and use the

Seite 68

A: Example Scripts62 013-RD000-000-12- 201010

Seite 69

013-RD000-000-12- 201010 63IndexAACOS, 17Adapt, 17Add, 17architecture, 3arithmetic, 5ASIN, 18AssignLampType, 18Bbuilt-in variab

Seite 70

A: Example Scripts64 013-RD000-000-12- 201010POW, 32Prompt, 33Ratio, 33ReadRealVector, 34ReadTable, 34Savereading

Seite 71

Index013-RD000-000-12- 201010 65template, 43TEXT literals, 5user-defined procedures, 6variable declaration, 3scripting enginea

Seite 72

A: Example Scripts66 013-RD000-000-12- 201010

Seite 73

About This Manualviii 013-RD000-000-12- 201010

Seite 74

013-RD000-000-12- 201010 1Chapter 1IntroductionOverviewJaz is a community of smart sensing instruments that consists of a high-

Kommentare zu diesen Handbüchern

Keine Kommentare