beautypg.com

Chapter 6: functions reference, Acos adapt add, Chapter 6 – Ocean Optics Jaz Scripting Language and Scripting Engine User Manual

Page 25: Functions reference, Acos, Adapt

background image

013-RD000-000-12- 201010

17

Chapter 6

Functions Reference

ACOS

Syntax: ACos(A,B)
Arguments

Name

Type

Special Considerations

A

INT_16 or REAL variable or literal

B

REAL variable

B = arccos(A)

Adapt

Syntax:

Adapt(Channel)

Arguments

Name

Type

Special Considerations

Channel

Integer

Desired spectrometer channel

The algorithm begins with the built-in variables INTEGRATION_TIME_SECONDS and
INTEGRATION_TIME_NANOSEC as the integration time. It adjusts up or down by 100 each time a
failure occurs until a maximum/minimum limit is reached or the response to the request is successful. The
built-in variable assumes the value at that time.

Setting this value prior to making the call will allow for faster convergence.

Add

Syntax:

Add(A,B,C)