CRBasic Example 8: Controlling an AM16/32B multiplexer
Scan
(1,Min,3,0)
'Turn AM16/32B Multiplexer on, and advance to first channel
CDM_MuxSelect
(VOLT108,1,1,2,20,1,1)
LCount=0 'reset loop counter
SubScan
(0,uSec,32)
=1
'increment loop counter
'Differential measurement on the AM16/32B Multiplexer
CDM_VoltDiff
(VOLT108,1,MilliVolts(LCount),1,mV5000,1,True,5000,60,1.0,0)
'Switch to next AM16/32B Multiplexer channel
CDM_PulsePort
(VOLT108,1,1,20000)
NextSubScan
'Turn AM16/32B Multiplexer Off
CDM_SW5
(VOLT108,1,2,0,0)
Delay
(0,150,mSec)
'Call Data Tables and Store Data
CallTable
TenMin
NextScan
EndProg
VOLT 100 series
50