Campbell-scientific CR800 and CR850 Measurement and Control Systems Manual do Utilizador Página 453

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 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)
Vista de página 452
1 2 ... 448 449 450 451 452 453 454 455 456 457 458 ... 565 566

Comentários a estes Manuais

Sem comentários