print(" no totalizer channels")
end
if (slot[SlotNumber].startchannel.analogoutput == nil) and
(slot[SlotNumber].endchannel.analogoutput == nil) then
print(" no analog output channels")
else
print(" Start analog output channel is " ..
slot[SlotNumber].startchannel.analogoutput)
print(" End analog output channel is " ..
slot[SlotNumber].endchannel.analogoutput)
end
if (slot[SlotNumber].matrix == 1) then
print(" Channels on card are matrix type")
end
end
end
for x = 1,6 do
print("Checking card channels in slot " .. x)
CardChannels(x)
end
If the Series 3700A contains the following cards:
â–ª Slot 1: 3732
â–ª Slot 2: 3720
â–ª Slot 3: 3750
â–ª Slot 4: Empty
â–ª Slot 5: 3721
â–ª Slot 6: Empty
The output of this example is similar to:
Checking card channels in slot 1
no voltage channels
no amp channels
no digio channels
no totalizer channels
no analog output channels
Channels on card are matrix type
Checking card channels in slot 2
Start voltage channel is 1
End voltage channel is 60
no amp channels
no digio channels
no totalizer channels
no analog output channels
Checking card channels in slot 3
no voltage channels
no amp channels
Start digital i/o channel is 1
End digital i/o channel is 5
Start totalizer channel is 6
End totalizer channel is 9
Start analog output channel is 10
End analog output channel is 11
Checking card channels in slot 4
Slot is Empty
Checking card channels in slot 5