Specifications
Section 10. CRBASIC Programming Instructions
10-9
Slow Sequence
Marks the beginning of a section of code that will run concurrently with the
main program.
Syntax
SlowSequence
SubScan … NextSubScan
Controls a multiplexer or measures some analog inputs at a faster rate than the
program scan.
Syntax
SubScan (SubInterval, Units, Count)
Measurements and processing
NextSubScan
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
10.4.2 Advanced 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 [VarExpr]
Restore
Read
Reads constants from the list defined by Data or DataLong into a variable
array.
Syntax
Read [VarExpr]