Commit fd40b3f6 authored by Nicklas Holmberg's avatar Nicklas Holmberg
Browse files

Update st.iocsh

parent bbfba680
......@@ -55,34 +55,37 @@ iocshLoad("./iocsh/evr-run.iocsh", "IOC=$(IOC), DEV=$(DEV)")
#dbpf $(IOC)-$(DEV):DC-Tgt-SP 10000
#dbpf $(IOC)-$(DEV):DC-Ena-Sel "Enable"
##### Set the FIFO buffer retrieval period. Default is 0.001 #####
var mrmEvrFIFOPeriod 0.001
######### INPUTS #########
# Set up of UnivIO 0 as Input. Generate Code 10 locally on rising edge.
dbpf $(IOC)-$(DEV):In0-Lvl-Sel "Active High"
dbpf $(IOC)-$(DEV):In0-Edge-Sel "Active Rising"
dbpf $(IOC)-$(DEV):OutFPUV00-Src-SP 61
dbpf $(IOC)-$(DEV):In0-Trig-Ext-Sel "Off"
dbpf $(IOC)-$(DEV):In0-Code-Ext-SP 10
dbpf $(IOC)-$(DEV):In0-Trig-Ext-Sel "Edge"
dbpf $(IOC)-$(DEV):In0-Code-Ext-SP 20
# Set up of UnivIO 1 as Input. Generate Code 11 locally on rising edge.
dbpf $(IOC)-$(DEV):In1-Lvl-Sel "Active High"
dbpf $(IOC)-$(DEV):In1-Edge-Sel "Active Rising"
dbpf $(IOC)-$(DEV):OutFPUV01-Src-SP 61
dbpf $(IOC)-$(DEV):In1-Trig-Ext-Sel "Off"
dbpf $(IOC)-$(DEV):In1-Code-Ext-SP 11
dbpf $(IOC)-$(DEV):In1-Trig-Ext-Sel "Edge"
dbpf $(IOC)-$(DEV):In1-Code-Ext-SP 21
# Set up of UnivIO 1 as Input. Generate Code 12 locally on rising edge.
dbpf $(IOC)-$(DEV):In2-Lvl-Sel "Active High"
dbpf $(IOC)-$(DEV):In2-Edge-Sel "Active Rising"
dbpf $(IOC)-$(DEV):OutFPUV02-Src-SP 61
dbpf $(IOC)-$(DEV):In2-Trig-Ext-Sel "Off"
dbpf $(IOC)-$(DEV):In2-Code-Ext-SP 12
dbpf $(IOC)-$(DEV):In2-Trig-Ext-Sel "Edge"
dbpf $(IOC)-$(DEV):In2-Code-Ext-SP 22
# Set up of UnivIO 1 as Input. Generate Code 13 locally on rising edge.
dbpf $(IOC)-$(DEV):In3-Lvl-Sel "Active High"
dbpf $(IOC)-$(DEV):In3-Edge-Sel "Active Rising"
dbpf $(IOC)-$(DEV):OutFPUV03-Src-SP 61
dbpf $(IOC)-$(DEV):In3-Trig-Ext-Sel "Off"
dbpf $(IOC)-$(DEV):In3-Code-Ext-SP 13
dbpf $(IOC)-$(DEV):In3-Code-Ext-SP 23
# Trig-Ext-Sel changed from "Off" to "Edge", Code-Ext-SP changed from 0 to 10
......@@ -91,7 +94,7 @@ dbpf $(IOC)-$(DEV):UnivIn0-Edge-Sel "Active Rising"
dbpf $(IOC)-$(DEV):OutFPUV00-Src-SP 61
dbpf $(IOC)-$(DEV):UnivIn0-Trig-Ext-Sel "Edge"
dbpf $(IOC)-$(DEV):UnivIn0-Trig-Back-Sel "Off"
dbpf $(IOC)-$(DEV):UnivIn0-Code-Ext-SP 10
dbpf $(IOC)-$(DEV):UnivIn0-Code-Ext-SP 20
dbpf $(IOC)-$(DEV):UnivIn0-Code-Back-SP 0
dbpf $(IOC)-$(DEV):UnivIn1-Lvl-Sel "Active High"
......@@ -99,7 +102,7 @@ dbpf $(IOC)-$(DEV):UnivIn1-Edge-Sel "Active Rising"
dbpf $(IOC)-$(DEV):OutFPUV01-Src-SP 61
dbpf $(IOC)-$(DEV):UnivIn1-Trig-Ext-Sel "Edge"
dbpf $(IOC)-$(DEV):UnivIn1-Trig-Back-Sel "Off"
dbpf $(IOC)-$(DEV):UnivIn1-Code-Ext-SP 11
dbpf $(IOC)-$(DEV):UnivIn1-Code-Ext-SP 21
dbpf $(IOC)-$(DEV):UnivIn1-Code-Back-SP 0
dbpf $(IOC)-$(DEV):UnivIn2-Lvl-Sel "Active High"
......@@ -107,7 +110,7 @@ dbpf $(IOC)-$(DEV):UnivIn2-Edge-Sel "Active Rising"
dbpf $(IOC)-$(DEV):OutFPUV02-Src-SP 61
dbpf $(IOC)-$(DEV):UnivIn2-Trig-Ext-Sel "Edge"
dbpf $(IOC)-$(DEV):UnivIn2-Trig-Back-Sel "Off"
dbpf $(IOC)-$(DEV):UnivIn2-Code-Ext-SP 12
dbpf $(IOC)-$(DEV):UnivIn2-Code-Ext-SP 22
dbpf $(IOC)-$(DEV):UnivIn2-Code-Back-SP 0
dbpf $(IOC)-$(DEV):UnivIn3-Lvl-Sel "Active High"
......@@ -115,7 +118,7 @@ dbpf $(IOC)-$(DEV):UnivIn3-Edge-Sel "Active Rising"
dbpf $(IOC)-$(DEV):OutFPUV03-Src-SP 61
dbpf $(IOC)-$(DEV):UnivIn3-Trig-Ext-Sel "Edge"
dbpf $(IOC)-$(DEV):UnivIn3-Trig-Back-Sel "Off"
dbpf $(IOC)-$(DEV):UnivIn3-Code-Ext-SP 13
dbpf $(IOC)-$(DEV):UnivIn3-Code-Ext-SP 23
dbpf $(IOC)-$(DEV):UnivIn3-Code-Back-SP 0
dbpf $(IOC)-$(DEV):EvtA-SP.OUT "@OBJ=$(EVR),Code=10"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment