This repository has been archived by the owner on Nov 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
detint.cmd
173 lines (163 loc) · 19.2 KB
/
detint.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
drvAsynSerialPortConfigure ("$(COM1)", "/dev/ttyUSB2")
asynOctetSetInputEos ("$(COM1)",0,"\r\n")
asynOctetSetOutputEos ("$(COM1)",0,"\r\n")
asynSetOption ("$(COM1)", 0, "baud", "230400")
asynSetOption ("$(COM1)", 0, "bits", "8")
asynSetOption ("$(COM1)", 0, "parity", "none")
asynSetOption ("$(COM1)", 0, "stop", "1")
dbLoadRecords("detector_controls.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), SYNC_EVNT=16, TSU-OFF=50, CLK_RST_EVNT=15, TSL-OFF=51, EVR=EVR-01, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=0, REG=LPBK, DESC=loopback test register, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=1, SCAN=Passive, REG=GIT, DESC=git hash, PRO=ics-dg.proto")
dbLoadRecords("buildTime_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=2, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=3, SCAN=Passive, REG=ID-L, DESC=device ID_L, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=4, SCAN=Passive, REG=ID-M, DESC=device ID_M, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=5, SCAN=Passive, REG=ID-H, DESC=device ID_H, PRO=ics-dg.proto")
dbLoadRecords("reset_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=6, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=7, REG=ADC-SEL, DESC=ADC channel select, PRO=ics-dg.proto")
dbLoadRecords("oversampling.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=8, PRO=ics-dg.proto")
dbLoadRecords("sampling_mode.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=9, PRO=ics-dg.proto")
dbLoadRecords("threshold.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=10, CH=1, PRO=ics-dg.proto")
dbLoadRecords("threshold.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=11, CH=2, PRO=ics-dg.proto")
dbLoadRecords("threshold.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=12, CH=3, PRO=ics-dg.proto")
dbLoadRecords("threshold.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=13, CH=4, PRO=ics-dg.proto")
dbLoadRecords("peakDetection_reg.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=14, REG=RH, DESC=Rising Hold, PRO=ics-dg.proto")
dbLoadRecords("peakDetection_reg.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=15, REG=FH, DESC=Falling Hold, PRO=ics-dg.proto")
dbLoadRecords("peakDetection_reg.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=16, REG=SMPSB, DESC=Samples Before, PRO=ics-dg.proto")
dbLoadRecords("peakDetection_reg.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=17, REG=SMPSA, DESC=Samples After, PRO=ics-dg.proto")
dbLoadRecords("rw_mac_address.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=18, DIR=SRC, PRO=ics-dg.proto")
dbLoadRecords("rw_mac_address.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=20, DIR=DST, PRO=ics-dg.proto")
dbLoadRecords("rw_ip_address.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=22, DIR=SRC, PRO=ics-dg.proto")
dbLoadRecords("rw_ip_address.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=23, DIR=DST, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=24, REG=UDPS, DESC=UDP Source Port, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=25, REG=UDPD, DESC=UDP Destination Port, PRO=ics-dg.proto")
dbLoadRecords("packetTimeout_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=26, PRO=ics-dg.proto")
dbLoadRecords("channel_gain.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=27, CH=1, PRO=ics-dg.proto")
dbLoadRecords("channel_gain.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=28, CH=2, PRO=ics-dg.proto")
dbLoadRecords("channel_gain.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=29, CH=3, PRO=ics-dg.proto")
dbLoadRecords("channel_gain.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=30, CH=4, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=31, REG=SPI-M2C, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=32, REG=SPI-C2M, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=33, REG=SPI-DEV, PRO=ics-dg.proto")
dbLoadRecords("ws_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=34, REG=SPI-WR, PRO=ics-dg.proto")
dbLoadRecords("ch_offset.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), CH=1, PRO=ics-dg.proto")
dbLoadRecords("ch_offset.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), CH=2, PRO=ics-dg.proto")
dbLoadRecords("ch_offset.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), CH=3, PRO=ics-dg.proto")
dbLoadRecords("ch_offset.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), CH=4, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=35, REG=I2C-ADDR, DESC=I2C address, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=36, REG=I2C-M2S, DESC=I2C M2S Data, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=37, REG=I2C-S2M, DESC=I2C S2M Data, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=38, REG=I2C-ENA, DESC=I2C Ena, PRO=ics-dg.proto")
dbLoadRecords("led_sel_reg.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=39, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=40, REG=PKCNT, DESC=Packet Count, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=41, REG=CH1-BFOV, DESC=Ch 1 Buff Overflow Cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=42, REG=CH2-BFOV, DESC=Ch 2 Buff Overflow Cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=43, REG=CH3-BFOV, DESC=Ch 3 Buff Overflow Cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=44, REG=CH4-BFOV, DESC=Ch 4 Buff Overflow Cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_2x16bit_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=45, NR2=2, NR1=1, REG=SNAP, DESC=ADC snap value ch, PRO=ics-dg.proto")
dbLoadRecords("ro_2x16bit_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=46, NR2=4, NR1=3, REG=SNAP, DESC=ADC snap value ch, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=47, SCAN=10 second, REG=STATUS0, DESC=Status 0, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=48, SCAN=10 second, REG=STATUS1, DESC=Status 1, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=49, REG=STATUS2, DESC=Status 2, PRO=ics-dg.proto")
dbLoadRecords("clock_select.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=52, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=53, REG=TST-PKT-SEL, DESC=Test packet select, PRO=ics-dg.proto")
dbLoadRecords("payload_select.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=54, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=55, REG=TST-PUL-ENA, DESC=Test pulse enable, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=56, REG=CH1-TST-W, DESC=Ch1 Test pulse width, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=57, REG=CH2-TST-W, DESC=Ch2 Test pulse width, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=58, REG=CH3-TST-W, DESC=Ch3 Test pulse width, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=59, REG=CH4-TST-W, DESC=Ch4 Test pulse width, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=60, REG=CH1-TST-GP, DESC=Ch1 tst pulse gap, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=61, REG=CH2-TST-GP, DESC=Ch2 tst pulse gap, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=62, REG=CH3-TST-GP, DESC=Ch3 tst pulse gap, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=63, REG=CH4-TST-GP, DESC=Ch4 tst pulse gap, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=64, SCAN=1 second, REG=CH1-PUL-CNT, DESC=Ch1 tst pulse gen cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=65, SCAN=1 second, REG=CH2-PUL-CNT, DESC=Ch2 tst pulse gen cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=66, SCAN=1 second, REG=CH3-PUL-CNT, DESC=Ch3 tst pulse gen cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=67, SCAN=1 second, REG=CH4-PUL-CNT, DESC=Ch4 tst pulse gen cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=68, SCAN=1 second, REG=CH1-FRM-CNT, DESC=Ch1 tst pulse gen buf, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=69, SCAN=1 second, REG=CH2-FRM-CNT, DESC=Ch2 tst pulse gen buf, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=70, SCAN=1 second, REG=CH3-FRM-CNT, DESC=Ch3 tst pulse gen buf, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=71, SCAN=1 second, REG=CH4-FRM-CNT, DESC=Ch4 tst pulse gen buf, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV1), COM=$(COM1), OFF=72, SCAN=5 second, EGU=Hz, REG=SMP-RATE, DESC=ADC Sample Rate, PRO=ics-dg.proto")
drvAsynSerialPortConfigure ("$(COM2)", "/dev/ttyUSB1")
asynOctetSetInputEos ("$(COM2)",0,"\r\n")
asynOctetSetOutputEos ("$(COM2)",0,"\r\n")
asynSetOption ("$(COM2)", 0, "baud", "230400")
asynSetOption ("$(COM2)", 0, "bits", "8")
asynSetOption ("$(COM2)", 0, "parity", "none")
asynSetOption ("$(COM2)", 0, "stop", "1")
dbLoadRecords("detector_controls.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), SYNC_EVNT=16, TSU-OFF=50, CLK_RST_EVNT=15, TSL-OFF=51, EVR=EVR-01, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=0, REG=LPBK, DESC=loopback test register, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=1, SCAN=Passive, REG=GIT, DESC=git hash, PRO=ics-dg.proto")
dbLoadRecords("buildTime_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=2, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=3, SCAN=Passive, REG=ID-L, DESC=device ID_L, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=4, SCAN=Passive, REG=ID-M, DESC=device ID_M, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=5, SCAN=Passive, REG=ID-H, DESC=device ID_H, PRO=ics-dg.proto")
dbLoadRecords("reset_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=6, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=7, REG=ADC-SEL, DESC=ADC channel select, PRO=ics-dg.proto")
dbLoadRecords("oversampling.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=8, PRO=ics-dg.proto")
dbLoadRecords("sampling_mode.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=9, PRO=ics-dg.proto")
dbLoadRecords("threshold.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=10, CH=1, PRO=ics-dg.proto")
dbLoadRecords("threshold.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=11, CH=2, PRO=ics-dg.proto")
dbLoadRecords("threshold.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=12, CH=3, PRO=ics-dg.proto")
dbLoadRecords("threshold.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=13, CH=4, PRO=ics-dg.proto")
dbLoadRecords("peakDetection_reg.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=14, REG=RH, DESC=Rising Hold, PRO=ics-dg.proto")
dbLoadRecords("peakDetection_reg.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=15, REG=FH, DESC=Falling Hold, PRO=ics-dg.proto")
dbLoadRecords("peakDetection_reg.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=16, REG=SMPSB, DESC=Samples Before, PRO=ics-dg.proto")
dbLoadRecords("peakDetection_reg.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=17, REG=SMPSA, DESC=Samples After, PRO=ics-dg.proto")
dbLoadRecords("rw_mac_address.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=18, DIR=SRC, PRO=ics-dg.proto")
dbLoadRecords("rw_mac_address.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=20, DIR=DST, PRO=ics-dg.proto")
dbLoadRecords("rw_ip_address.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=22, DIR=SRC, PRO=ics-dg.proto")
dbLoadRecords("rw_ip_address.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=23, DIR=DST, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=24, REG=UDPS, DESC=UDP Source Port, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=25, REG=UDPD, DESC=UDP Destination Port, PRO=ics-dg.proto")
dbLoadRecords("packetTimeout_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=26, PRO=ics-dg.proto")
dbLoadRecords("channel_gain.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=27, CH=1, PRO=ics-dg.proto")
dbLoadRecords("channel_gain.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=28, CH=2, PRO=ics-dg.proto")
dbLoadRecords("channel_gain.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=29, CH=3, PRO=ics-dg.proto")
dbLoadRecords("channel_gain.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=30, CH=4, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=31, REG=SPI-M2C, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=32, REG=SPI-C2M, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=33, REG=SPI-DEV, PRO=ics-dg.proto")
dbLoadRecords("ws_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=34, REG=SPI-WR, PRO=ics-dg.proto")
dbLoadRecords("ch_offset.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), CH=1, PRO=ics-dg.proto")
dbLoadRecords("ch_offset.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), CH=2, PRO=ics-dg.proto")
dbLoadRecords("ch_offset.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), CH=3, PRO=ics-dg.proto")
dbLoadRecords("ch_offset.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), CH=4, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=35, REG=I2C-ADDR, DESC=I2C address, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=36, REG=I2C-M2S, DESC=I2C M2S Data, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=37, REG=I2C-S2M, DESC=I2C S2M Data, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=38, REG=I2C-ENA, DESC=I2C Ena, PRO=ics-dg.proto")
dbLoadRecords("led_sel_reg.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=39, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=40, REG=PKCNT, DESC=Packet Count, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=41, REG=CH1-BFOV, DESC=Ch 1 Buff Overflow Cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=42, REG=CH2-BFOV, DESC=Ch 2 Buff Overflow Cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=43, REG=CH3-BFOV, DESC=Ch 3 Buff Overflow Cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=44, REG=CH4-BFOV, DESC=Ch 4 Buff Overflow Cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_2x16bit_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=45, NR2=2, NR1=1, REG=SNAP, DESC=ADC snap value ch, PRO=ics-dg.proto")
dbLoadRecords("ro_2x16bit_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=46, NR2=4, NR1=3, REG=SNAP, DESC=ADC snap value ch, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=47, SCAN=10 second, REG=STATUS0, DESC=Status 0, PRO=ics-dg.proto")
dbLoadRecords("ro_hex_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=48, SCAN=10 second, REG=STATUS1, DESC=Status 1, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=49, REG=STATUS2, DESC=Status 2, PRO=ics-dg.proto")
dbLoadRecords("clock_select.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=52, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=53, REG=TST-PKT-SEL, DESC=Test packet select, PRO=ics-dg.proto")
dbLoadRecords("payload_select.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=54, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=55, REG=TST-PUL-ENA, DESC=Test pulse enable, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=56, REG=CH1-TST-W, DESC=Ch1 Test pulse width, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=57, REG=CH2-TST-W, DESC=Ch2 Test pulse width, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=58, REG=CH3-TST-W, DESC=Ch3 Test pulse width, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=59, REG=CH4-TST-W, DESC=Ch4 Test pulse width, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=60, REG=CH1-TST-GP, DESC=Ch1 tst pulse gap, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=61, REG=CH2-TST-GP, DESC=Ch2 tst pulse gap, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=62, REG=CH3-TST-GP, DESC=Ch3 tst pulse gap, PRO=ics-dg.proto")
dbLoadRecords("rw_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=63, REG=CH4-TST-GP, DESC=Ch4 tst pulse gap, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=64, SCAN=1 second, REG=CH1-PUL-CNT, DESC=Ch1 tst pulse gen cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=65, SCAN=1 second, REG=CH2-PUL-CNT, DESC=Ch2 tst pulse gen cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=66, SCAN=1 second, REG=CH3-PUL-CNT, DESC=Ch3 tst pulse gen cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=67, SCAN=1 second, REG=CH4-PUL-CNT, DESC=Ch4 tst pulse gen cnt, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=68, SCAN=1 second, REG=CH1-FRM-CNT, DESC=Ch1 tst pulse gen buf, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=69, SCAN=1 second, REG=CH2-FRM-CNT, DESC=Ch2 tst pulse gen buf, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=70, SCAN=1 second, REG=CH3-FRM-CNT, DESC=Ch3 tst pulse gen buf, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=71, SCAN=1 second, REG=CH4-FRM-CNT, DESC=Ch4 tst pulse gen buf, PRO=ics-dg.proto")
dbLoadRecords("ro_register.db", "SYS=$(SYS), DEV=$(DEV2), COM=$(COM2), OFF=72, SCAN=5 second, EGU=Hz, REG=SMP-RATE, DESC=ADC Sample Rate, PRO=ics-dg.proto")
dbLoadRecords("evr_detector_controls.db", "SYS=$(SYS), EVR=$(EVR), TSEVT=$(SYNC_EVNT_LETTER),SYNC_EVNT=$(SYNC_TRIG_EVT)")