Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
nice
iocs
utg-evr-03
Commits
fd40b3f6
Commit
fd40b3f6
authored
Feb 11, 2020
by
Nicklas Holmberg
Browse files
Update st.iocsh
parent
bbfba680
Changes
1
Hide whitespace changes
Inline
Side-by-side
st.iocsh
View file @
fd40b3f6
...
...
@@ -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
1
0
dbpf
$(
IOC
)
-
$(
DEV
)
:In0-Trig-Ext-Sel
"
Edge
"
dbpf
$(
IOC
)
-
$(
DEV
)
:In0-Code-Ext-SP
2
0
# 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
1
1
dbpf
$(
IOC
)
-
$(
DEV
)
:In1-Trig-Ext-Sel
"
Edge
"
dbpf
$(
IOC
)
-
$(
DEV
)
:In1-Code-Ext-SP
2
1
# 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
1
2
dbpf
$(
IOC
)
-
$(
DEV
)
:In2-Trig-Ext-Sel
"
Edge
"
dbpf
$(
IOC
)
-
$(
DEV
)
:In2-Code-Ext-SP
2
2
# 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
1
3
dbpf
$(
IOC
)
-
$(
DEV
)
:In3-Code-Ext-SP
2
3
# 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
1
0
dbpf
$(
IOC
)
-
$(
DEV
)
:UnivIn0-Code-Ext-SP
2
0
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
1
1
dbpf
$(
IOC
)
-
$(
DEV
)
:UnivIn1-Code-Ext-SP
2
1
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
1
2
dbpf
$(
IOC
)
-
$(
DEV
)
:UnivIn2-Code-Ext-SP
2
2
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
1
3
dbpf
$(
IOC
)
-
$(
DEV
)
:UnivIn3-Code-Ext-SP
2
3
dbpf
$(
IOC
)
-
$(
DEV
)
:UnivIn3-Code-Back-SP 0
dbpf
$(
IOC
)
-
$(
DEV
)
:EvtA-SP.OUT
"@OBJ=
$(
EVR
)
,Code=10"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment