Campbell Scientific CR1000 Measurement and Control System User Manual

Page 492

Advertising
background image

Appendix A. CRBasic Programming Instructions

492 

 

 

SDMIO16 
Sets up and measures an SDM‐IO16 control‐port expansion device. 

Syntax 

SDMIO16(Dest, Status, Address, Command, Mode Ports 16-13,

Mode Ports 12-9, Mode Ports 8-5, Mode Ports 4-1, Mult,

Offset)

SDMSIO4 
Controls and transmits / receives data from an SDM‐SIO4 Interface. 

Syntax 

SDMSIO4(Dest, Reps, SDMAddress, Mode, Command, Param1,

Param2, ValuesPerRep, Multiplier, Offset)

SDMSpeed 
Changes the rate the CR1000 uses to clock SDM data. 

Syntax 

SDMSpeed(BitPeriod)

SDMSW8A 
Controls and reads an SDM‐SW8A. 

Syntax 

SDMSW8A(Dest, Reps, SDMAddress, FunctOp, SW8AStartChan, Mult,

Offset)

SDMTrigger 
Synchronize when SDM measurements on all SDM devices are made. 

Syntax 

SDMTrigger

SDMX50 
Allows individual multiplexer switches to be activated independently of the 
TDR100 instruction. 

Syntax 

SDMX50(SDMAddress, Channel)

TDR100 
Directly measures TDR probes connected to the TDR100 or via an SDMX50. 

Syntax 

TDR100(Dest, SDMAddress, Option, Mux/ProbeSelect, WaveAvg,

Vp, Points, CableLength, WindowLength, ProbeLength,
ProbeOffset, Mult, Offset)

TimedControl 
Allows a sequence of fixed values and durations to be controlled by the SDM task 
sequencer enabling SDM‐CD16x control events to occur at a precise time.  See 
the appendix Relay Drivers

 (p. 563).

 

Syntax 

TimedControl(Size, SyncInterval, IntervalUnits, DefaultValue,

CurrentIndex, Source, ClockOption

Advertising