Keithley DAQ6510 User Manual page 94

Data acquisition and multimeter system
Hide thumbs Also See for DAQ6510:
Table of Contents

Advertisement

DAQ6510 Data Acquisition / Multimeter System User's Manual
Pseudocode
DAQ6510
Pseudocode
DAQ6510
Pseudocode
DAQ6510
DAQ6510-900-01Rev. A / April 2018
ROUT:SCAN:CRE (@101:120)
chanCnt =
ROUTe:SCAN:COUNt:STEP?
sampleCnt = scanCnt * chanCnt
INIT
for i = 1, i < sampleCnt
delay 500
actualRdgs = TRACe:ACTual?
rcvBuffer = "TRACe:DATA? i,
actualRdgs, "defbuffer1",
READ
WriteReadings("C:\myData.csv"
, rcvBuffer)
i = actualRdgs + 1
end for
timer1.stop()
timer1.stop – timer1.start
DISP:LIGH:STAT ON100
Section 9: Speed scanning for increased test throughput
Set the scan list
Query the channel count
Calculate the number of readings
taken
Initiate the scan
Setup a loop from one up to
sampleCnt, but leave the
incrementing of i for later
Delay for 500 ms to allow readings
to accumulate
Query the actual readings captured
Query the readings available from i
to the value of actualRdgs
Write the extracted readings to a
file, myData.csv, on the local
computer
Increment i for the next loop pass
End the for loop
Stop the timer
Calculate the elapsed time
Turn the display back on
9-5

Advertisement

Table of Contents
loading

Table of Contents