Campbell-scientific CR800 and CR850 Measurement and Control Systems Instrukcja Użytkownika Strona 453

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 452
Appendix A. CRBasic Programming Instructions
453
ReadOnly
Flagsacommaseparatedlistofvariables(PublicorAliasname)asreadonly.
Syntax
ReadOnly [variable1, variable2, ...]
Units
Assignsaunitnametoafieldassociatedwithavariable.
Syntax
Units [variable] = [unit name]
A.1.2 Constant Declarations
Const
Declaressymbolicconstantsforuseinplaceofnumericentries.
Syntax
Const [constant name] = [value or expression]
ConstTable/EndConstTable
Declaresconstants,thevalueofwhichcanbechangedusingtheexternal
keyboard/displayorterminalCoption.Theprogramisrecompiledwiththenew
valueswhenvalueschange.SeeConstants
(p.122).
Syntax
ConstTable
[constant a] = [value]
[constant b] = [value]
[constant c] = [value]
EndConstTable
A.2 Data-Table Declarations
DataTable/EndTable
Markthebeginningandendofadatatable.
Syntax
DataTable(Name, TrigVar, Size)
[data table modifiers]
[on-line storage destinations]
[output processing instructions]
EndTable
DataTime
Declarationwithinadatatablethatallowstimestampingwithsystemtime.
Syntax
DataTime(Option)
A.2.1 Data-Table Modifiers
DataEvent
Setstriggerstostartandstopstoringrecordswithinatable.Oneapplicationis
withWorstCase.
Syntax
DataEvent(RecsBefore, StartTrig, StopTrig, RecsAfter)
Przeglądanie stron 452
1 2 ... 448 449 450 451 452 453 454 455 456 457 458 ... 565 566

Komentarze do niniejszej Instrukcji

Brak uwag