Campbell-scientific CR800 and CR850 Measurement and Control Systems Uživatelský manuál Strana 484

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 566
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 483
Appendix A. CRBasic Programming Instructions
484
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 483
1 2 ... 479 480 481 482 483 484 485 486 487 488 489 ... 565 566

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

Žádné komentáře