mrfioc2  2.3.0
evg-seq-append.py
Go to the documentation of this file.
1 from org.csstudio.opibuilder.scriptUtil import PVUtil
2 
3 delay = display.getWidget("InsertDelay").getPropertyValue("text")
4 code = display.getWidget("InsertCode").getPropertyValue("text")
5 
6 table = display.getWidget("SeqSet").getTable()
7 
8 row = table.getRowCount()
9 
10 table.insertRow(row)
11 
12 table.setCellText(row, 0, delay)
13 table.setCellText(row, 1, code)