Compare commits

..

No commits in common. "master" and "v99_flight" have entirely different histories.

37 changed files with 29 additions and 17519 deletions

View file

@ -24,7 +24,7 @@ class appdata(tcobject):
subtype = 0
size = 0
comment = ""
delta = 3
delta = 1
def bin(self):
return b""

View file

@ -1,29 +0,0 @@
#!/usr/bin/python3
"""
This script generates XML telecommands for:
- updating the unit configuration of HET/EPT1&2 to version v0009 in the ICU RAM
- updating the unit configuration of HET/EPT1&2 to version v0009 in the EEPROMs
- sending index tables for switching between CLOSE/FAR mode
- sending index tables for changing the temperature configuration
To reproduce to original set of commands, the git repository should be at the state tagged with 'hetept-v0009':
git checkout hetept-v0009
"""
def main(cf_dir='./solo/configurations/', op_dir='./xml_tcs_hetept_v0010/'):
from solo.hetept.config_update import write_xml_cf_to_icu, write_xml_cf_to_eeprom, write_xml_table_index_execution
fm1_txt = cf_dir + 'hetept1/v0010/hetept_config_fm1.txt'
fm2_txt = cf_dir+ 'hetept2/v0010/hetept_config_fm2.txt'
write_xml_cf_to_icu(fm1_txt, op_dir, 0x20000, eeprom_page=0x0)
write_xml_cf_to_icu(fm2_txt, op_dir, 0x40000, eeprom_page=0x0)
write_xml_cf_to_eeprom(fm1_txt, op_dir, eeprom_page=0x0, pointer_reset=0x30000+0x80)
write_xml_cf_to_eeprom(fm2_txt, op_dir, eeprom_page=0x0, pointer_reset=0x50000+0x80)
write_xml_table_index_execution(op_dir)
if __name__ == "__main__":
import sys, os
sys.path[1:1] = [os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))]
main(cf_dir='../')

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE1 to calibration for -6.0 deg C" delta="00:00:03">
<parameter name="SensorID" id="PID00083">2</parameter>
<parameter name="IndexTable" id="PID00084">1</parameter>
<parameter name="BlockIndex" id="PID00077">10</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE1 to calibration for -0.8 deg C" delta="00:00:03">
<parameter name="SensorID" id="PID00083">2</parameter>
<parameter name="IndexTable" id="PID00084">1</parameter>
<parameter name="BlockIndex" id="PID00077">11</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE1 to nominal mode" delta="00:00:03">
<parameter name="SensorID" id="PID00083">2</parameter>
<parameter name="IndexTable" id="PID00084">1</parameter>
<parameter name="BlockIndex" id="PID00077">2</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE1 to close mode" delta="00:00:03">
<parameter name="SensorID" id="PID00083">2</parameter>
<parameter name="IndexTable" id="PID00084">1</parameter>
<parameter name="BlockIndex" id="PID00077">4</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE1 to far mode" delta="00:00:03">
<parameter name="SensorID" id="PID00083">2</parameter>
<parameter name="IndexTable" id="PID00084">1</parameter>
<parameter name="BlockIndex" id="PID00077">8</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE1 to calibration for -11.6 deg C" delta="00:00:03">
<parameter name="SensorID" id="PID00083">2</parameter>
<parameter name="IndexTable" id="PID00084">1</parameter>
<parameter name="BlockIndex" id="PID00077">9</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE2 to calibration for -0.8 deg C" delta="00:00:03">
<parameter name="SensorID" id="PID00083">3</parameter>
<parameter name="IndexTable" id="PID00084">2</parameter>
<parameter name="BlockIndex" id="PID00077">10</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE2 to calibration for +4.4 deg C" delta="00:00:03">
<parameter name="SensorID" id="PID00083">3</parameter>
<parameter name="IndexTable" id="PID00084">2</parameter>
<parameter name="BlockIndex" id="PID00077">11</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE2 to nominal mode" delta="00:00:03">
<parameter name="SensorID" id="PID00083">3</parameter>
<parameter name="IndexTable" id="PID00084">2</parameter>
<parameter name="BlockIndex" id="PID00077">2</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE2 to close mode" delta="00:00:03">
<parameter name="SensorID" id="PID00083">3</parameter>
<parameter name="IndexTable" id="PID00084">2</parameter>
<parameter name="BlockIndex" id="PID00077">4</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE2 to far mode" delta="00:00:03">
<parameter name="SensorID" id="PID00083">3</parameter>
<parameter name="IndexTable" id="PID00084">2</parameter>
<parameter name="BlockIndex" id="PID00077">8</parameter>
</TC>
</TCs>

View file

@ -1,7 +0,0 @@
<TCs>
<TC type="128" subtype="103" id="ZID52541" comment="Switch HE2 to calibration for -6.0 deg C" delta="00:00:03">
<parameter name="SensorID" id="PID00083">3</parameter>
<parameter name="IndexTable" id="PID00084">2</parameter>
<parameter name="BlockIndex" id="PID00077">9</parameter>
</TC>
</TCs>

View file

@ -1,202 +0,0 @@
msg(0x2694, 3, 0x00012c0100000000)
msg(0x2695, 0, 0x0000000000000000)
msg(0x0000, 2, 0x0000000002000000)
msg(0x000f, 3, 0x0000093500090005)
msg(0x2400, 3, 0x09e000e000800000)
msg(0x2401, 3, 0x06f7edfe01000002)
msg(0x2402, 3, 0x06f7d3fc01000004)
msg(0x2403, 3, 0x11050003e0000005)
msg(0x2404, 3, 0x20000003a0000005)
msg(0x2405, 3, 0x0350000009020000)
msg(0x2406, 3, 0x890400000100000c)
msg(0x2407, 3, 0x1c009e0dd90d6a07)
msg(0x2408, 3, 0x99006007840060fe)
msg(0x2409, 3, 0x440060fc9b000112)
msg(0x240a, 3, 0xc3700000c0c03d00)
msg(0x240b, 3, 0x06f7cbff01000016)
msg(0x240c, 3, 0x06f7fdfd01000018)
msg(0x240d, 3, 0x11190017e0000019)
msg(0x240e, 3, 0x091600000100001c)
msg(0x240f, 3, 0x091800000100001e)
msg(0x2410, 3, 0x111f001de000001f)
msg(0x2411, 3, 0x1c009e21d9216a07)
msg(0x2412, 3, 0x9c009e1bd91b6a07)
msg(0x2413, 3, 0xc3700000c0c03d00)
msg(0x2414, 3, 0x19096a07dc009e09)
msg(0x2415, 3, 0x85ff6007a040002a)
msg(0x2416, 3, 0x6001002b8c00002c)
msg(0x2417, 3, 0x80c03d00040060fc)
msg(0x2418, 3, 0x440060fe1b000130)
msg(0x2419, 3, 0x89050003a0004032)
msg(0x241a, 3, 0x857f0033a0c00034)
msg(0x241b, 3, 0x8804000281000036)
msg(0x241c, 3, 0x9900ef37857fef37)
msg(0x241d, 3, 0x8c35193903d00000)
msg(0x241e, 3, 0x03b0000020000000)
msg(0x241f, 3, 0x60000100a0000200)
msg(0x2420, 3, 0x06f7f5f801000040)
msg(0x2421, 3, 0x06f7cffa01000042)
msg(0x2422, 3, 0x11430041e0000043)
msg(0x2423, 3, 0x20000041a0000043)
msg(0x2424, 3, 0x0350000009400000)
msg(0x2425, 3, 0x894200000100004a)
msg(0x2426, 3, 0x1c009e4bd94b6a45)
msg(0x2427, 3, 0x99006045840060f8)
msg(0x2428, 3, 0x440060fa9b000150)
msg(0x2429, 3, 0xc3700000c0c07b00)
msg(0x242a, 3, 0x06f7e9f901000054)
msg(0x242b, 3, 0x06f7ebfb01000056)
msg(0x242c, 3, 0x11570055e0000057)
msg(0x242d, 3, 0x095400000100005a)
msg(0x242e, 3, 0x095600000100005c)
msg(0x242f, 3, 0x115d005be000005d)
msg(0x2430, 3, 0x1c009e5fd95f6a45)
msg(0x2431, 3, 0x9c009e59d9596a45)
msg(0x2432, 3, 0xc3700000c0c07b00)
msg(0x2433, 3, 0x19476a45dc009e47)
msg(0x2434, 3, 0x85ff6045a0430068)
msg(0x2435, 3, 0x7fff00698c00006a)
msg(0x2436, 3, 0x80c07b00040060fa)
msg(0x2437, 3, 0x440060f81b00016e)
msg(0x2438, 3, 0x89410043a0004070)
msg(0x2439, 3, 0x857f0071a0c08072)
msg(0x243a, 3, 0x8842004081000074)
msg(0x243b, 3, 0x9900ef75857fef75)
msg(0x243c, 3, 0x8c73197703d00000)
msg(0x243d, 3, 0x03b0000020000000)
msg(0x243e, 3, 0x60000100a0000200)
msg(0x243f, 3, 0x087d003f1c00017e)
msg(0x2440, 3, 0xe000020014000001)
msg(0x2441, 3, 0x8700008000000000)
msg(0x2480, 3, 0x09e000e02088b800)
msg(0x2481, 3, 0x08000801140200e8)
msg(0x2482, 3, 0xe00000ea86eb4f04)
msg(0x2483, 3, 0xc6aa7405140200f7)
msg(0x2484, 3, 0xe00000eb86eb3308)
msg(0x2485, 3, 0xc6aa5109140a0006)
msg(0x2486, 3, 0xa000000a0100000c)
msg(0x2487, 3, 0xe0000004a0000008)
msg(0x2488, 3, 0x03d00000140200e3)
msg(0x2489, 3, 0xe00000e286eaf012)
msg(0x248a, 3, 0xc6aa2113140200e4)
msg(0x248b, 3, 0xe00000e586eb4016)
msg(0x248c, 3, 0xc6aa681714180014)
msg(0x248d, 3, 0xa00000180100001a)
msg(0x248e, 3, 0xe0000012a0000016)
msg(0x248f, 3, 0x200000006000011e)
msg(0x2490, 3, 0xa000011f06e91be9)
msg(0x2491, 3, 0x010000211c22351b)
msg(0x2492, 3, 0x9900b522c400600f)
msg(0x2493, 3, 0xdc000125c400601d)
msg(0x2494, 3, 0xdc00012780c27700)
msg(0x2495, 3, 0x081a000c0100002a)
msg(0x2496, 3, 0x140200e7e00000e6)
msg(0x2497, 3, 0x86de522dc69bb92e)
msg(0x2498, 3, 0x140200f4e00000f6)
msg(0x2499, 3, 0x86de5231c69bb932)
msg(0x249a, 3, 0x082f113301000034)
msg(0x249b, 3, 0x22000000142b5535)
msg(0x249c, 3, 0xdc00df35c0c23a00)
msg(0x249d, 3, 0x1900df3580c27700)
msg(0x249e, 3, 0x1900022003d00000)
msg(0x249f, 3, 0xd40000202000000c)
msg(0x24a0, 3, 0xc6cfdb3f46cfba40)
msg(0x24a1, 3, 0x010000410942002b)
msg(0x24a2, 3, 0x06cc00420844002b)
msg(0x24a3, 3, 0x3ffdb64511000046)
msg(0x24a4, 3, 0x80c175003ffee145)
msg(0x24a5, 3, 0x11000049c0c27700)
msg(0x24a6, 3, 0x059fd32b1900a049)
msg(0x24a7, 3, 0xe0000036cc4c004e)
msg(0x24a8, 3, 0xc7000f00c0c17f00)
msg(0x24a9, 3, 0x1900d949c0c27700)
msg(0x24aa, 3, 0x1900ee4980c16200)
msg(0x24ab, 3, 0x19000443c0c27700)
msg(0x24ac, 3, 0x3ffee74216000058)
msg(0x24ad, 3, 0x2000a036a001e036)
msg(0x24ae, 3, 0x2000004c9149e000)
msg(0x24af, 3, 0xa000015d0c5e005b)
msg(0x24b0, 3, 0x07000e0000c17f00)
msg(0x24b1, 3, 0x1900044340c16e00)
msg(0x24b2, 3, 0x051f004308000164)
msg(0x24b3, 3, 0x3ffef449051f0066)
msg(0x24b4, 3, 0x2002003608670068)
msg(0x24b5, 3, 0x0c65b069c0c27700)
msg(0x24b6, 3, 0x07000d0000c17f00)
msg(0x24b7, 3, 0x3ffec7429100006e)
msg(0x24b8, 3, 0xc0c2770020014036)
msg(0x24b9, 3, 0x0c4c007107000d00)
msg(0x24ba, 3, 0x00c17f00051f0043)
msg(0x24bb, 3, 0x05ff004620040036)
msg(0x24bc, 3, 0x087590770c761078)
msg(0x24bd, 3, 0x19000443c0c27700)
msg(0x24be, 3, 0x19007046c7000c00)
msg(0x24bf, 3, 0x87000b000400e0e1)
msg(0x24c0, 3, 0x1400007f80000000)
msg(0x24c1, 3, 0x00c0020000000000)
msg(0x2500, 3, 0x09e000e02088b800)
msg(0x2501, 3, 0x08000801140200f2)
msg(0x2502, 3, 0xe00000f386eb3104)
msg(0x2503, 3, 0xc6aa3405140200f1)
msg(0x2504, 3, 0xe00000f086eb8108)
msg(0x2505, 3, 0xc6aaa009140a0006)
msg(0x2506, 3, 0xa000000a0100000c)
msg(0x2507, 3, 0xe0000004a0000008)
msg(0x2508, 3, 0x03d00000140200ed)
msg(0x2509, 3, 0xe00000ec86eb0412)
msg(0x250a, 3, 0xc6aa7913140200ef)
msg(0x250b, 3, 0xe00000ee86eb0616)
msg(0x250c, 3, 0xc6aa291714180014)
msg(0x250d, 3, 0xa00000180100001a)
msg(0x250e, 3, 0xe0000012a0000016)
msg(0x250f, 3, 0x200000006000011e)
msg(0x2510, 3, 0xa000011f06e969f5)
msg(0x2511, 3, 0x010000211c22351b)
msg(0x2512, 3, 0x9900b522c400600f)
msg(0x2513, 3, 0xdc000125c400601d)
msg(0x2514, 3, 0xdc00012780c27700)
msg(0x2515, 3, 0x081a000c0100002a)
msg(0x2516, 3, 0x140200e7e00000e6)
msg(0x2517, 3, 0x86de522dc69bb92e)
msg(0x2518, 3, 0x140200f4e00000f6)
msg(0x2519, 3, 0x86de5231c69bb932)
msg(0x251a, 3, 0x082f113301000034)
msg(0x251b, 3, 0x23000000142b5535)
msg(0x251c, 3, 0xdc00df3580c13a00)
msg(0x251d, 3, 0xc400602ddc00013a)
msg(0x251e, 3, 0xc4006031dc00013c)
msg(0x251f, 3, 0xd41b350d80c27700)
msg(0x2520, 3, 0x141a000ce000001a)
msg(0x2521, 3, 0x1900022003d00000)
msg(0x2522, 3, 0xd400002020000041)
msg(0x2523, 3, 0xc6cfdb4146cfba46)
msg(0x2524, 3, 0x0100004706bc0048)
msg(0x2525, 3, 0x082a31340100004a)
msg(0x2526, 3, 0x084b00493ffe414c)
msg(0x2527, 3, 0x1100004dc0c27700)
msg(0x2528, 3, 0x19009f4dd900ef1b)
msg(0x2529, 3, 0xd900ef0dc57faf4b)
msg(0x252a, 3, 0xe0140036cc530054)
msg(0x252b, 3, 0xc7000a00c0c27300)
msg(0x252c, 3, 0x3fff384d11000058)
msg(0x252d, 3, 0xc0c2770019002158)
msg(0x252e, 3, 0xc57ff84be0148036)
msg(0x252f, 3, 0xcc5c005dc7000900)
msg(0x2530, 3, 0xc0c273000948004b)
msg(0x2531, 3, 0x2000206108000262)
msg(0x2532, 3, 0x051f006319006b58)
msg(0x2533, 3, 0xc51f4b58e0150036)
msg(0x2534, 3, 0xc8660067cc64b068)
msg(0x2535, 3, 0xc7000800c0c27300)
msg(0x2536, 3, 0x05ff776620190036)
msg(0x2537, 3, 0x086c106d0c64906e)
msg(0x2538, 3, 0x1900936cc7000700)
msg(0x2539, 3, 0x870006000400e0e1)
msg(0x253a, 3, 0x1400007380000000)
msg(0x253b, 3, 0x00c002000400e0e1)
msg(0x253c, 3, 0x14000077c0c00000)
msg(0x253d, 3, 0x0700030000000000)
msg(0x2694, 3, 0x00012c0100008000)
msg(0x2695, 2, 0x00000000083f0000)
msg(0x2697, 1, 0x00000000000000ff)
msg(0x2696, 3, 0x0003e8010000413c)

View file

@ -1,62 +0,0 @@
<TCs>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">22</parameter>
<parameter name="Messages" id="PID00075">e69400012c01000000002695800002000000c00f0000093500090005e40009e000e000800000e40106f7edfe01000002e40206f7d3fc01000004e40311050003e0000005e40420000003a0000005e4050350000009020000e406890400000100000ce4071c009e0dd90d6a07e40899006007840060fee409440060fc9b000112e40ac3700000c0c03d00e40b06f7cbff01000016e40c06f7fdfd01000018e40d11190017e0000019e40e091600000100001ce40f091800000100001ee410111f001de000001fe4111c009e21d9216a07</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e4129c009e1bd91b6a07e413c3700000c0c03d00e41419096a07dc009e09e41585ff6007a040002ae4166001002b8c00002ce41780c03d00040060fce418440060fe1b000130e41989050003a0004032e41a857f0033a0c00034e41b8804000281000036e41c9900ef37857fef37e41d8c35193903d00000e41e03b0000020000000e41f60000100a0000200e42006f7f5f801000040e42106f7cffa01000042e42211430041e0000043e42320000041a0000043e4240350000009400000e425894200000100004a</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e4261c009e4bd94b6a45e42799006045840060f8e428440060fa9b000150e429c3700000c0c07b00e42a06f7e9f901000054e42b06f7ebfb01000056e42c11570055e0000057e42d095400000100005ae42e095600000100005ce42f115d005be000005de4301c009e5fd95f6a45e4319c009e59d9596a45e432c3700000c0c07b00e43319476a45dc009e47e43485ff6045a0430068e4357fff00698c00006ae43680c07b00040060fae437440060f81b00016ee43889410043a0004070e439857f0071a0c08072</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e43a8842004081000074e43b9900ef75857fef75e43c8c73197703d00000e43d03b0000020000000e43e60000100a0000200e43f087d003f1c00017ee440e000020014000001e4418700008000000000e48009e000e02088b800e48108000801140200e8e482e00000ea86eb4f04e483c6aa7405140200f7e484e00000eb86eb3308e485c6aa5109140a0006e486a000000a0100000ce487e0000004a0000008e48803d00000140200e3e489e00000e286eaf012e48ac6aa2113140200e4e48be00000e586eb4016</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e48cc6aa681714180014e48da00000180100001ae48ee0000012a0000016e48f200000006000011ee490a000011f06e91be9e491010000211c22351be4929900b522c400600fe493dc000125c400601de494dc00012780c27700e495081a000c0100002ae496140200e7e00000e6e49786de522dc69bb92ee498140200f4e00000f6e49986de5231c69bb932e49a082f113301000034e49b22000000142b5535e49cdc00df35c0c23a00e49d1900df3580c27700e49e1900022003d00000e49fd40000202000000c</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e4a0c6cfdb3f46cfba40e4a1010000410942002be4a206cc00420844002be4a33ffdb64511000046e4a480c175003ffee145e4a511000049c0c27700e4a6059fd32b1900a049e4a7e0000036cc4c004ee4a8c7000f00c0c17f00e4a91900d949c0c27700e4aa1900ee4980c16200e4ab19000443c0c27700e4ac3ffee74216000058e4ad2000a036a001e036e4ae2000004c9149e000e4afa000015d0c5e005be4b007000e0000c17f00e4b11900044340c16e00e4b2051f004308000164e4b33ffef449051f0066</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e4b42002003608670068e4b50c65b069c0c27700e4b607000d0000c17f00e4b73ffec7429100006ee4b8c0c2770020014036e4b90c4c007107000d00e4ba00c17f00051f0043e4bb05ff004620040036e4bc087590770c761078e4bd19000443c0c27700e4be19007046c7000c00e4bf87000b000400e0e1e4c01400007f80000000e4c100c0020000000000e50009e000e02088b800e50108000801140200f2e502e00000f386eb3104e503c6aa3405140200f1e504e00000f086eb8108e505c6aaa009140a0006</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e506a000000a0100000ce507e0000004a0000008e50803d00000140200ede509e00000ec86eb0412e50ac6aa7913140200efe50be00000ee86eb0616e50cc6aa291714180014e50da00000180100001ae50ee0000012a0000016e50f200000006000011ee510a000011f06e969f5e511010000211c22351be5129900b522c400600fe513dc000125c400601de514dc00012780c27700e515081a000c0100002ae516140200e7e00000e6e51786de522dc69bb92ee518140200f4e00000f6e51986de5231c69bb932</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e51a082f113301000034e51b23000000142b5535e51cdc00df3580c13a00e51dc400602ddc00013ae51ec4006031dc00013ce51fd41b350d80c27700e520141a000ce000001ae5211900022003d00000e522d400002020000041e523c6cfdb4146cfba46e5240100004706bc0048e525082a31340100004ae526084b00493ffe414ce5271100004dc0c27700e52819009f4dd900ef1be529d900ef0dc57faf4be52ae0140036cc530054e52bc7000a00c0c27300e52c3fff384d11000058e52dc0c2770019002158</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">2</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e52ec57ff84be0148036e52fcc5c005dc7000900e530c0c273000948004be5312000206108000262e532051f006319006b58e533c51f4b58e0150036e534c8660067cc64b068e535c7000800c0c27300e53605ff776620190036e537086c106d0c64906ee5381900936cc7000700e539870006000400e0e1e53a1400007380000000e53b00c002000400e0e1e53c14000077c0c00000e53d0700030000000000e69400012c0100008000a695083f0000669700ffe6960003e8010000413c</parameter>
</TC>
</TCs>

View file

@ -1,202 +0,0 @@
msg(0x2694, 3, 0x00012c0100000000)
msg(0x2695, 0, 0x0000000000000000)
msg(0x0000, 2, 0x0000000002000000)
msg(0x000f, 3, 0x0000093500090005)
msg(0x2400, 3, 0x09e000e000800000)
msg(0x2401, 3, 0x06f7e8fe01000002)
msg(0x2402, 3, 0x06f808fc01000004)
msg(0x2403, 3, 0x11050003e0000005)
msg(0x2404, 3, 0x20000003a0000005)
msg(0x2405, 3, 0x0350000009020000)
msg(0x2406, 3, 0x890400000100000c)
msg(0x2407, 3, 0x1c009e0dd90d6a07)
msg(0x2408, 3, 0x99006007840060fe)
msg(0x2409, 3, 0x440060fc9b000112)
msg(0x240a, 3, 0xc3700000c0c03d00)
msg(0x240b, 3, 0x06f848ff01000016)
msg(0x240c, 3, 0x06f7f6fd01000018)
msg(0x240d, 3, 0x11190017e0000019)
msg(0x240e, 3, 0x091600000100001c)
msg(0x240f, 3, 0x091800000100001e)
msg(0x2410, 3, 0x111f001de000001f)
msg(0x2411, 3, 0x1c009e21d9216a07)
msg(0x2412, 3, 0x9c009e1bd91b6a07)
msg(0x2413, 3, 0xc3700000c0c03d00)
msg(0x2414, 3, 0x19096a07dc009e09)
msg(0x2415, 3, 0x85ff6007a040002a)
msg(0x2416, 3, 0x6001002b8c00002c)
msg(0x2417, 3, 0x80c03d00040060fc)
msg(0x2418, 3, 0x440060fe1b000130)
msg(0x2419, 3, 0x89050003a0004032)
msg(0x241a, 3, 0x857f0033a0c00034)
msg(0x241b, 3, 0x8804000281000036)
msg(0x241c, 3, 0x9900ef37857fef37)
msg(0x241d, 3, 0x8c35193903d00000)
msg(0x241e, 3, 0x03b0000020000000)
msg(0x241f, 3, 0x60000100a0000200)
msg(0x2420, 3, 0x06f7dbf801000040)
msg(0x2421, 3, 0x06f7cffa01000042)
msg(0x2422, 3, 0x11430041e0000043)
msg(0x2423, 3, 0x20000041a0000043)
msg(0x2424, 3, 0x0350000009400000)
msg(0x2425, 3, 0x894200000100004a)
msg(0x2426, 3, 0x1c009e4bd94b6a45)
msg(0x2427, 3, 0x99006045840060f8)
msg(0x2428, 3, 0x440060fa9b000150)
msg(0x2429, 3, 0xc3700000c0c07b00)
msg(0x242a, 3, 0x06f7f6f901000054)
msg(0x242b, 3, 0x06f7f8fb01000056)
msg(0x242c, 3, 0x11570055e0000057)
msg(0x242d, 3, 0x095400000100005a)
msg(0x242e, 3, 0x095600000100005c)
msg(0x242f, 3, 0x115d005be000005d)
msg(0x2430, 3, 0x1c009e5fd95f6a45)
msg(0x2431, 3, 0x9c009e59d9596a45)
msg(0x2432, 3, 0xc3700000c0c07b00)
msg(0x2433, 3, 0x19476a45dc009e47)
msg(0x2434, 3, 0x85ff6045a0430068)
msg(0x2435, 3, 0x7fff00698c00006a)
msg(0x2436, 3, 0x80c07b00040060fa)
msg(0x2437, 3, 0x440060f81b00016e)
msg(0x2438, 3, 0x89410043a0004070)
msg(0x2439, 3, 0x857f0071a0c08072)
msg(0x243a, 3, 0x8842004081000074)
msg(0x243b, 3, 0x9900ef75857fef75)
msg(0x243c, 3, 0x8c73197703d00000)
msg(0x243d, 3, 0x03b0000020000000)
msg(0x243e, 3, 0x60000100a0000200)
msg(0x243f, 3, 0x087d003f1c00017e)
msg(0x2440, 3, 0xe000020014000001)
msg(0x2441, 3, 0x8700008000000000)
msg(0x2480, 3, 0x09e000e02088b800)
msg(0x2481, 3, 0x08000801140200e8)
msg(0x2482, 3, 0xe00000ea86eb1a04)
msg(0x2483, 3, 0xc6a9e105140200f7)
msg(0x2484, 3, 0xe00000eb86eaf008)
msg(0x2485, 3, 0xc6a9a809140a0006)
msg(0x2486, 3, 0xa000000a0100000c)
msg(0x2487, 3, 0xe0000004a0000008)
msg(0x2488, 3, 0x03d00000140200e3)
msg(0x2489, 3, 0xe00000e286eabb12)
msg(0x248a, 3, 0xc6a9bb13140200e4)
msg(0x248b, 3, 0xe00000e586eb9216)
msg(0x248c, 3, 0xc6a9fb1714180014)
msg(0x248d, 3, 0xa00000180100001a)
msg(0x248e, 3, 0xe0000012a0000016)
msg(0x248f, 3, 0x200000006000011e)
msg(0x2490, 3, 0xa000011f06e909e9)
msg(0x2491, 3, 0x010000211c22351b)
msg(0x2492, 3, 0x9900b522c400600f)
msg(0x2493, 3, 0xdc000125c400601d)
msg(0x2494, 3, 0xdc00012780c27700)
msg(0x2495, 3, 0x081a000c0100002a)
msg(0x2496, 3, 0x140200e7e00000e6)
msg(0x2497, 3, 0x86de202dc69b822e)
msg(0x2498, 3, 0x140200f4e00000f6)
msg(0x2499, 3, 0x86de2031c69b8232)
msg(0x249a, 3, 0x082f113301000034)
msg(0x249b, 3, 0x22000000142b5535)
msg(0x249c, 3, 0xdc00df35c0c23a00)
msg(0x249d, 3, 0x1900df3580c27700)
msg(0x249e, 3, 0x1900022003d00000)
msg(0x249f, 3, 0xd40000202000000c)
msg(0x24a0, 3, 0xc6cfdb3f46cfba40)
msg(0x24a1, 3, 0x010000410942002b)
msg(0x24a2, 3, 0x06cc00420844002b)
msg(0x24a3, 3, 0x3ffdb64511000046)
msg(0x24a4, 3, 0x80c175003ffee145)
msg(0x24a5, 3, 0x11000049c0c27700)
msg(0x24a6, 3, 0x059fd32b1900a049)
msg(0x24a7, 3, 0xe0000036cc4c004e)
msg(0x24a8, 3, 0xc7000f00c0c17f00)
msg(0x24a9, 3, 0x1900d949c0c27700)
msg(0x24aa, 3, 0x1900ee4980c16200)
msg(0x24ab, 3, 0x19000443c0c27700)
msg(0x24ac, 3, 0x3ffee74216000058)
msg(0x24ad, 3, 0x2000a036a001e036)
msg(0x24ae, 3, 0x2000004c9149e000)
msg(0x24af, 3, 0xa000015d0c5e005b)
msg(0x24b0, 3, 0x07000e0000c17f00)
msg(0x24b1, 3, 0x1900044340c16e00)
msg(0x24b2, 3, 0x051f004308000164)
msg(0x24b3, 3, 0x3ffef449051f0066)
msg(0x24b4, 3, 0x2002003608670068)
msg(0x24b5, 3, 0x0c65b069c0c27700)
msg(0x24b6, 3, 0x07000d0000c17f00)
msg(0x24b7, 3, 0x3ffec7429100006e)
msg(0x24b8, 3, 0xc0c2770020014036)
msg(0x24b9, 3, 0x0c4c007107000d00)
msg(0x24ba, 3, 0x00c17f00051f0043)
msg(0x24bb, 3, 0x05ff004620040036)
msg(0x24bc, 3, 0x087590770c761078)
msg(0x24bd, 3, 0x19000443c0c27700)
msg(0x24be, 3, 0x19007046c7000c00)
msg(0x24bf, 3, 0x87000b000400e0e1)
msg(0x24c0, 3, 0x1400007f80000000)
msg(0x24c1, 3, 0x00c0020000000000)
msg(0x2500, 3, 0x09e000e02088b800)
msg(0x2501, 3, 0x08000801140200f2)
msg(0x2502, 3, 0xe00000f386ec4904)
msg(0x2503, 3, 0xc6aa0b05140200f1)
msg(0x2504, 3, 0xe00000f086eb0f08)
msg(0x2505, 3, 0xc6a98e09140a0006)
msg(0x2506, 3, 0xa000000a0100000c)
msg(0x2507, 3, 0xe0000004a0000008)
msg(0x2508, 3, 0x03d00000140200ed)
msg(0x2509, 3, 0xe00000ec86eaf712)
msg(0x250a, 3, 0xc6a9c513140200ef)
msg(0x250b, 3, 0xe00000ee86eafb16)
msg(0x250c, 3, 0xc6a9c31714180014)
msg(0x250d, 3, 0xa00000180100001a)
msg(0x250e, 3, 0xe0000012a0000016)
msg(0x250f, 3, 0x200000006000011e)
msg(0x2510, 3, 0xa000011f06e96bf5)
msg(0x2511, 3, 0x010000211c22351b)
msg(0x2512, 3, 0x9900b522c400600f)
msg(0x2513, 3, 0xdc000125c400601d)
msg(0x2514, 3, 0xdc00012780c27700)
msg(0x2515, 3, 0x081a000c0100002a)
msg(0x2516, 3, 0x140200e7e00000e6)
msg(0x2517, 3, 0x86de202dc69b822e)
msg(0x2518, 3, 0x140200f4e00000f6)
msg(0x2519, 3, 0x86de2031c69b8232)
msg(0x251a, 3, 0x082f113301000034)
msg(0x251b, 3, 0x23000000142b5535)
msg(0x251c, 3, 0xdc00df3580c13a00)
msg(0x251d, 3, 0xc400602ddc00013a)
msg(0x251e, 3, 0xc4006031dc00013c)
msg(0x251f, 3, 0xd41b350d80c27700)
msg(0x2520, 3, 0x141a000ce000001a)
msg(0x2521, 3, 0x1900022003d00000)
msg(0x2522, 3, 0xd400002020000041)
msg(0x2523, 3, 0xc6cfdb4146cfba46)
msg(0x2524, 3, 0x0100004706bc0048)
msg(0x2525, 3, 0x082a31340100004a)
msg(0x2526, 3, 0x084b00493ffe414c)
msg(0x2527, 3, 0x1100004dc0c27700)
msg(0x2528, 3, 0x19009f4dd900ef1b)
msg(0x2529, 3, 0xd900ef0dc57faf4b)
msg(0x252a, 3, 0xe0140036cc530054)
msg(0x252b, 3, 0xc7000a00c0c27300)
msg(0x252c, 3, 0x3fff384d11000058)
msg(0x252d, 3, 0xc0c2770019002158)
msg(0x252e, 3, 0xc57ff84be0148036)
msg(0x252f, 3, 0xcc5c005dc7000900)
msg(0x2530, 3, 0xc0c273000948004b)
msg(0x2531, 3, 0x2000206108000262)
msg(0x2532, 3, 0x051f006319006b58)
msg(0x2533, 3, 0xc51f4b58e0150036)
msg(0x2534, 3, 0xc8660067cc64b068)
msg(0x2535, 3, 0xc7000800c0c27300)
msg(0x2536, 3, 0x05ff776620190036)
msg(0x2537, 3, 0x086c106d0c64906e)
msg(0x2538, 3, 0x1900936cc7000700)
msg(0x2539, 3, 0x870006000400e0e1)
msg(0x253a, 3, 0x1400007380000000)
msg(0x253b, 3, 0x00c002000400e0e1)
msg(0x253c, 3, 0x14000077c0c00000)
msg(0x253d, 3, 0x0700030000000000)
msg(0x2694, 3, 0x00012c0100008000)
msg(0x2695, 2, 0x00000000083f0000)
msg(0x2697, 1, 0x00000000000000ff)
msg(0x2696, 3, 0x0003e8010000413c)

View file

@ -1,62 +0,0 @@
<TCs>
<TC type="128" subtype="102" id="ZID52540" comment="DELAY=1000ms" delta="00:16:40">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">22</parameter>
<parameter name="Messages" id="PID00075">e69400012c01000000002695800002000000c00f0000093500090005e40009e000e000800000e40106f7e8fe01000002e40206f808fc01000004e40311050003e0000005e40420000003a0000005e4050350000009020000e406890400000100000ce4071c009e0dd90d6a07e40899006007840060fee409440060fc9b000112e40ac3700000c0c03d00e40b06f848ff01000016e40c06f7f6fd01000018e40d11190017e0000019e40e091600000100001ce40f091800000100001ee410111f001de000001fe4111c009e21d9216a07</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e4129c009e1bd91b6a07e413c3700000c0c03d00e41419096a07dc009e09e41585ff6007a040002ae4166001002b8c00002ce41780c03d00040060fce418440060fe1b000130e41989050003a0004032e41a857f0033a0c00034e41b8804000281000036e41c9900ef37857fef37e41d8c35193903d00000e41e03b0000020000000e41f60000100a0000200e42006f7dbf801000040e42106f7cffa01000042e42211430041e0000043e42320000041a0000043e4240350000009400000e425894200000100004a</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e4261c009e4bd94b6a45e42799006045840060f8e428440060fa9b000150e429c3700000c0c07b00e42a06f7f6f901000054e42b06f7f8fb01000056e42c11570055e0000057e42d095400000100005ae42e095600000100005ce42f115d005be000005de4301c009e5fd95f6a45e4319c009e59d9596a45e432c3700000c0c07b00e43319476a45dc009e47e43485ff6045a0430068e4357fff00698c00006ae43680c07b00040060fae437440060f81b00016ee43889410043a0004070e439857f0071a0c08072</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e43a8842004081000074e43b9900ef75857fef75e43c8c73197703d00000e43d03b0000020000000e43e60000100a0000200e43f087d003f1c00017ee440e000020014000001e4418700008000000000e48009e000e02088b800e48108000801140200e8e482e00000ea86eb1a04e483c6a9e105140200f7e484e00000eb86eaf008e485c6a9a809140a0006e486a000000a0100000ce487e0000004a0000008e48803d00000140200e3e489e00000e286eabb12e48ac6a9bb13140200e4e48be00000e586eb9216</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e48cc6a9fb1714180014e48da00000180100001ae48ee0000012a0000016e48f200000006000011ee490a000011f06e909e9e491010000211c22351be4929900b522c400600fe493dc000125c400601de494dc00012780c27700e495081a000c0100002ae496140200e7e00000e6e49786de202dc69b822ee498140200f4e00000f6e49986de2031c69b8232e49a082f113301000034e49b22000000142b5535e49cdc00df35c0c23a00e49d1900df3580c27700e49e1900022003d00000e49fd40000202000000c</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e4a0c6cfdb3f46cfba40e4a1010000410942002be4a206cc00420844002be4a33ffdb64511000046e4a480c175003ffee145e4a511000049c0c27700e4a6059fd32b1900a049e4a7e0000036cc4c004ee4a8c7000f00c0c17f00e4a91900d949c0c27700e4aa1900ee4980c16200e4ab19000443c0c27700e4ac3ffee74216000058e4ad2000a036a001e036e4ae2000004c9149e000e4afa000015d0c5e005be4b007000e0000c17f00e4b11900044340c16e00e4b2051f004308000164e4b33ffef449051f0066</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e4b42002003608670068e4b50c65b069c0c27700e4b607000d0000c17f00e4b73ffec7429100006ee4b8c0c2770020014036e4b90c4c007107000d00e4ba00c17f00051f0043e4bb05ff004620040036e4bc087590770c761078e4bd19000443c0c27700e4be19007046c7000c00e4bf87000b000400e0e1e4c01400007f80000000e4c100c0020000000000e50009e000e02088b800e50108000801140200f2e502e00000f386ec4904e503c6aa0b05140200f1e504e00000f086eb0f08e505c6a98e09140a0006</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e506a000000a0100000ce507e0000004a0000008e50803d00000140200ede509e00000ec86eaf712e50ac6a9c513140200efe50be00000ee86eafb16e50cc6a9c31714180014e50da00000180100001ae50ee0000012a0000016e50f200000006000011ee510a000011f06e96bf5e511010000211c22351be5129900b522c400600fe513dc000125c400601de514dc00012780c27700e515081a000c0100002ae516140200e7e00000e6e51786de202dc69b822ee518140200f4e00000f6e51986de2031c69b8232</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e51a082f113301000034e51b23000000142b5535e51cdc00df3580c13a00e51dc400602ddc00013ae51ec4006031dc00013ce51fd41b350d80c27700e520141a000ce000001ae5211900022003d00000e522d400002020000041e523c6cfdb4146cfba46e5240100004706bc0048e525082a31340100004ae526084b00493ffe414ce5271100004dc0c27700e52819009f4dd900ef1be529d900ef0dc57faf4be52ae0140036cc530054e52bc7000a00c0c27300e52c3fff384d11000058e52dc0c2770019002158</parameter>
</TC>
<TC type="128" subtype="102" id="ZID52540" comment="" delta="00:00:01">
<parameter name="SensorID" id="PID00069">3</parameter>
<parameter name="Flags" id="PID00085">15</parameter>
<parameter name="NMessages" id="PID00086">20</parameter>
<parameter name="Messages" id="PID00075">e52ec57ff84be0148036e52fcc5c005dc7000900e530c0c273000948004be5312000206108000262e532051f006319006b58e533c51f4b58e0150036e534c8660067cc64b068e535c7000800c0c27300e53605ff776620190036e537086c106d0c64906ee5381900936cc7000700e539870006000400e0e1e53a1400007380000000e53b00c002000400e0e1e53c14000077c0c00000e53d0700030000000000e69400012c0100008000a695083f0000669700ffe6960003e8010000413c</parameter>
</TC>
</TCs>

View file

@ -1,32 +0,0 @@
#! /usr/bin/python3
from solo.patch import patch
class hetept95(patch):
def assemble(self, **aa):
if self.config is None:
raise ValueError("Please provide a config=")
self.scratch(subversion=5)
self.l3 = self.config.nominal.l3
self.l3_code = [(a,d) for a,d in self.l3.l3_code if a < 0x300]
self.l3.l3_code = self.l3_code
def send(self, msg):
self.send_stop_l3(msg)
self.send_scratch(msg)
self.send_l3(msg, self.l3, init=True, pad=True, fill=False)
self.send_start_l3(msg)
self.send_ping(msg)
def main(self, fmts=["xml", "msg"]):
for fmt in fmts:
fn = "hetept%s_v0009_patch5.%s" % (self.config.unit[-1], fmt)
self.emit(f=fn, fmt=fmt)
import solo.hetept.config
patch1 = hetept95(name="fm1", config=solo.hetept.config.fm1(config_page=0x10000))
patch2 = hetept95(name="fm2", config=solo.hetept.config.fm2(config_page=0x10000))
def main():
patch1.main()

View file

@ -1,66 +0,0 @@
# HET/EPT1 FM1, version 10, rev 0
# env = {CLOSE}
# version/dps: 10/0
# apid/flags, n("section"sum enc/fmt)
# apid: 0x0300 + Tag
# flags: /-separated flags: 0..3 or 'h' or 'r'
# n: dps_items in section
# section: section name; may not contain whitespace
# sum, enc: cadence
# fmt: 0..3: float16, log2, uint24, encoded
# version: 0010
# S20data
0x0320/0x0, 4("S20_e_S" 0/1), 4("S20_e_A" 0/1), 1("S20_p_S" 0/1), 1("S20_p_A" 0/1)
# Low Latency
0x0331/0x0/0x2, 8("LL_EPT_e_S" 3/1), 8("LL_EPT_e_A" 3/1), 18("LL_EPT_i_S" 3/1), 18("LL_EPT_i_A" 3/1), 1("LL_EPT_T_e_S" 1/3), 1("LL_EPT_T_e_A" 1/3), 2("LL_EPT_T_i_S" 1/3), 2("LL_EPT_T_i_A" 1/3), 2("LL_HETB_p_S" 3/1), 2("LL_HETB_p_A" 3/1), 10("LL_HETC_p_S" 3/1), 10("LL_HETC_p_A" 3/1), 2("LL_HETP_p_S" 3/1), 2("LL_HETP_p_A" 3/1), 2("LL_HETP_p_E" 3/1), 1("LL_HETB_e_S" 3/1), 1("LL_HETB_e_A" 3/1), 3("LL_HETC_e_S" 3/1), 3("LL_HETC_e_A" 3/1), 2("LL_HETB_he3_S" 5/1), 2("LL_HETB_he3_A" 5/1), 2("LL_HETB_he4_S" 5/1), 2("LL_HETB_he4_A" 5/1), 4("LL_HETC_he3_S" 5/1), 4("LL_HETC_he3_A" 5/1), 8("LL_HETC_he4_S" 5/1), 8("LL_HETC_he4_A" 5/1), 4("LL_HETB_he_S" 5/1), 4("LL_HETB_he_A" 5/1), 2("LL_HETP_he_S" 5/1), 2("LL_HETP_he_A" 5/1), 2("LL_HETP_he_E" 5/1), 6("LL_HETB_cno_S" 6/1), 6("LL_HETB_cno_A" 6/1), 9("LL_HETC_cno_S" 6/1), 9("LL_HETC_cno_A" 6/1), 2("LL_HETP_cno_S" 7/1), 2("LL_HETP_cno_A" 7/1), 2("LL_HETP_cno_E" 7/1), 2("LL_HETB_fe_S" 6/1), 2("LL_HETB_fe_A" 6/1), 3("LL_HETC_fe_S" 7/1), 3("LL_HETC_fe_A" 7/1), 1("LL_HETP_fe_S" 7/1), 1("LL_HETP_fe_A" 7/1), 3("LL_HETC_T_p_S" 1/3), 3("LL_HETC_T_p_A" 1/3), 1("LL_HETC_T_e_S" 1/3), 1("LL_HETC_T_e_A" 1/3)
# Nominal
0x0351/0x0, 77("NO_EPT_mag_S" 0/3), 77("NO_EPT_mag_A" 0/3), 77("NO_EPT_foil_S" 0/3), 77("NO_EPT_foil_A" 0/3), 2("NO_EPTP_e_S" 1/3), 2("NO_EPTP_e_A" 1/3), 4("NO_EPTP_p_S" 1/3), 4("NO_EPTP_p_A" 1/3), 4("NO_EPTP_p_E" 1/3), 2("NO_EPTP_he3_S" 3/3), 2("NO_EPTP_he3_A" 3/3), 1("NO_EPTP_he3_E" 3/3), 2("NO_EPTP_he4_S" 3/3), 2("NO_EPTP_he4_A" 3/3), 1("NO_EPTP_he4_E" 3/3), 1("NO_EPTP_he_S" 3/3), 1("NO_EPTP_he_A" 3/3), 4("NO_EPTP_he_E" 3/3), 1("NO_HETP_bg_S" 6/3), 1("NO_HETP_bg_A" 6/3), 1("NO_HETB_bg_S" 6/3), 1("NO_HETB_bg_A" 6/3), 5("NO_HETB_p_S" 1/3), 5("NO_HETB_p_A" 1/3), 1("NO_HETB_tail_high_p_S" 1/3), 1("NO_HETB_tail_high_p_A" 1/3), 31("NO_HETC_p_S" 1/3), 31("NO_HETC_p_A" 1/3), 2("NO_HETP_p_S" 1/3), 2("NO_HETP_p_A" 1/3), 3("NO_HETP_p_E" 3/3), 1("NO_HETB_H_p_S" 0/3), 1("NO_HETB_H_p_A" 0/3), 3("NO_HETC_H_p_S" 0/3), 3("NO_HETC_H_p_A" 0/3), 1("NO_HETB_e_S" 0/3), 1("NO_HETB_e_A" 0/3), 3("NO_HETC_e_S" 0/3), 3("NO_HETC_e_A" 0/3), 1("NO_HETC_H_e_S" 3/3), 1("NO_HETC_H_e_A" 3/3), 4("NO_HETB_he3_S" 3/3), 4("NO_HETB_he3_A" 3/3), 4("NO_HETB_he4_S" 3/3), 4("NO_HETB_he4_A" 3/3), 5("NO_HETC_he3_S" 3/3), 5("NO_HETC_he3_A" 3/3), 11("NO_HETC_he4_S" 3/3), 11("NO_HETC_he4_A" 3/3), 6("NO_HETB_he_S" 1/3), 6("NO_HETB_he_A" 1/3), 2("NO_HETP_he_S" 4/3), 2("NO_HETP_he_A" 4/3), 4("NO_HETP_he_E" 4/3), 12("NO_HETC_c_S" 4/3), 12("NO_HETC_c_A" 4/3), 12("NO_HETC_n_S" 4/3), 12("NO_HETC_n_A" 4/3), 12("NO_HETC_o_S" 4/3), 12("NO_HETC_o_A" 4/3), 5("NO_HETB_c_S" 4/3), 5("NO_HETB_c_A" 4/3), 5("NO_HETB_n_S" 4/3), 5("NO_HETB_n_A" 4/3), 5("NO_HETB_o_S" 4/3), 5("NO_HETB_o_A" 4/3), 2("NO_HETP_cno_S" 6/3), 2("NO_HETP_cno_A" 6/3), 6("NO_HETP_cno_E" 6/3), 11("NO_HETC_fe_S" 5/3), 11("NO_HETC_fe_A" 5/3), 5("NO_HETB_fe_S" 5/3), 5("NO_HETB_fe_A" 5/3), 2("NO_HETP_fe_S" 6/3), 2("NO_HETP_fe_A" 6/3), 3("NO_HETP_fe_E" 6/3)
# Burst1n
0x0361/0x0, 48("B1_EPT_mag_S" 2/3), 48("B1_EPT_mag_A" 2/3), 2("B1_EPTP_he3_S" 1/3), 2("B1_EPTP_he3_A" 1/3), 1("B1_EPTP_he3_E" 1/3), 2("B1_EPTP_he4_S" 1/3), 2("B1_EPTP_he4_A" 1/3), 1("B1_EPTP_he4_E" 1/3)
# Unstable
0x0355/0x0, 1("NU_HETB_tail_low_p_S" 5/3), 1("NU_HETB_tail_low_p_A" 5/3), 2("NU_HETB_he34_S" 4/3), 2("NU_HETB_he34_A" 4/3), 5("NU_HETP_lbb_E" 5/3), 1("NU_HETB_cno_S" 5/3), 1("NU_HETB_cno_A" 5/3), 11("NU_HETC_ne_S" 5/3), 11("NU_HETC_ne_A" 5/3), 11("NU_HETC_mg_S" 5/3), 11("NU_HETC_mg_A" 5/3), 11("NU_HETC_si_S" 5/3), 11("NU_HETC_si_A" 5/3), 11("NU_HETC_s_S" 5/3), 11("NU_HETC_s_A" 5/3), 5("NU_HETB_ne_S" 5/3), 5("NU_HETB_ne_A" 5/3), 5("NU_HETB_mg_S" 5/3), 5("NU_HETB_mg_A" 5/3), 5("NU_HETB_si_S" 5/3), 5("NU_HETB_si_A" 5/3), 5("NU_HETB_s_S" 5/3), 5("NU_HETB_s_A" 5/3), 1("NU_HETB_wpen_nemgsis_S" 6/3), 1("NU_HETB_wpen_nemgsis_A" 6/3), 7("NU_HETP_nemgsis_E" 7/3), 11("NU_HETC_ar_S" 5/3), 11("NU_HETC_ar_A" 5/3), 11("NU_HETC_ca_S" 5/3), 11("NU_HETC_ca_A" 5/3), 11("NU_HETC_ni_S" 5/3), 11("NU_HETC_ni_A" 5/3), 5("NU_HETB_ar_S" 5/3), 5("NU_HETB_ar_A" 5/3), 5("NU_HETB_ca_S" 5/3), 5("NU_HETB_ca_A" 5/3), 5("NU_HETB_ni_S" 5/3), 5("NU_HETB_ni_A" 5/3), 1("NU_HETB_wpen_arcafeni_S" 6/3), 1("NU_HETB_wpen_arcafeni_A" 6/3), 2("NU_HETG_p_E" 4/3)
# Burst2n
0x0369/0x0, 6("B2_HETB_p_S" 0/3), 6("B2_HETB_p_A" 0/3), 62("B2_HETC_p_S" 0/3), 62("B2_HETC_p_A" 0/3), 2("B2_HETP_p_S" 0/3), 2("B2_HETP_p_A" 0/3), 3("B2_HETP_p_E" 0/3), 4("B2_HETB_he3_S" 1/3), 4("B2_HETB_he3_A" 1/3), 6("B2_HETB_he4_S" 1/3), 6("B2_HETB_he4_A" 1/3), 5("B2_HETC_he3_S" 1/3), 5("B2_HETC_he3_A" 1/3), 11("B2_HETC_he4_S" 1/3), 11("B2_HETC_he4_A" 1/3), 4("B2_HETB_he_S" 0/3), 4("B2_HETB_he_A" 0/3), 2("B2_HETP_he_S" 1/3), 2("B2_HETP_he_A" 1/3), 3("B2_HETP_he_E" 1/3), 7("B2_HETG_p_E" 1/3)
# HET/EPT1 FM1, version 10, rev 0
# env = {FAR}
# version/dps: 10/0
# apid/flags, n("section"sum enc/fmt)
# apid: 0x0300 + Tag
# flags: /-separated flags: 0..3 or 'h' or 'r'
# n: dps_items in section
# section: section name; may not contain whitespace
# sum, enc: cadence
# fmt: 0..3: float16, log2, uint24, encoded
# version: 0000
# S20data
0x0320/0x0, 4("S20_e_S" 0/1), 4("S20_e_A" 0/1), 1("S20_p_S" 0/1), 1("S20_p_A" 0/1)
# Low Latency
0x0331/0x0/0x2, 8("LL_EPT_e_S" 3/1), 8("LL_EPT_e_A" 3/1), 18("LL_EPT_i_S" 3/1), 18("LL_EPT_i_A" 3/1), 1("LL_EPT_T_e_S" 1/3), 1("LL_EPT_T_e_A" 1/3), 2("LL_EPT_T_i_S" 1/3), 2("LL_EPT_T_i_A" 1/3), 2("LL_HETB_p_S" 3/1), 2("LL_HETB_p_A" 3/1), 10("LL_HETC_p_S" 3/1), 10("LL_HETC_p_A" 3/1), 2("LL_HETP_p_S" 3/1), 2("LL_HETP_p_A" 3/1), 2("LL_HETP_p_E" 3/1), 1("LL_HETB_e_S" 3/1), 1("LL_HETB_e_A" 3/1), 3("LL_HETC_e_S" 3/1), 3("LL_HETC_e_A" 3/1), 2("LL_HETB_he3_S" 5/1), 2("LL_HETB_he3_A" 5/1), 2("LL_HETB_he4_S" 5/1), 2("LL_HETB_he4_A" 5/1), 4("LL_HETC_he3_S" 5/1), 4("LL_HETC_he3_A" 5/1), 8("LL_HETC_he4_S" 5/1), 8("LL_HETC_he4_A" 5/1), 4("LL_HETB_he_S" 5/1), 4("LL_HETB_he_A" 5/1), 2("LL_HETP_he_S" 5/1), 2("LL_HETP_he_A" 5/1), 2("LL_HETP_he_E" 5/1), 6("LL_HETB_cno_S" 6/1), 6("LL_HETB_cno_A" 6/1), 9("LL_HETC_cno_S" 6/1), 9("LL_HETC_cno_A" 6/1), 2("LL_HETP_cno_S" 7/1), 2("LL_HETP_cno_A" 7/1), 2("LL_HETP_cno_E" 7/1), 2("LL_HETB_fe_S" 6/1), 2("LL_HETB_fe_A" 6/1), 3("LL_HETC_fe_S" 7/1), 3("LL_HETC_fe_A" 7/1), 1("LL_HETP_fe_S" 7/1), 1("LL_HETP_fe_A" 7/1), 3("LL_HETC_T_p_S" 1/3), 3("LL_HETC_T_p_A" 1/3), 1("LL_HETC_T_e_S" 1/3), 1("LL_HETC_T_e_A" 1/3)
# Nominal
0x0351/0x1, 77("NO_EPT_mag_S" 1/3), 77("NO_EPT_mag_A" 1/3), 77("NO_EPT_foil_S" 1/3), 77("NO_EPT_foil_A" 1/3), 2("NO_EPTP_e_S" 3/3), 2("NO_EPTP_e_A" 3/3), 4("NO_EPTP_p_S" 3/3), 4("NO_EPTP_p_A" 3/3), 4("NO_EPTP_p_E" 3/3), 2("NO_EPTP_he3_S" 4/3), 2("NO_EPTP_he3_A" 4/3), 1("NO_EPTP_he3_E" 4/3), 2("NO_EPTP_he4_S" 4/3), 2("NO_EPTP_he4_A" 4/3), 1("NO_EPTP_he4_E" 4/3), 1("NO_EPTP_he_S" 4/3), 1("NO_EPTP_he_A" 4/3), 4("NO_EPTP_he_E" 4/3), 1("NO_HETP_bg_S" 6/3), 1("NO_HETP_bg_A" 6/3), 1("NO_HETB_bg_S" 6/3), 1("NO_HETB_bg_A" 6/3), 5("NO_HETB_p_S" 3/3), 5("NO_HETB_p_A" 3/3), 1("NO_HETB_tail_high_p_S" 3/3), 1("NO_HETB_tail_high_p_A" 3/3), 31("NO_HETC_p_S" 3/3), 31("NO_HETC_p_A" 3/3), 2("NO_HETP_p_S" 3/3), 2("NO_HETP_p_A" 3/3), 3("NO_HETP_p_E" 4/3), 1("NO_HETB_H_p_S" 1/3), 1("NO_HETB_H_p_A" 1/3), 3("NO_HETC_H_p_S" 1/3), 3("NO_HETC_H_p_A" 1/3), 1("NO_HETB_e_S" 1/3), 1("NO_HETB_e_A" 1/3), 3("NO_HETC_e_S" 1/3), 3("NO_HETC_e_A" 1/3), 1("NO_HETC_H_e_S" 4/3), 1("NO_HETC_H_e_A" 4/3), 4("NO_HETB_he3_S" 4/3), 4("NO_HETB_he3_A" 4/3), 4("NO_HETB_he4_S" 4/3), 4("NO_HETB_he4_A" 4/3), 5("NO_HETC_he3_S" 4/3), 5("NO_HETC_he3_A" 4/3), 11("NO_HETC_he4_S" 4/3), 11("NO_HETC_he4_A" 4/3), 6("NO_HETB_he_S" 3/3), 6("NO_HETB_he_A" 3/3), 2("NO_HETP_he_S" 5/3), 2("NO_HETP_he_A" 5/3), 4("NO_HETP_he_E" 5/3), 12("NO_HETC_c_S" 5/3), 12("NO_HETC_c_A" 5/3), 12("NO_HETC_n_S" 5/3), 12("NO_HETC_n_A" 5/3), 12("NO_HETC_o_S" 5/3), 12("NO_HETC_o_A" 5/3), 5("NO_HETB_c_S" 5/3), 5("NO_HETB_c_A" 5/3), 5("NO_HETB_n_S" 5/3), 5("NO_HETB_n_A" 5/3), 5("NO_HETB_o_S" 5/3), 5("NO_HETB_o_A" 5/3), 2("NO_HETP_cno_S" 6/3), 2("NO_HETP_cno_A" 6/3), 6("NO_HETP_cno_E" 6/3), 11("NO_HETC_fe_S" 6/3), 11("NO_HETC_fe_A" 6/3), 5("NO_HETB_fe_S" 6/3), 5("NO_HETB_fe_A" 6/3), 2("NO_HETP_fe_S" 6/3), 2("NO_HETP_fe_A" 6/3), 3("NO_HETP_fe_E" 6/3)
# Burst1n
0x0361/0x1, 48("B1_EPT_mag_S" 2/3), 48("B1_EPT_mag_A" 2/3), 2("B1_EPTP_he3_S" 1/3), 2("B1_EPTP_he3_A" 1/3), 1("B1_EPTP_he3_E" 1/3), 2("B1_EPTP_he4_S" 1/3), 2("B1_EPTP_he4_A" 1/3), 1("B1_EPTP_he4_E" 1/3)
# Unstable
0x0355/0x1, 1("NU_HETB_tail_low_p_S" 6/3), 1("NU_HETB_tail_low_p_A" 6/3), 2("NU_HETB_he34_S" 5/3), 2("NU_HETB_he34_A" 5/3), 5("NU_HETP_lbb_E" 6/3), 1("NU_HETB_cno_S" 6/3), 1("NU_HETB_cno_A" 6/3), 11("NU_HETC_ne_S" 6/3), 11("NU_HETC_ne_A" 6/3), 11("NU_HETC_mg_S" 6/3), 11("NU_HETC_mg_A" 6/3), 11("NU_HETC_si_S" 6/3), 11("NU_HETC_si_A" 6/3), 11("NU_HETC_s_S" 6/3), 11("NU_HETC_s_A" 6/3), 5("NU_HETB_ne_S" 6/3), 5("NU_HETB_ne_A" 6/3), 5("NU_HETB_mg_S" 6/3), 5("NU_HETB_mg_A" 6/3), 5("NU_HETB_si_S" 6/3), 5("NU_HETB_si_A" 6/3), 5("NU_HETB_s_S" 6/3), 5("NU_HETB_s_A" 6/3), 1("NU_HETB_wpen_nemgsis_S" 6/3), 1("NU_HETB_wpen_nemgsis_A" 6/3), 7("NU_HETP_nemgsis_E" 7/3), 11("NU_HETC_ar_S" 6/3), 11("NU_HETC_ar_A" 6/3), 11("NU_HETC_ca_S" 6/3), 11("NU_HETC_ca_A" 6/3), 11("NU_HETC_ni_S" 6/3), 11("NU_HETC_ni_A" 6/3), 5("NU_HETB_ar_S" 6/3), 5("NU_HETB_ar_A" 6/3), 5("NU_HETB_ca_S" 6/3), 5("NU_HETB_ca_A" 6/3), 5("NU_HETB_ni_S" 6/3), 5("NU_HETB_ni_A" 6/3), 1("NU_HETB_wpen_arcafeni_S" 6/3), 1("NU_HETB_wpen_arcafeni_A" 6/3), 2("NU_HETG_p_E" 5/3)
# Burst2n
0x0369/0x1, 6("B2_HETB_p_S" 0/3), 6("B2_HETB_p_A" 0/3), 62("B2_HETC_p_S" 0/3), 62("B2_HETC_p_A" 0/3), 2("B2_HETP_p_S" 0/3), 2("B2_HETP_p_A" 0/3), 3("B2_HETP_p_E" 0/3), 4("B2_HETB_he3_S" 1/3), 4("B2_HETB_he3_A" 1/3), 6("B2_HETB_he4_S" 1/3), 6("B2_HETB_he4_A" 1/3), 5("B2_HETC_he3_S" 1/3), 5("B2_HETC_he3_A" 1/3), 11("B2_HETC_he4_S" 1/3), 11("B2_HETC_he4_A" 1/3), 4("B2_HETB_he_S" 0/3), 4("B2_HETB_he_A" 0/3), 2("B2_HETP_he_S" 1/3), 2("B2_HETP_he_A" 1/3), 3("B2_HETP_he_E" 1/3), 1("B2_HETB_e_S" 0/3), 1("B2_HETB_e_A" 0/3), 3("B2_HETC_e_S" 0/3), 3("B2_HETC_e_A" 0/3), 7("B2_HETG_p_E" 1/3)

View file

@ -1,31 +0,0 @@
#<tag>:\n\t<ad> <us> <mod_phase> <mod_cadence> <header>\n...
0x48:
0x0148 6 1 600 0x0000007f
0x0548 9 3 600 0x10040090
0x0548 11 8 3600 0x080400c0
0x0548 12 68 3600 0x0c0400a0
0x0548 13 128 3600 0x100f00000
0x0548 15 188 3600 0x202c2000
0x0548 60 0 600 0x10040030
0x0548 85 0 600 0x10040000
0x0848 170 0 60 0x0000820c
0x0848 171 298 3600 0x000081e7
0x54:
0x0554 21 7 300 0x100a00000
0x0554 23 17 300 0x100a00100
0x0554 24 27 300 0x100a00200
0x0554 25 37 300 0x100a00300
0x0554 27 47 300 0x100a00400
0x0554 28 57 300 0x100a00500
0x0554 29 67 300 0x100a00600
0x0554 31 77 300 0x100a00700
0x0554 32 87 300 0x100a00800
0x0554 33 97 300 0x100a00900
0x0554 35 107 300 0x100a00a00
0x0554 36 117 300 0x100a00b00
0x0554 37 127 300 0x100a00c00
0x0554 39 137 300 0x100a00d00
0x0554 40 147 300 0x100a00e00
0x0554 41 157 300 0x100a00f00

File diff suppressed because it is too large Load diff

View file

@ -1,7 +0,0 @@
#! /usr/bin/python3
from ...hetept1.v0009.hetept_config_hetele_patch5 import patch2
def main():
patch2.main()

View file

@ -1,66 +0,0 @@
# HET/EPT2 FM2, version 10, rev 0
# env = {CLOSE}
# version/dps: 10/0
# apid/flags, n("section"sum enc/fmt)
# apid: 0x0300 + Tag
# flags: /-separated flags: 0..3 or 'h' or 'r'
# n: dps_items in section
# section: section name; may not contain whitespace
# sum, enc: cadence
# fmt: 0..3: float16, log2, uint24, encoded
# version: 0010
# S20data
0x0320/0x0, 4("S20_e_N" 0/1), 4("S20_e_D" 0/1), 1("S20_p_N" 0/1), 1("S20_p_D" 0/1)
# Low Latency
0x0332/0x0/0x2, 8("LL_EPT_e_N" 3/1), 8("LL_EPT_e_D" 3/1), 18("LL_EPT_i_N" 3/1), 18("LL_EPT_i_D" 3/1), 1("LL_EPT_T_e_N" 1/3), 1("LL_EPT_T_e_D" 1/3), 2("LL_EPT_T_i_N" 1/3), 2("LL_EPT_T_i_D" 1/3), 2("LL_HETB_p_N" 3/1), 2("LL_HETB_p_D" 3/1), 10("LL_HETC_p_N" 3/1), 10("LL_HETC_p_D" 3/1), 2("LL_HETP_p_N" 3/1), 2("LL_HETP_p_D" 3/1), 2("LL_HETP_p_P" 3/1), 1("LL_HETB_e_N" 3/1), 1("LL_HETB_e_D" 3/1), 3("LL_HETC_e_N" 3/1), 3("LL_HETC_e_D" 3/1), 2("LL_HETB_he3_N" 5/1), 2("LL_HETB_he3_D" 5/1), 2("LL_HETB_he4_N" 5/1), 2("LL_HETB_he4_D" 5/1), 4("LL_HETC_he3_N" 5/1), 4("LL_HETC_he3_D" 5/1), 8("LL_HETC_he4_N" 5/1), 8("LL_HETC_he4_D" 5/1), 4("LL_HETB_he_N" 5/1), 4("LL_HETB_he_D" 5/1), 2("LL_HETP_he_N" 5/1), 2("LL_HETP_he_D" 5/1), 2("LL_HETP_he_P" 5/1), 6("LL_HETB_cno_N" 6/1), 6("LL_HETB_cno_D" 6/1), 9("LL_HETC_cno_N" 6/1), 9("LL_HETC_cno_D" 6/1), 2("LL_HETP_cno_N" 7/1), 2("LL_HETP_cno_D" 7/1), 2("LL_HETP_cno_P" 7/1), 2("LL_HETB_fe_N" 6/1), 2("LL_HETB_fe_D" 6/1), 3("LL_HETC_fe_N" 7/1), 3("LL_HETC_fe_D" 7/1), 1("LL_HETP_fe_N" 7/1), 1("LL_HETP_fe_D" 7/1), 3("LL_HETC_T_p_N" 1/3), 3("LL_HETC_T_p_D" 1/3), 1("LL_HETC_T_e_N" 1/3), 1("LL_HETC_T_e_D" 1/3)
# Nominal
0x0352/0x0, 77("NO_EPT_mag_N" 0/3), 77("NO_EPT_mag_D" 0/3), 77("NO_EPT_foil_N" 0/3), 77("NO_EPT_foil_D" 0/3), 2("NO_EPTP_e_N" 1/3), 2("NO_EPTP_e_D" 1/3), 4("NO_EPTP_p_N" 1/3), 4("NO_EPTP_p_D" 1/3), 4("NO_EPTP_p_P" 1/3), 2("NO_EPTP_he3_N" 3/3), 2("NO_EPTP_he3_D" 3/3), 1("NO_EPTP_he3_P" 3/3), 2("NO_EPTP_he4_N" 3/3), 2("NO_EPTP_he4_D" 3/3), 1("NO_EPTP_he4_P" 3/3), 1("NO_EPTP_he_N" 3/3), 1("NO_EPTP_he_D" 3/3), 4("NO_EPTP_he_P" 3/3), 1("NO_HETP_bg_N" 6/3), 1("NO_HETP_bg_D" 6/3), 1("NO_HETB_bg_N" 6/3), 1("NO_HETB_bg_D" 6/3), 5("NO_HETB_p_N" 1/3), 5("NO_HETB_p_D" 1/3), 1("NO_HETB_tail_high_p_N" 1/3), 1("NO_HETB_tail_high_p_D" 1/3), 31("NO_HETC_p_N" 1/3), 31("NO_HETC_p_D" 1/3), 2("NO_HETP_p_N" 1/3), 2("NO_HETP_p_D" 1/3), 3("NO_HETP_p_P" 3/3), 1("NO_HETB_H_p_N" 0/3), 1("NO_HETB_H_p_D" 0/3), 3("NO_HETC_H_p_N" 0/3), 3("NO_HETC_H_p_D" 0/3), 1("NO_HETB_e_N" 0/3), 1("NO_HETB_e_D" 0/3), 3("NO_HETC_e_N" 0/3), 3("NO_HETC_e_D" 0/3), 1("NO_HETC_H_e_N" 3/3), 1("NO_HETC_H_e_D" 3/3), 4("NO_HETB_he3_N" 3/3), 4("NO_HETB_he3_D" 3/3), 4("NO_HETB_he4_N" 3/3), 4("NO_HETB_he4_D" 3/3), 5("NO_HETC_he3_N" 3/3), 5("NO_HETC_he3_D" 3/3), 11("NO_HETC_he4_N" 3/3), 11("NO_HETC_he4_D" 3/3), 6("NO_HETB_he_N" 1/3), 6("NO_HETB_he_D" 1/3), 2("NO_HETP_he_N" 4/3), 2("NO_HETP_he_D" 4/3), 4("NO_HETP_he_P" 4/3), 12("NO_HETC_c_N" 4/3), 12("NO_HETC_c_D" 4/3), 12("NO_HETC_n_N" 4/3), 12("NO_HETC_n_D" 4/3), 12("NO_HETC_o_N" 4/3), 12("NO_HETC_o_D" 4/3), 5("NO_HETB_c_N" 4/3), 5("NO_HETB_c_D" 4/3), 5("NO_HETB_n_N" 4/3), 5("NO_HETB_n_D" 4/3), 5("NO_HETB_o_N" 4/3), 5("NO_HETB_o_D" 4/3), 2("NO_HETP_cno_N" 6/3), 2("NO_HETP_cno_D" 6/3), 6("NO_HETP_cno_P" 6/3), 11("NO_HETC_fe_N" 5/3), 11("NO_HETC_fe_D" 5/3), 5("NO_HETB_fe_N" 5/3), 5("NO_HETB_fe_D" 5/3), 2("NO_HETP_fe_N" 6/3), 2("NO_HETP_fe_D" 6/3), 3("NO_HETP_fe_P" 6/3)
# Burst1n
0x0362/0x0, 48("B1_EPT_mag_N" 2/3), 48("B1_EPT_mag_D" 2/3), 2("B1_EPTP_he3_N" 1/3), 2("B1_EPTP_he3_D" 1/3), 1("B1_EPTP_he3_P" 1/3), 2("B1_EPTP_he4_N" 1/3), 2("B1_EPTP_he4_D" 1/3), 1("B1_EPTP_he4_P" 1/3)
# Unstable
0x0356/0x0, 1("NU_HETB_tail_low_p_N" 5/3), 1("NU_HETB_tail_low_p_D" 5/3), 2("NU_HETB_he34_N" 4/3), 2("NU_HETB_he34_D" 4/3), 5("NU_HETP_lbb_P" 5/3), 1("NU_HETB_cno_N" 5/3), 1("NU_HETB_cno_D" 5/3), 11("NU_HETC_ne_N" 5/3), 11("NU_HETC_ne_D" 5/3), 11("NU_HETC_mg_N" 5/3), 11("NU_HETC_mg_D" 5/3), 11("NU_HETC_si_N" 5/3), 11("NU_HETC_si_D" 5/3), 11("NU_HETC_s_N" 5/3), 11("NU_HETC_s_D" 5/3), 5("NU_HETB_ne_N" 5/3), 5("NU_HETB_ne_D" 5/3), 5("NU_HETB_mg_N" 5/3), 5("NU_HETB_mg_D" 5/3), 5("NU_HETB_si_N" 5/3), 5("NU_HETB_si_D" 5/3), 5("NU_HETB_s_N" 5/3), 5("NU_HETB_s_D" 5/3), 1("NU_HETB_wpen_nemgsis_N" 6/3), 1("NU_HETB_wpen_nemgsis_D" 6/3), 7("NU_HETP_nemgsis_P" 7/3), 11("NU_HETC_ar_N" 5/3), 11("NU_HETC_ar_D" 5/3), 11("NU_HETC_ca_N" 5/3), 11("NU_HETC_ca_D" 5/3), 11("NU_HETC_ni_N" 5/3), 11("NU_HETC_ni_D" 5/3), 5("NU_HETB_ar_N" 5/3), 5("NU_HETB_ar_D" 5/3), 5("NU_HETB_ca_N" 5/3), 5("NU_HETB_ca_D" 5/3), 5("NU_HETB_ni_N" 5/3), 5("NU_HETB_ni_D" 5/3), 1("NU_HETB_wpen_arcafeni_N" 6/3), 1("NU_HETB_wpen_arcafeni_D" 6/3), 2("NU_HETG_p_P" 4/3)
# Burst2n
0x036a/0x0, 6("B2_HETB_p_N" 0/3), 6("B2_HETB_p_D" 0/3), 62("B2_HETC_p_N" 0/3), 62("B2_HETC_p_D" 0/3), 2("B2_HETP_p_N" 0/3), 2("B2_HETP_p_D" 0/3), 3("B2_HETP_p_P" 0/3), 4("B2_HETB_he3_N" 1/3), 4("B2_HETB_he3_D" 1/3), 6("B2_HETB_he4_N" 1/3), 6("B2_HETB_he4_D" 1/3), 5("B2_HETC_he3_N" 1/3), 5("B2_HETC_he3_D" 1/3), 11("B2_HETC_he4_N" 1/3), 11("B2_HETC_he4_D" 1/3), 4("B2_HETB_he_N" 0/3), 4("B2_HETB_he_D" 0/3), 2("B2_HETP_he_N" 1/3), 2("B2_HETP_he_D" 1/3), 3("B2_HETP_he_P" 1/3), 7("B2_HETG_p_P" 1/3)
# HET/EPT2 FM2, version 10, rev 0
# env = {FAR}
# version/dps: 10/0
# apid/flags, n("section"sum enc/fmt)
# apid: 0x0300 + Tag
# flags: /-separated flags: 0..3 or 'h' or 'r'
# n: dps_items in section
# section: section name; may not contain whitespace
# sum, enc: cadence
# fmt: 0..3: float16, log2, uint24, encoded
# version: 0000
# S20data
0x0320/0x0, 4("S20_e_N" 0/1), 4("S20_e_D" 0/1), 1("S20_p_N" 0/1), 1("S20_p_D" 0/1)
# Low Latency
0x0332/0x0/0x2, 8("LL_EPT_e_N" 3/1), 8("LL_EPT_e_D" 3/1), 18("LL_EPT_i_N" 3/1), 18("LL_EPT_i_D" 3/1), 1("LL_EPT_T_e_N" 1/3), 1("LL_EPT_T_e_D" 1/3), 2("LL_EPT_T_i_N" 1/3), 2("LL_EPT_T_i_D" 1/3), 2("LL_HETB_p_N" 3/1), 2("LL_HETB_p_D" 3/1), 10("LL_HETC_p_N" 3/1), 10("LL_HETC_p_D" 3/1), 2("LL_HETP_p_N" 3/1), 2("LL_HETP_p_D" 3/1), 2("LL_HETP_p_P" 3/1), 1("LL_HETB_e_N" 3/1), 1("LL_HETB_e_D" 3/1), 3("LL_HETC_e_N" 3/1), 3("LL_HETC_e_D" 3/1), 2("LL_HETB_he3_N" 5/1), 2("LL_HETB_he3_D" 5/1), 2("LL_HETB_he4_N" 5/1), 2("LL_HETB_he4_D" 5/1), 4("LL_HETC_he3_N" 5/1), 4("LL_HETC_he3_D" 5/1), 8("LL_HETC_he4_N" 5/1), 8("LL_HETC_he4_D" 5/1), 4("LL_HETB_he_N" 5/1), 4("LL_HETB_he_D" 5/1), 2("LL_HETP_he_N" 5/1), 2("LL_HETP_he_D" 5/1), 2("LL_HETP_he_P" 5/1), 6("LL_HETB_cno_N" 6/1), 6("LL_HETB_cno_D" 6/1), 9("LL_HETC_cno_N" 6/1), 9("LL_HETC_cno_D" 6/1), 2("LL_HETP_cno_N" 7/1), 2("LL_HETP_cno_D" 7/1), 2("LL_HETP_cno_P" 7/1), 2("LL_HETB_fe_N" 6/1), 2("LL_HETB_fe_D" 6/1), 3("LL_HETC_fe_N" 7/1), 3("LL_HETC_fe_D" 7/1), 1("LL_HETP_fe_N" 7/1), 1("LL_HETP_fe_D" 7/1), 3("LL_HETC_T_p_N" 1/3), 3("LL_HETC_T_p_D" 1/3), 1("LL_HETC_T_e_N" 1/3), 1("LL_HETC_T_e_D" 1/3)
# Nominal
0x0352/0x1, 77("NO_EPT_mag_N" 1/3), 77("NO_EPT_mag_D" 1/3), 77("NO_EPT_foil_N" 1/3), 77("NO_EPT_foil_D" 1/3), 2("NO_EPTP_e_N" 3/3), 2("NO_EPTP_e_D" 3/3), 4("NO_EPTP_p_N" 3/3), 4("NO_EPTP_p_D" 3/3), 4("NO_EPTP_p_P" 3/3), 2("NO_EPTP_he3_N" 4/3), 2("NO_EPTP_he3_D" 4/3), 1("NO_EPTP_he3_P" 4/3), 2("NO_EPTP_he4_N" 4/3), 2("NO_EPTP_he4_D" 4/3), 1("NO_EPTP_he4_P" 4/3), 1("NO_EPTP_he_N" 4/3), 1("NO_EPTP_he_D" 4/3), 4("NO_EPTP_he_P" 4/3), 1("NO_HETP_bg_N" 6/3), 1("NO_HETP_bg_D" 6/3), 1("NO_HETB_bg_N" 6/3), 1("NO_HETB_bg_D" 6/3), 5("NO_HETB_p_N" 3/3), 5("NO_HETB_p_D" 3/3), 1("NO_HETB_tail_high_p_N" 3/3), 1("NO_HETB_tail_high_p_D" 3/3), 31("NO_HETC_p_N" 3/3), 31("NO_HETC_p_D" 3/3), 2("NO_HETP_p_N" 3/3), 2("NO_HETP_p_D" 3/3), 3("NO_HETP_p_P" 4/3), 1("NO_HETB_H_p_N" 1/3), 1("NO_HETB_H_p_D" 1/3), 3("NO_HETC_H_p_N" 1/3), 3("NO_HETC_H_p_D" 1/3), 1("NO_HETB_e_N" 1/3), 1("NO_HETB_e_D" 1/3), 3("NO_HETC_e_N" 1/3), 3("NO_HETC_e_D" 1/3), 1("NO_HETC_H_e_N" 4/3), 1("NO_HETC_H_e_D" 4/3), 4("NO_HETB_he3_N" 4/3), 4("NO_HETB_he3_D" 4/3), 4("NO_HETB_he4_N" 4/3), 4("NO_HETB_he4_D" 4/3), 5("NO_HETC_he3_N" 4/3), 5("NO_HETC_he3_D" 4/3), 11("NO_HETC_he4_N" 4/3), 11("NO_HETC_he4_D" 4/3), 6("NO_HETB_he_N" 3/3), 6("NO_HETB_he_D" 3/3), 2("NO_HETP_he_N" 5/3), 2("NO_HETP_he_D" 5/3), 4("NO_HETP_he_P" 5/3), 12("NO_HETC_c_N" 5/3), 12("NO_HETC_c_D" 5/3), 12("NO_HETC_n_N" 5/3), 12("NO_HETC_n_D" 5/3), 12("NO_HETC_o_N" 5/3), 12("NO_HETC_o_D" 5/3), 5("NO_HETB_c_N" 5/3), 5("NO_HETB_c_D" 5/3), 5("NO_HETB_n_N" 5/3), 5("NO_HETB_n_D" 5/3), 5("NO_HETB_o_N" 5/3), 5("NO_HETB_o_D" 5/3), 2("NO_HETP_cno_N" 6/3), 2("NO_HETP_cno_D" 6/3), 6("NO_HETP_cno_P" 6/3), 11("NO_HETC_fe_N" 6/3), 11("NO_HETC_fe_D" 6/3), 5("NO_HETB_fe_N" 6/3), 5("NO_HETB_fe_D" 6/3), 2("NO_HETP_fe_N" 6/3), 2("NO_HETP_fe_D" 6/3), 3("NO_HETP_fe_P" 6/3)
# Burst1n
0x0362/0x1, 48("B1_EPT_mag_N" 2/3), 48("B1_EPT_mag_D" 2/3), 2("B1_EPTP_he3_N" 1/3), 2("B1_EPTP_he3_D" 1/3), 1("B1_EPTP_he3_P" 1/3), 2("B1_EPTP_he4_N" 1/3), 2("B1_EPTP_he4_D" 1/3), 1("B1_EPTP_he4_P" 1/3)
# Unstable
0x0356/0x1, 1("NU_HETB_tail_low_p_N" 6/3), 1("NU_HETB_tail_low_p_D" 6/3), 2("NU_HETB_he34_N" 5/3), 2("NU_HETB_he34_D" 5/3), 5("NU_HETP_lbb_P" 6/3), 1("NU_HETB_cno_N" 6/3), 1("NU_HETB_cno_D" 6/3), 11("NU_HETC_ne_N" 6/3), 11("NU_HETC_ne_D" 6/3), 11("NU_HETC_mg_N" 6/3), 11("NU_HETC_mg_D" 6/3), 11("NU_HETC_si_N" 6/3), 11("NU_HETC_si_D" 6/3), 11("NU_HETC_s_N" 6/3), 11("NU_HETC_s_D" 6/3), 5("NU_HETB_ne_N" 6/3), 5("NU_HETB_ne_D" 6/3), 5("NU_HETB_mg_N" 6/3), 5("NU_HETB_mg_D" 6/3), 5("NU_HETB_si_N" 6/3), 5("NU_HETB_si_D" 6/3), 5("NU_HETB_s_N" 6/3), 5("NU_HETB_s_D" 6/3), 1("NU_HETB_wpen_nemgsis_N" 6/3), 1("NU_HETB_wpen_nemgsis_D" 6/3), 7("NU_HETP_nemgsis_P" 7/3), 11("NU_HETC_ar_N" 6/3), 11("NU_HETC_ar_D" 6/3), 11("NU_HETC_ca_N" 6/3), 11("NU_HETC_ca_D" 6/3), 11("NU_HETC_ni_N" 6/3), 11("NU_HETC_ni_D" 6/3), 5("NU_HETB_ar_N" 6/3), 5("NU_HETB_ar_D" 6/3), 5("NU_HETB_ca_N" 6/3), 5("NU_HETB_ca_D" 6/3), 5("NU_HETB_ni_N" 6/3), 5("NU_HETB_ni_D" 6/3), 1("NU_HETB_wpen_arcafeni_N" 6/3), 1("NU_HETB_wpen_arcafeni_D" 6/3), 2("NU_HETG_p_P" 5/3)
# Burst2n
0x036a/0x1, 6("B2_HETB_p_N" 0/3), 6("B2_HETB_p_D" 0/3), 62("B2_HETC_p_N" 0/3), 62("B2_HETC_p_D" 0/3), 2("B2_HETP_p_N" 0/3), 2("B2_HETP_p_D" 0/3), 3("B2_HETP_p_P" 0/3), 4("B2_HETB_he3_N" 1/3), 4("B2_HETB_he3_D" 1/3), 6("B2_HETB_he4_N" 1/3), 6("B2_HETB_he4_D" 1/3), 5("B2_HETC_he3_N" 1/3), 5("B2_HETC_he3_D" 1/3), 11("B2_HETC_he4_N" 1/3), 11("B2_HETC_he4_D" 1/3), 4("B2_HETB_he_N" 0/3), 4("B2_HETB_he_D" 0/3), 2("B2_HETP_he_N" 1/3), 2("B2_HETP_he_D" 1/3), 3("B2_HETP_he_P" 1/3), 1("B2_HETB_e_N" 0/3), 1("B2_HETB_e_D" 0/3), 3("B2_HETC_e_N" 0/3), 3("B2_HETC_e_D" 0/3), 7("B2_HETG_p_P" 1/3)

View file

@ -1,31 +0,0 @@
#<tag>:\n\t<ad> <us> <mod_phase> <mod_cadence> <header>\n...
0x48:
0x0148 6 1 600 0x0000007f
0x0548 9 3 600 0x10040090
0x0548 11 8 3600 0x080400c0
0x0548 12 68 3600 0x0c0400a0
0x0548 13 128 3600 0x100f00000
0x0548 15 188 3600 0x202c2000
0x0548 60 0 600 0x10040030
0x0548 85 0 600 0x10040000
0x0848 170 0 60 0x0000820c
0x0848 171 298 3600 0x000081e7
0x54:
0x0554 21 7 300 0x100a00000
0x0554 23 17 300 0x100a00100
0x0554 24 27 300 0x100a00200
0x0554 25 37 300 0x100a00300
0x0554 27 47 300 0x100a00400
0x0554 28 57 300 0x100a00500
0x0554 29 67 300 0x100a00600
0x0554 31 77 300 0x100a00700
0x0554 32 87 300 0x100a00800
0x0554 33 97 300 0x100a00900
0x0554 35 107 300 0x100a00a00
0x0554 36 117 300 0x100a00b00
0x0554 37 127 300 0x100a00c00
0x0554 39 137 300 0x100a00d00
0x0554 40 147 300 0x100a00e00
0x0554 41 157 300 0x100a00f00

File diff suppressed because it is too large Load diff

View file

@ -10,10 +10,10 @@ from . import base_config
from .base_config import hetept_config, hetept_config_table
# attempt to reproduce what was flown 2021-2023
VERSION = 10
SUBVERSION = 0
VERSION = 9
SUBVERSION=90
ENV = ["CLOSE", "FAR"]
ENV = ["FAR", "CLOSE"]
TEMPERATURE = [25., 15. , 5. , -5.]
@ -91,28 +91,26 @@ def fm1(start_modulus=3600, streamtest=False, OH_degC=-6.0, **kwargs):
UNIT="HET/EPT1"
MODEL="FM1"
UNIT_ID = 0xF1
TEMPERATURE = [-6.0, -11.60, -0.8]
TEMPERATURE = base_config.get_temperatures(minT=-40, maxT=20)
table = hetept_config_table(
unit=UNIT, model=MODEL, env=ENV, temperature=TEMPERATURE,
scratch=SUBVERSION, version=VERSION,
start_modulus=start_modulus,
streamtest=streamtest, OH_degC=OH_degC,
**kwargs )
streamtest=streamtest, **kwargs )
return table
def fm2(start_modulus=3600, streamtest=False, OH_degC=-1.0, **kwargs):
UNIT="HET/EPT2"
MODEL="FM2"
UNIT_ID = 0xF2
TEMPERATURE = [-0.8, -6.0, 4.40]
TEMPERATURE = base_config.get_temperatures(minT=-40, maxT=20)
table = hetept_config_table(
unit=UNIT, model=MODEL, env=ENV, temperature=TEMPERATURE,
scratch=SUBVERSION, version=VERSION,
start_modulus=start_modulus,
streamtest=streamtest, OH_degC=OH_degC,
**kwargs )
streamtest=streamtest, **kwargs )
return table
def fs(start_modulus=60, streamtest=True, minT=-40, maxT=20, **kwargs):

View file

@ -32,7 +32,7 @@ def write_xml_cf_to_icu(cf_txt, op_dir, conf_mem_addr, eeprom_page=None):
return ct_table
def write_xml_cf_to_eeprom(cf_txt, op_dir, eeprom_page=None, pointer_reset=None):
def write_xml_cf_to_eeprom(cf_txt, op_dir, eeprom_page=None):
"""
Loads .txt-format configuration tables and writes XML commands to write the configuration tables to the
unit eeprom.
@ -51,9 +51,6 @@ def write_xml_cf_to_eeprom(cf_txt, op_dir, eeprom_page=None, pointer_reset=None)
# create xml commands for writing the new config to the EEPROM
tc_seq_eeprom = ct_table.upload_index_patch()
if pointer_reset:
tc_seq_eeprom[1][-1] = telecom.store_messages_to_config_store(pointer_reset, unit=ct_table.magic.unit, flags=12, delta=300, comment="Reset table pointer to default table location")
write_xml(op_dir + 'hetept%i_v%04d_%s_to_EEPROM.tcs' % (ct_table.magic.unit - 1, ct_table.magic.version, hex(ct_table.crc)), tc_seq_eeprom)
return ct_table
@ -69,13 +66,8 @@ def write_xml_table_index_execution(op_dir):
telecom.write_xml(op_dir + 'he2_to_index_2.xml', [telecom.send_table_index('HE2', 2, comment='Switch HE2 to nominal mode')])
# create xml commands to change the temperature config
telecom.write_xml(op_dir + 'he1_to_index_9.xml', [telecom.send_table_index('HE1', 9, comment='Switch HE1 to calibration for -11.6 deg C')])
telecom.write_xml(op_dir + 'he1_to_index_10.xml', [telecom.send_table_index('HE1', 10, comment='Switch HE1 to calibration for -6.0 deg C')])
telecom.write_xml(op_dir + 'he1_to_index_11.xml', [telecom.send_table_index('HE1', 11, comment='Switch HE1 to calibration for -0.8 deg C')])
telecom.write_xml(op_dir + 'he2_to_index_9.xml', [telecom.send_table_index('HE2', 9, comment='Switch HE2 to calibration for -6.0 deg C')])
telecom.write_xml(op_dir + 'he2_to_index_10.xml', [telecom.send_table_index('HE2', 10, comment='Switch HE2 to calibration for -0.8 deg C')])
telecom.write_xml(op_dir + 'he2_to_index_11.xml', [telecom.send_table_index('HE2', 11, comment='Switch HE2 to calibration for +4.4 deg C')])
telecom.write_xml(op_dir + 'he1_to_index_13.xml', [telecom.send_table_index('HE1', 13, comment='Switch HE1 to calibration for -11.6 deg C')])
telecom.write_xml(op_dir + 'he2_to_index_14.xml', [telecom.send_table_index('HE2', 14, comment='Switch HE2 to calibration for -6.0 deg C')])
# create xml commands to change to close/far mode
telecom.write_xml(op_dir + 'he1_to_index_4.xml', [telecom.send_table_index('HE1', 4, comment='Switch HE1 to close mode')])

View file

@ -42,17 +42,9 @@ MinE = ifN ADDI C$2E
BITS C
# Test if the other segment has significant negative signal.
SUB Z - C$1K
mMinK = ifN SUB Z - C$2K
mMinE = LOG mMinK
CMP mMinE > Z+cut_ept_ac_thres
ifC CMP MaxE < mMinE + cut_ept_ac_ratio
# Check if we are above the minimum energy limit, otherwise abort (S=0 for PHA buffer selection)
ifN CMP MaxE < Z+ept_hist_offset
CMP MaxE < Z+ept_hist_offset
# test if the central channel has seen a peak, T>1
@ -74,20 +66,11 @@ A$2E = LOG A$2K
CMP A$1E < A$2E
ANTI = ifC ADDI A$2E
# Test the anticoincidence channels sees signifivant negative or
# positive signal and exceed the crosstalk limit vs the hit central
# pixel.
# Test if the anticoicidence is above noise
# and exceed the crosstalk limit vs the hit central pixel
mA$1K = SUB Z - A$1K
mA$1E = LOG mA$1K
mA$2K = SUB Z - A$2K
mA$2E = LOG mA$2K
CMP mA$1E < mA$2E
mANTI = ifC ADDI mA$2E
CMP mANTI < ANTI
mANTI = ifC ADDI ANTI
CMP mANTI > Z+cut_ept_ac_thres
ifC CMP MaxE < mANTI + cut_ept_ac_ratio
CMP ANTI > Z+cut_ept_ac_thres
ifC CMP MaxE < ANTI+cut_ept_ac_ratio
# C=1 S=0 for invalid event PHA

View file

@ -161,7 +161,6 @@ het_gcr_C_min = $LOG(het_gcr_e0*1e6/eV_BGO)
cut_het_b3_max = $LOG(40e3/eV_Si)
cut_C_AB_ratio = $LOGR(10.*BGO_Si) #TESTING! -> this is original $LOGR(10./BGO_Si) # C [125eV], AB [31.25eV]
cut_AB_leak_thres = $LOG(800e3/eV_Si)
cut_C_ABC_electron_maxSSD = $LOG(500e3/eV_Si)
cut_C_thres = $LOG(1000e3/eV_BGO)
het_path_length_IO = 0.991 # 2016-12-02 Robert E. geant4
het_path_length_OO = 0.983 # 2016-12-02 Robert E. geant4

View file

@ -75,7 +75,14 @@ het_stop_ABnC=.
.print het_stop_ABnC address $.
# C must be less than cut_C_thres
CMP CS < Z+cut_C_thres
# and when AB has little energy, either C age must be invalid
CMP AB > Z+cut_AB_leak_thres
C1T = ifN BRNG C1U{3:0}
ifN CMP C1T <= Z+1
C2T = ifN BRNG C2U{3:0}
ifN CMP C2T <= Z+1
ifC CMP CS < Z+cut_C_thres
ifN GOTO reject_stop
.ifdef V_NO_PLC
@ -237,8 +244,6 @@ Y = ADDI Y - cut_HET_ABC_e_min
# electrons: histogram 128 x 1 using total energy
CMP Y < Z + cut_HET_ABC_e_max - cut_HET_ABC_e_min
ifC CMP B < Z + cut_C_ABC_electron_maxSSD
ifC CMP A < Z + cut_C_ABC_electron_maxSSD
TOTE = ifC TRIM TOT, cut_HET_ABC_TOT_e_min, 127
H = ifC ADDI hist_base + hist_HET_ABC_e

View file

@ -81,14 +81,9 @@ class patch:
def send_msg0(self, msg, **aa):
solo.solomsgclass.solomsg(msg).msg0(**aa)
def send_l3(self, msg, l3, pad=True, init=True, **flags):
smsg = solo.solomsgclass.solomsg(msg)
if init:
smsg.l3_init(**flags)
l3.load(smsg.l3_code)
if pad:
smsg.l3_pad()
def send_l3(self, msg, l3):
l3.load(solo.solomsgclass.solomsg(msg).l3_code)
def assert_unit(self, unit):
if not unit in self.config.unit:
raise ValueError("This unit is not %s, but %s" % (unit, self.config.unit))

View file

@ -708,7 +708,7 @@ class ppss_table(more_items):
tag = m.msg.ad & 0xff
msg_type = m.msg.ad >> 8
if tag in tm_tags and msg_type in msg_types and m.mod.cadence():
if not(tag & 0x20 == 0x20) or icu:
if not ((tag & 0x20 == 0x20) or icu):
msg_timing = m.msg.ad, m.us, m.mod.phase(), m.mod.cadence(), m.msg.da
tags[tag].append(msg_timing)
elif msg_type == 0x03 and self.dps is not None and sci: # sci packet