Models 707B and 708B Switching Matrix Reference Manual
Section 2: General operation
707B-901-01 Rev. A / August 2010
2-107
A sample configuration script is shown in the following example.
--Auto created configuration script
Indicates that this was
created with the Create
Configuration Script feature
--Tue Jul 13 13:02:12 2010
Date and time stamp
if string.find(slot[1].idn, "7174") == nil then
print(
"Card installed in slot 1 needs to be a 7174.")
display.clear()
display.settext("Card installed in$N" ..
"$Bslot 1$R needs to be a $B7174$R")
Code that verifies that card
and slot are in agreement
else
reset()
Reset command
channel.setlabel("1A01", "FirstRowCol")
channel.setlabel("1A12", "LastRowCol")
channel.setlabel("1B01", "FirstNextRow")
channel.setlabel("1B12", "LastNextRow")
channel.pattern.setimage("1A01,1B01","Row1_2_col_1")
channel.pattern.setimage("1A02,1B02","Row1_2_col_2")
channel.pattern.setimage("1A03,1B03","Row1_2_col_3")
channel.pattern.setimage("1A04,1B04","Row1_2_col_4")
channel.pattern.setimage("1A05,1B05","Row1_2_col_5")
channel.pattern.setimage("1A06,1B06","Row1_2_col_6")
channel.pattern.setimage("1A07,1B07","Row1_2_col_7")
channel.pattern.setimage("1A08,1B08","Row1_2_col_8")
channel.pattern.setimage("1A09,1B09","Row1_2_col_9")
channel.pattern.setimage("1A10,1B10","Row1_2_col_10")
channel.pattern.setimage("1A11,1B11","Row1_2_col_11")
channel.pattern.setimage("1A12,1B12","Row1_2_col_12")
collectgarbage()
scan.trigger.channel.stimulus =
scan.trigger.EVENT_CHANNEL_READY
scan.create()
scan.mode = 0
scan.bypass = 1
scan.add("Row1_2_col_1")
scan.add("Row1_2_col_2")
scan.add("Row1_2_col_3")
scan.add("Row1_2_col_4")
scan.add("Row1_2_col_5")
scan.add("Row1_2_col_6")
scan.add("Row1_2_col_7")
scan.add("Row1_2_col_8")
scan.add("Row1_2_col_9")
scan.add("Row1_2_col_10")
scan.add("Row1_2_col_11")
scan.add("Row1_2_col_12")
Code that captures the
non-factory default settings
end