EasyManuals Logo
Home>Campbell>Measuring Instruments>CR1000

Campbell CR1000 User Manual

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
Page #546 background imageLoading...
Page #546 background image
Appendix A. CRBasic Programming Instructions
[ExitDo]
[statementblock]
Loop [{While | Until} condition]
EndSequence
Ends a sequence that starts at BeginProg or SlowSequence. An optional
instruction in many applications.
Syntax
EndSequence
Exit
Exits program.
Syntax
Exit
For / To / Step / ExitFor / Next
Repeats a group of instructions for a specified number of times.
Syntax
For counter = start To end [ Step increment ]
[statement block]
[ExitFor]
[statement block]
Next [counter [, counter][, ...]]
If / Then / Else / ElseIf / EndIf
Programs into or around a segment of code conditional on the evaluation of an
expression. Else is optional. ElseIf is optional. Note that EndSelect and EndIf
call the same function.
Syntax
If [condition] Then [thenstatements] Else [elsestatements]
-or-
If [condition 1] Then
[then statements]
ElseIf [condition 2] Then
[elseif then statements]
Else
[else statements]
EndIf
Scan / ExitScan / ContinueScan / NextScan
Establishes the program scan rate. ExitScan and ContinueScan are optional. See
Measurement: Faster Analog Rates
(p. 229) for information on use of Scan() /
NextScan in burst measurements.
546

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Campbell CR1000 and is the answer not in the manual?

Campbell CR1000 Specifications

General IconGeneral
BrandCampbell
ModelCR1000
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals