Tektronix Keithley DMM7510 User Manual page 78

7 1/5 digit graphical sampling multimeter
Hide thumbs Also See for Keithley DMM7510:
Table of Contents

Advertisement

Section 9: Integrating with a Model 3706A-S using TSP-Link
muxChannels = {}
-- DCV 1.
muxChannels[1] = "1001:1020"
-- DCV 2.
muxChannels[2] = "1021:1030"
-- ACV.
muxChannels[3] = "1031:1040"
-- 4W RES.
muxChannels[4] = "4001:4020"
muxChannelsCount = {}
lastcount = 0
node[1].channel.setpole("4001:4020", 4)
node[1].channel.setbackplane("1001:1020", "1911")
node[1].channel.setbackplane("1021:1030", "1921")
node[1].channel.setbackplane("1031:1040", "1921")
node[1].channel.setbackplane("slot4", "4911, 4922")
-- Get channel count for each measurement configuration.
for i = 1, table.getn(muxChannels) do
node[1].scan.add(muxChannels[i])
muxChannelsCount[i] = node[1].scan.stepcount - lastcount
lastcount = node[1].scan.stepcount
end
-- Define the number of times the scan will run.
node[1].scan.scancount = 1
node[1].scan.bypass = node[1].scan.ON
node[1].scan.mode = node[1].scan.MODE_FIXED_ABR
--[[
Create a DMM7510 trigger model that will wait for an input trigger from 3760A-S indicating
a channel is closed before making a measurement. An output trigger will be sent to
the 3706A-S from the DMM7510 upon completing the measurement before closing another
the channel.
]]
node[2].defbuffer1.capacity = node[1].scan.stepcount
node[2].trigger.model.setblock(1, node[2].trigger.BLOCK_CONFIG_RECALL,
"myScanConfigList", 1)
node[2].trigger.model.setblock(2, node[2].trigger.BLOCK_WAIT,
node[2].trigger.EVENT_TSPLINK1)
node[2].trigger.model.setblock(3, node[2].trigger.BLOCK_MEASURE_DIGITIZE)
node[2].trigger.model.setblock(4, node[2].trigger.BLOCK_NOTIFY,
node[2].trigger.EVENT_NOTIFY1)
node[2].trigger.model.setblock(5, node[2].trigger.BLOCK_BRANCH_COUNTER,
muxChannelsCount[1], 2)
node[2].trigger.model.setblock(6, node[2].trigger.BLOCK_CONFIG_NEXT,
"myScanConfigList")
node[2].trigger.model.setblock(7, node[2].trigger.BLOCK_WAIT,
node[2].trigger.EVENT_TSPLINK1)
node[2].trigger.model.setblock(8, node[2].trigger.BLOCK_MEASURE_DIGITIZE)
node[2].trigger.model.setblock(9, node[2].trigger.BLOCK_NOTIFY,
node[2].trigger.EVENT_NOTIFY1)
node[2].trigger.model.setblock(10, node[2].trigger.BLOCK_BRANCH_COUNTER,
muxChannelsCount[2], 7)
node[2].trigger.model.setblock(11, node[2].trigger.BLOCK_CONFIG_NEXT,
"myScanConfigList")
node[2].trigger.model.setblock(12, node[2].trigger.BLOCK_WAIT,
node[2].trigger.EVENT_TSPLINK1)
node[2].trigger.model.setblock(13, node[2].trigger.BLOCK_MEASURE_DIGITIZE)
9-8
Model DMM7510 7½ Digit Multimeter User's Manual
DMM7510-900-01 Rev. C / September 2019

Advertisement

Table of Contents
loading

Table of Contents