Campbell Scientific CR1000 Measurement and Control System User Manual
Page 491

Appendix A. CRBasic Programming Instructions
491
MuxSelect
Selects the specified channel on a multiplexer.
Syntax
MuxSelect(ClkPort, ResPort, ClkPulseWidth, MuxChan, Mode)
SDMAO4
Sets output voltage levels in an SDM‐AO4 analog output device.
Syntax
SDMAO4(Source, Reps, SDMAdress)
SDMAO4A
Sets output voltage levels in an SDM‐AO4A analog output device.
Syntax
SDMAO4A(Source, Reps, SDMAdress)
SDMCAN
Reads and controls an SDM‐CAN interface.
Syntax
SDMCAN(Dest, SDMAddress, TimeQuanta, TSEG1, TSEG2, ID,
DataType,
SDMCD16AC
Controls an SDM‐CD16AC, SDM‐CD16, or SDM‐CD16D control device.
Syntax
SDMCD16AC(Source, Reps, SDMAddress)
SDMCD16Mask
Controls an SDM‐CD16AC, SDM‐CD16, or SDM‐CD16D control device. Unlike the
SDMCD16AC, it allows the CR1000 to select the ports to activate via a mask.
Commonly used with TimedControl().
Syntax
SDMCD16Mask(Source, Mask, SDMAddress)
SDMCVO4
Control the SDM‐CVO4 four‐channel, current/voltage output device.
Syntax
SDMCVO4(CVO4Source, CVO4Reps, SDMAddress, CVO4Mode)
SDMGeneric
Sends commands to an SDM device that is otherwise unsupported in the
operating system.
Syntax
SDMGeneric(Dest, SDMAddress, CmdByte, NumvaluesOut, Source,
NumValuesIn, BytesPerValue, BigEndian, DelayByte)
SDMINT8
Controls and reads an SDM‐INT8.
Syntax
SDMINT8(Dest, Address, Config8_5, Config4_1, Funct8_5,
Funct4_1, OutputOpt, CaptureTrig, Mult, Offset)