Campbell-scientific CR3000 Micrologger Manual do Utilizador Página 495

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 494
Appendix A. CRBasic Programming Instructions
495
SDMTrigger
SynchronizewhenSDMmeasurementsonallSDMdevicesaremade.
Syntax
SDMTrigger
SDMX50
Allowsindividualmultiplexerswitchestobeactivatedindependentlyofthe
TDR100instruction.
Syntax
SDMX50(SDMAddress, Channel)
TDR100
DirectlymeasuresTDRprobesconnectedtotheTDR100orviaanSDMX50.
Syntax
TDR100(Dest, SDMAddress, Option, Mux/ProbeSelect, WaveAvg,
Vp, Points, CableLength, WindowLength, ProbeLength,
ProbeOffset, Mult, Offset)
TimedControl
AllowsasequenceoffixedvaluesanddurationstobecontrolledbytheSDMtask
sequencerenablingSDMCD16xcontroleventstooccurataprecisetime.See
theappendixRelayDrivers
(p.565).
Syntax
TimedControl(Size, SyncInterval, IntervalUnits, DefaultValue,
CurrentIndex, Source, ClockOption
A.6 Processing and Math Instructions
A.6.1 Mathematical Operators
Note Program declaration AngleDegrees() (see Program Declarations (p. 475) )
sets math functions to use degrees instead of radians.
A.6.2 Arithmetic Operators
Table 119. Arithmetic Operators
Symbol Name Notes
^
Raise to power
Result is always promoted to a float
(p. 147) to avoid problems that
may occur when raising an integer to a negative power. However,
loss of precision occurs if result is > 24 bits.
For example:
(46340 ^ 2) will yield 2,147,395,584 (not precisely correct)
whereas,
(46340 * 46340) will yield 2,147,395,600 (precisely correct)
Simply use repeated multiplications instead of ^ operators when
full 32-bit precision is required.
Same functionality as PWR()
(p. 500) instruction.
*
Multiply
/
Divide Use INTDV()
(p. 500) to retain 32-bit precision
Vista de página 494
1 2 ... 490 491 492 493 494 495 496 497 498 499 500 ... 589 590

Comentários a estes Manuais

Sem comentários