Campbell Scientific CR3000 Micrologger User Manual

Page 494

Advertising
background image

Appendix A. CRBasic Programming Instructions

494 

 

 

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 CR3000 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)

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 CR3000 uses to clock SDM data. 

Syntax 

SDMSpeed(BitPeriod)

SDMSW8A 
Controls and reads an SDM‐SW8A. 

Syntax 

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

Offset)

Advertising