EasyManua.ls Logo

Campbell CR1000 - Advanced Program Controls

Campbell CR1000
678 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A. CRBasic Programming Instructions
WaitTriggerSequence
Used with TriggerSequence to control the execution of code within a slow
sequence.
Syntax
WaitTriggerSequence
WaitDigTrig
Triggers a measurement scan from an external digital trigger.
Syntax
WaitDigTrig(ControlPort, Option)
While / Wend
Execute a series of statements in a loop as long as a given condition is true.
Syntax
While [condition]
[StatementBlock]
Wend
A.4.2 Advanced Program Controls
Data / Read / Restore
Defines a list of FLOAT constants to be read (using Read) into a variable array
later in the program.
Syntax
Data [list of constants]
Read [VarExpr]
Restore
DataLong / Read / Restore
Defines a list of LONG constants to be read (using Read) into a variable array
later in the program.
Syntax
DataLong [list of constants]
Read [Variable Expression]
Restore
IfTime
Returns a number indicating True (-1) or False (0) based on the CR1000 real-
time clock.
Syntax
If (IfTime(TintoInt, Interval, Units)) Then
-or-
548

Table of Contents

Related product manuals