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

  • 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 505
Appendix A. CRBasic Programming Instructions
506
Date
Returnsaformatteddate/timestringoftypeLongderivedfromsecondssince
1990.
Syntax
Date(SecsSince1990, Option)
DaylightSaving
Definesdaylightsavingtime.Determinesifdaylightsavingtimehasbegunor
ended.Optionallyadvancesorturnsbackthedataloggerclockonehour.
Syntax
variable = DaylightSaving(DSTSet, DSTnStart, DSTDayStart,
DSTMonthStart, DSTnEnd, DSTDayEnd, DSTMonthEnd, DSTHour)
DaylightSavingUS
DetermineifUSdaylightsaving timehasbegunorended.Optionallyadvanceor
turnbackthedataloggerclockonehour.
Syntax
variable = DaylightSavingUS(DSTSet)
IfTime
ReturnsanumberindicatingTrue(1)orFalse(0)basedonthedatalogger'sreal
timeclock.
Syntax
If (IfTime(TintoInt, Interval, Units)) Then
-or-
Variable = IfTime(TintoInt, Interval, Units)
PakBusClock
SetsthedataloggerclocktotheclockofthespecifiedPakBusdevice.
Syntax
PakBusClock(PakBusAddr)
RealTime
Parsesyear,month,day,hour,minute,second,microsecond,dayofweek,
and/ordayofyearfromthedataloggerclock.
Syntax
RealTime(Dest)
SecsSince1990
Returnssecondselapsedsince1990.DataTypeisLONG.UsedwithGetRecord().
Syntax
SecsSince1990(date, option)
TimeIntoInterval
ReturnsanumberindicatingTrue(1)orFalse(0)basedonthedatalogger'sreal
timeclock.
Syntax
Variable = TimeIntoInterval(TintoInt, Interval, Units)
-or-
If TimeIntoInterval(TintoInt, Interval, Units)
Zobrazit stránku 505
1 2 ... 501 502 503 504 505 506 507 508 509 510 511 ... 587 588

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

Žádné komentáře