... | @@ -64,23 +64,23 @@ More information about the device type |
... | @@ -64,23 +64,23 @@ More information about the device type |
|
- device type: "WR TDC STAMP"
|
|
- device type: "WR TDC STAMP"
|
|
- record type: "longin" or "waveform"
|
|
- record type: "longin" or "waveform"
|
|
|
|
|
|
example,
|
|
example,
|
|
**record(longin, "ET_WR8:TDC:CH0:LI") {
|
|
**record(longin, "ET_WR8:TDC:CH0:LI") {
|
|
field(DTYP, "WR TDC STAMP")
|
|
field(DTYP, "WR TDC STAMP")
|
|
field(SCAN, "I/O Intr")
|
|
field(SCAN, "I/O Intr")
|
|
field(INP, "@IF=0100,CH=0")
|
|
field(INP, "@IF=0100,CH=0")
|
|
field(TSE, "-2")
|
|
field(TSE, "-2")
|
|
field(MDEL, "-1")
|
|
field(MDEL, "-1")
|
|
}
|
|
}
|
|
record(waveform, "ET_WR8:TDC:CH0:WF") {
|
|
record(waveform, "ET_WR8:TDC:CH0:WF") {
|
|
field(DTYP, "WR TDC STAMP")
|
|
field(DTYP, "WR TDC STAMP")
|
|
field(SCAN, "I/O Intr")
|
|
field(SCAN, "I/O Intr")
|
|
field(INP, "@IF=0100,CH=0")
|
|
field(INP, "@IF=0100,CH=0")
|
|
field(NELM, "3")
|
|
field(NELM, "3")
|
|
field(FTVL, "ULONG")
|
|
field(FTVL, "ULONG")
|
|
field(TSE, "-2")
|
|
field(TSE, "-2")
|
|
field(MPST, "Always")
|
|
field(MPST, "Always")
|
|
}**
|
|
}**
|
|
In the case of the "login" type, the timing information of the input signal can be known in the TIME field. Its accuracy is a nano-second. More precise timing in the unit of a pico-second is stored in the VAL field.
|
|
In the case of the "login" type, the timing information of the input signal can be known in the TIME field. Its accuracy is a nano-second. More precise timing in the unit of a pico-second is stored in the VAL field.
|
|
|
|
|
|
All timestamp information is stored in the array in the case of the "waveform" type.
|
|
All timestamp information is stored in the array in the case of the "waveform" type.
|
... | @@ -90,36 +90,47 @@ The first element indicates the timing in the unit of a second. The precise timi |
... | @@ -90,36 +90,47 @@ The first element indicates the timing in the unit of a second. The precise timi |
|
- Device type: "WR TDC TERM"
|
|
- Device type: "WR TDC TERM"
|
|
- record type: "bi" or "bo"
|
|
- record type: "bi" or "bo"
|
|
|
|
|
|
example,
|
|
example,
|
|
**record(bo, "ET_WR8:TDC:CH0:TERM") {
|
|
**record(bo, "ET_WR8:TDC:CH0:TERM") {
|
|
field(DTYP, "WR TDC TERM")
|
|
field(DTYP, "WR TDC TERM")
|
|
field(OUT, "@IF=0100,CH=0")
|
|
field(OUT, "@IF=0100,CH=0")
|
|
field(ZNAM, "OFF")
|
|
field(ZNAM, "OFF")
|
|
field(ONAM, "50ohm")
|
|
field(ONAM, "50ohm")
|
|
field(FLNK, "ET_WR8:TDC:CH0:TERM:RB")
|
|
field(FLNK, "ET_WR8:TDC:CH0:TERM:RB")
|
|
}
|
|
}
|
|
record(bi, "ET_WR8:TDC:CH0:TERM:RB") {
|
|
record(bi, "ET_WR8:TDC:CH0:TERM:RB") {
|
|
field(DTYP, "WR TDC TERM")
|
|
field(DTYP, "WR TDC TERM")
|
|
field(INP, "@IF=0100,CH=0")
|
|
field(INP, "@IF=0100,CH=0")
|
|
field(ZNAM, "OFF")
|
|
field(ZNAM, "OFF")
|
|
field(ONAM, "50ohm")
|
|
field(ONAM, "50ohm")
|
|
field(PINI, "YES")
|
|
field(PINI, "YES")
|
|
}**
|
|
}**
|
|
Note, that the "bo" record is used for the setting while the "bi" record is its readback.
|
|
Note, that the "bo" record is used for the setting while the "bi" record is its readback.
|
|
|
|
|
|
- User offset
|
|
- User offset
|
|
- device type: "WR TDC OFFSET"
|
|
- device type: "WR TDC OFFSET"
|
|
- record type: "longin" or "longout"
|
|
- record type: "longin" or "longout"
|
|
|
|
|
|
example,
|
|
example,
|
|
**record(longout, "ET_WR8:TDC:CH0:OFFSET") {
|
|
**record(longout, "ET_WR8:TDC:CH0:OFFSET") {
|
|
field(DTYP, "WR TDC OFFSET")
|
|
field(DTYP, "WR TDC OFFSET")
|
|
field(OUT, "@IF=0100,CH=0")
|
|
field(OUT, "@IF=0100,CH=0")
|
|
field(FLNK, "ET_WR8:TDC:CH0:OFFSET:RB")
|
|
field(FLNK, "ET_WR8:TDC:CH0:OFFSET:RB")
|
|
}
|
|
}
|
|
record(longin, "ET_WR8:TDC:CH0:OFFSET:RB") {
|
|
record(longin, "ET_WR8:TDC:CH0:OFFSET:RB") {
|
|
field(DTYP, "WR TDC OFFSET")
|
|
field(DTYP, "WR TDC OFFSET")
|
|
field(INP, "@IF=0100,CH=0")
|
|
field(INP, "@IF=0100,CH=0")
|
|
field(PINI, "YES")
|
|
field(PINI, "YES")
|
|
}**
|
|
}**
|
|
Note, that the "longout" record is used for the setting while the "longin" record is its readback. |
|
Note, that the "longout" record is used for the setting while the "longin" record is its readback.
|
|
\ No newline at end of file |
|
|
|
|
|
---
|
|
|
|
Shell command in IOC
|
|
|
|
- Opening the device
|
|
|
|
**wrtdcOpen(PCI ID)**
|
|
|
|
- Making the device the enable status
|
|
|
|
- Should be implemented before **dbLoadRecords()**
|
|
|
|
- Setting the message level
|
|
|
|
**wrtdcDebug(level)**
|
|
|
|
- Time difference between TAI and UTC
|
|
|
|
**wrtdcTAIdiff(second)** |