Ocean-optics Jaz Scripting Language and Scripting Engine Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Zařízení Ocean-optics Jaz Scripting Language and Scripting Engine. Ocean Optics Jaz Scripting Language and Scripting Engine User Manual [en] Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 74
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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)
Zobrazit stránku 0
1 2 3 4 5 6 ... 73 74

Shrnutí obsahu

Strany 1 - Programming Guide

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

Strany 2 - Limit of Liability

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

Strany 3 - Table of Contents

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

Strany 4

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

Strany 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

Strany 6

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

Strany 7

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

Strany 8

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

Strany 9 - Introduction

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

Strany 10 - Operating System Support

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

Strany 11 - Architecture

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

Strany 12 - Example:

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

Strany 13 - Operators

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

Strany 14 - Main Program

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

Strany 15 - Built-In Variables

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

Strany 16

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

Strany 17 - Installation

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

Strany 18 - Transferring JSL to Jaz

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

Strany 19 - Windows Scriptor Launcher

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

Strany 20 - Running the Application

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

Strany 21 - Run Section

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

Strany 22 - 4: Windows Scriptor Launcher

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

Strany 23

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

Strany 24 - Jaz Mode

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

Strany 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

Strany 26 - AssignLampType

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

Strany 27 - 6: Functions Reference

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

Strany 28

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

Strany 29 - Comp(A,B,C)

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

Strany 30 - Displaymsg

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

Strany 31 - Duplicate

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

Strany 32 - GetLampIntensity

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

Strany 33 - GetSpectrum

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

Strany 34

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

Strany 35

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

Strany 36

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

Strany 37

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

Strany 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

Strany 39 - OpenFile

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

Strany 40

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

Strany 41

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

Strany 42

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

Strany 43 - Savereading

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

Strany 44 - SetLampIntensity

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

Strany 45 - ShowGraph

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

Strany 46 - ShowMenu

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

Strany 47 - WaveLength

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

Strany 48 - WriteFile

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

Strany 49 - WriteSpectrum

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

Strany 50

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

Strany 51 - Example Scripts

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

Strany 52 - A: Example Scripts

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

Strany 53

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

Strany 54

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

Strany 55

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

Strany 56

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

Strany 57

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

Strany 58

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

Strany 59

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

Strany 60

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

Strany 61

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

Strany 62

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

Strany 63

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

Strany 64

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

Strany 65

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

Strany 66

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

Strany 67

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

Strany 68

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

Strany 69

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

Strany 70

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

Strany 71

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

Strany 72

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

Strany 73

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

Strany 74

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

Komentáře k této Příručce

Žádné komentáře