Campbell-scientific CR1000 Measurement and Control System Manual de usuario Pagina 506

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 588
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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)
Vista de pagina 505
1 2 ... 501 502 503 504 505 506 507 508 509 510 511 ... 587 588

Comentarios a estos manuales

Sin comentarios