... | @@ -24,7 +24,7 @@ In this case, ID becomes **0100**. |
... | @@ -24,7 +24,7 @@ In this case, ID becomes **0100**. |
|
|
|
|
|
---
|
|
---
|
|
4. Create EPICS DB file
|
|
4. Create EPICS DB file
|
|
There are two types of the record.
|
|
There are two types of records.
|
|
The PCI ID is put on the **INP** field with channel number.
|
|
The PCI ID is put on the **INP** field with channel number.
|
|
**record(longin, "ET_WR8:TDC:CH0:LI") {
|
|
**record(longin, "ET_WR8:TDC:CH0:LI") {
|
|
field(DTYP, "WR TDC STAMP")
|
|
field(DTYP, "WR TDC STAMP")
|
... | @@ -59,3 +59,25 @@ wrtdcOpen(0100)** <- add |
... | @@ -59,3 +59,25 @@ wrtdcOpen(0100)** <- add |
|
$ sudo -E ./st.cmd**
|
|
$ sudo -E ./st.cmd**
|
|
|
|
|
|
---
|
|
---
|
|
|
|
More information about the device type
|
|
|
|
- timestamp
|
|
|
|
-- device type: "WR TDC STAMP"
|
|
|
|
-- record type: "longin" or "waveform"
|
|
|
|
|
|
|
|
example,
|
|
|
|
record(longin, "ET_WR8:TDC:CH0:LI") {
|
|
|
|
field(DTYP, "WR TDC STAMP")
|
|
|
|
field(SCAN, "I/O Intr")
|
|
|
|
field(INP, "@IF=0100,CH=0")
|
|
|
|
field(TSE, "-2")
|
|
|
|
field(MDEL, "-1")
|
|
|
|
}
|
|
|
|
record(waveform, "ET_WR8:TDC:CH0:WF") {
|
|
|
|
field(DTYP, "WR TDC STAMP")
|
|
|
|
field(SCAN, "I/O Intr")
|
|
|
|
field(INP, "@IF=0100,CH=0")
|
|
|
|
field(NELM, "3")
|
|
|
|
field(FTVL, "ULONG")
|
|
|
|
field(TSE, "-2")
|
|
|
|
field(MPST, "Always")
|
|
|
|
} |
|
|
|
\ No newline at end of file |