
Section 10. CRBASIC Programming Instructions
10-15
10.5.10 Peripheral Device Support
Multiple SDM instructions can be used within a program.
AM25T
Controls the AM25T Multiplexer.
Syntax
AM25T (Dest, Reps, Range, AM25TChan, DiffChan, TCType, Tref,
ClkPort, ResPort, VxChan, RevDiff, SettlingTime, Integ, Mult,
Offset)
SDMAO4
Sets output voltage levels in an SDM-AO4 analog output device.
Syntax
SDMAO4 (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)
SDMCVO4
Control the SDM-CVO4 four channel current/voltage output device.
Syntax
SDMCVO4 (CVO4Source, CVO4Reps, SDMAddress, CVO4Mode)
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 CR1000 uses to clock SDM data.
Syntax
SDMSpeed (BitPeriod)
Commentaires sur ces manuels