Signametrics
44
MMSetBuffTrigRead(nDmm, 4, nReadings, NegEdge)
‘ Use 4 settling readings each
CANAutoScan(nScan, nSteps)
‘
Set
off
AutoScan
‘ read values stored in the buffer
Dmm, reading(I))
‘ Store each reading
r()
and
DMMReadBufferStr()
.
g to figure 4.20, the total time it takes the DMM make a reading must be set to be shorter
than t-Delay, for
letion of the measurem
e selection of the next channel.
D
S
While DMMReady(nDmm) = NO
‘ wait for the DMM to indicate completion
end
W
For I = 0 to nReadings -1
while(DMMReadBuffer(n
Next
SCANOpenAllChannels(nScan)
‘ Good idea to open all channels when done
While SCANReady(nScan) = NO
‘ Since AutoScan is a polled operation,
DoEvents
'
Make
sure
Scanner
is
ready
Wend
There are several SMX2040 family commands to considered for this operation:
DMMSetTrigRead()
,
DMMSetBuffTrigRead()
,
DMMReadMeasurement()
,
DMMReady()
,
DMMReadBuffe
Referrin
comp
ents prior to th
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com