Appendix A. CRBasic Programming Instructions
470
SDMSIO4
Controlsandtransmits/receivesdatafromanSDM‐SIO4Interface.
Syntax
SDMSIO4(Dest, Reps, SDMAddress, Mode, Command, Param1,
Param2, ValuesPerRep, Multiplier, Offset)
SDMSpeed
ChangestheratetheCR800usestoclockSDMdata.
Syntax
SDMSpeed(BitPeriod)
SDMSW8A
ControlsandreadsanSDM‐SW8A.
Syntax
SDMSW8A(Dest, Reps, SDMAddress, FunctOp, SW8AStartChan, Mult,
Offset)
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
sequencerenablingSDM‐CD16xcontroleventstooccurataprecisetime.See
theappendixRelayDrivers
(p.541).
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. 451) )
sets math functions to use degrees instead of radians.