Campbell-scientific CR1000 Measurement and Control System Uživatelský manuál Strana 483

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 588
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 482
Appendix A. CRBasic Programming Instructions
483
SemaphoreGet
Acquiressemaphore
(p.465)13toavoidresourceconflicts.
Syntax
SemaphoreGet()
SemaphoreRelease
Releasessemaphore
(p.465)previouslyacquiredwithSemaphoreGet().
Syntax
SemaphoreRelease()
ShutDownBegin
Beginscodetoberunintheeventofanormalshutdownsuchaswhensendinga
newprogram.
Syntax
ShutDownBegin
ShutDownEnd
Endscodetoberunintheeventofanormalshutdownsuchaswhensendinga
newprogram.
Syntax
ShutDownEnd
A.5 Measurement Instructions
Read More! For information on recording data from RS-232 and TTL output
sensors, see Serial Input / Output (p. 509) and Serial I/O (p. 200).
A.5.1 Diagnostics
Battery
Measuresinputvoltage.
Syntax
Battery(Dest)
ComPortIsActive
ReturnsaBooleanvalue,basedonwhetherornotactivityisdetectedonthe
specifiedCOMport.
Syntax
variable = ComPortIsActive(ComPort)
InstructionTimes
Returnstheexecutiontimeofeachinstructionintheprogram.
Syntax
InstructionTimes(Dest)
MemoryTest
PerformsatestontheCR1000CPUandTaskmemoryandstoretheresultsina
variablearray.
Syntax
MemoryTest(Dest)
Zobrazit stránku 482
1 2 ... 478 479 480 481 482 483 484 485 486 487 488 ... 587 588

Komentáře k této Příručce

Žádné komentáře