beautypg.com

Asin assignlamptype, Asin, Assignlamptype – Ocean Optics Jaz Scripting Language and Scripting Engine User Manual

Page 26

background image

6: Functions Reference

18

013-RD000-000-12- 201010

Arguments

Name

Type

Special Considerations

A

Spectral

B

Spectral

C

Spectral

A + B Pixel Values

Intent:

Add the pixel values of spectra A and B and store in C

ASIN

Syntax: ASin(A,B)
Arguments

Name

Type

Special Considerations

A

INT_16 or REAL variable or literal

B

REAL variable

B = arcsin(A)

AssignLampType

Syntax: AssignLampType(LAMP_CONSTANT,X)
Arguments

Name

Type

Special Considerations

LAMP_CONSTANT

INT_16

Built-in like UV_VIS

X

Integer variable

Intent:

If a lamp of the given type is present, set its X to its index number so that X can be used in controlling
the lamp. X = -1 if an instance of the lamp type is not present.