Skip to content

Commit 7f7b970

Browse files
committed
Delete unused db files.
1 parent 628e48d commit 7f7b970

21 files changed

+14
-295
lines changed

PSApp/Db/CurrentPS.db

Lines changed: 0 additions & 15 deletions
This file was deleted.

PSApp/Db/DigitalBumpPS.db

Lines changed: 0 additions & 14 deletions
This file was deleted.

PSApp/Db/Makefile

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,6 @@ include $(TOP)/configure/CONFIG
44
# ADD MACRO DEFINITIONS BELOW HERE
55

66
# Install databases, templates & substitutions like this
7-
DB += circle.db
8-
DB += dbExample1.db
9-
DB += dbExample2.db
10-
DB += PSVersion.db
11-
DB += dbSubExample.db
12-
DB += user.substitutions
13-
DB += PS.db
14-
DB += CurrentPS.db
15-
DB += dbExtratorHV.db
16-
DB += digitalRampingPSInt.db
17-
DB += dbPSRampingInfo.db
18-
DB += digitalPSInt.db
19-
DB += dbui.db
20-
DB += DigitalBumpPS.db
21-
DB += digitalDCPSInt.db
22-
DB += digitalScanPSInt.db
23-
DB += dbDPRAMwv.db
24-
DB += dbAPMPS.db
25-
DB += dbHarmonicPSsoft.db
267
DB += ramping_ps.substitutions
278
DB += dc_ethernet_ps.substitutions
289
DB += dc_serial_ps.substitutions

PSApp/Db/PS.db

Lines changed: 0 additions & 14 deletions
This file was deleted.

PSApp/Db/PSVersion.db

Lines changed: 0 additions & 6 deletions
This file was deleted.

PSApp/Db/dbAPMPS.db

Lines changed: 0 additions & 12 deletions
This file was deleted.

PSApp/Db/dbDPRAMwv.db

Lines changed: 0 additions & 8 deletions
This file was deleted.

PSApp/Db/dbDigitalDCSerialPS.db

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
record(DigitalDCPSao, "$(AREA):$(PS_SN):$(FUNC)")
1+
record(DigitalDCPSao, "$(AREA):$(PS_SN):AI")
22
{
33
field(DESC, "Send command to ps device")
44
field(IP_ADDR, "$(IP)")
55
field(PORT, "$(PORT)")
66
field(DEV_CHAN, "01")
77
field(DTYP, "Digital DC PS INTR")
88
field(PREC, "4")
9-
field(LCOMM, "$(FUNC)")
9+
field(LCOMM, "AI")
1010
field(SCAN, "I/O Intr")
1111
field(OUT, "@$(PARM)")
12-
field(OUT1, "$(OUT1) PP")
12+
field(OUT1, "$(AREA):$(PS_SN):error.INFORMCODE PP")
1313
}
1414

1515
record(Informin, "$(AREA):$(PS_SN):error")

PSApp/Db/dbExample1.db

Lines changed: 0 additions & 62 deletions
This file was deleted.

PSApp/Db/dbExample2.db

Lines changed: 0 additions & 40 deletions
This file was deleted.

PSApp/Db/dbExtratorHV.db

Lines changed: 0 additions & 6 deletions
This file was deleted.

PSApp/Db/dbHarmonicPSsoft.db

Lines changed: 0 additions & 11 deletions
This file was deleted.

PSApp/Db/dbPSRampingInfo.db

Lines changed: 0 additions & 6 deletions
This file was deleted.

PSApp/Db/dbRampingPS.db

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ record(ps, "$(AREA):$(PS_SN)")
99
field(NELM, "160000")
1010
field(FTVL, "FLOAT")
1111
field(DTYPE, "$(DTYPE)")
12-
field(INP, "$(INP)")
13-
field(OUT, "$(OUT)")
12+
field(INP, "$(AREA):$(PS_SN):AI.STATE")
13+
field(OUT, "$(AREA):$(PS_SN):AI.COMMAND")
1414
}
15-
record(DigitalDCPSao, "$(AREA):$(PS_SN):$(FUNC)")
15+
record(DigitalDCPSao, "$(AREA):$(PS_SN):AI")
1616
{
1717
field(DESC, "Send command to ps device")
1818
field(IP_ADDR, "$(IP)")
1919
field(PORT, "$(PORT)")
2020
field(DEV_CHAN, "01")
2121
field(DTYP, "Digital Ramping PS")
2222
field(PREC, "4")
23-
field(LCOMM, "$(FUNC)")
23+
field(LCOMM, "AI")
2424
field(SCAN, "I/O Intr")
2525
field(OUT, "@$(PARM)")
26-
field(OUT1, "$(OUT1) PP")
26+
field(OUT1, "$(AREA):$(PS_SN):error.INFORMCODE PP")
2727
}
2828
record(Informin, "$(AREA):$(PS_SN):error")
2929
{

PSApp/Db/dbSubExample.db

Lines changed: 0 additions & 13 deletions
This file was deleted.

PSApp/Db/dbui.db

Lines changed: 0 additions & 5 deletions
This file was deleted.

PSApp/Db/digitalDCPSInt.db

Lines changed: 0 additions & 14 deletions
This file was deleted.

PSApp/Db/digitalPSInt.db

Lines changed: 0 additions & 13 deletions
This file was deleted.

PSApp/Db/digitalRampingPSInt.db

Lines changed: 0 additions & 13 deletions
This file was deleted.

PSApp/Db/digitalScanPSInt.db

Lines changed: 0 additions & 13 deletions
This file was deleted.

README

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
在st.cmd中,需根据电源配置参数,主要参数有电源协议版本,底层IOC的IP地址,对应电源的端口号
2-
dbLoadRecords "db/PS.db", "domain=30S05,IP=10.10.83.86,PORT=40056,DTYPE=0"
3-
如果版本未配置,默认4.0协议,DTYPE=0为数字电源,DTYPE=1为模拟电源, DTYPE=2为加载波形数据中点值直接为电流值的脉冲数字电源
1+
# HIRFL Power Supply IOC (Docker version)
2+
## 1. Introduction
3+
This is a docker version of HIRFL Power Supply IOC. It is based on the EPICS base 7. The IOC is used to control the power supply of HIRFL-CSR. The power supply is controlled by the EPICS IOC through the Ethernet. The IOC is running on a Debian 11 system.
4+
## 2. How to build the docker image
5+
### 2.1. Clone the repository
6+
47

0 commit comments

Comments
 (0)