EasyManua.ls Logo

Campbell CR850 - Advanced Program Controls

Campbell CR850
566 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
460
WaitDigTrig
Triggersameasurementscanfromanexternaldigitaltrigger.
Syntax
WaitDigTrig(ControlPort, Option)
While/Wend
Executeaseriesofstatementsinaloopaslongasagivenconditionistrue.
Syntax
While [condition]
[StatementBlock]
Wend
A.4.2 Advanced Program Controls
Data/Read/Restore
DefinesalistofFloatconstantstoberead(usingRead)intoavariablearraylater
intheprogram.
Syntax
Data [list of constants]
Read [VarExpr]
Restore
DataLong/Read/Restore
DefinesalistofLongconstantstoberead(usingRead)intoavariablearraylater
intheprogram.
Syntax
DataLong [list of constants]
Read [VarExpr]
Restore
Read
ReadsconstantsfromthelistdefinedbyDataorDataLongintoavariablearray.
Syntax
Read [VarExpr]
Restore
ResetsthelocationoftheReadpointerbacktothefirstvalueinthelistdefined
byDataorDataLong.
Syntax
Restore
SemaphoreGet
Acquiressemaphore
(p.442)13toavoidresourceconflicts.
Syntax
SemaphoreGet()
SemaphoreRelease
Releasessemaphore
(p.442)previouslyacquiredwithSemaphoreGet().
Syntax
SemaphoreRelease()

Table of Contents

Related product manuals