Compare commits

...

2 commits

Author SHA1 Message Date
Ava
77901846d0 CHANGE nmahepam_channels.md 2025-06-11 13:17:01 +02:00
Ava
39014a6c83 ADD AHBGOa() to nmahepam.py 2025-06-11 12:59:16 +02:00
2 changed files with 27 additions and 11 deletions

View file

@ -11,17 +11,17 @@
7 SETH #1 | mon[A-H] | - | - | - | - | Iprim | Vprim | NTC,p | Ibias+|
7 SETH #2 | mon[A-H] | - | - | - | - | Ibias-| Vbias+| NTC,i | Ibias+|
connector | channel (PIN) | shaper | CONN1 | ADC | data | dorn
-----------------------------------------------------------------
CONN10 | 1 (13) | 00 | 20 | A0 | [2][0] | 16
CONN10 | 2 (12) | 01 | 60 | A1 | [1][0] | 8
CONN10 | 3 (11) | 02 | 19 | A2 | [0][0] | 0
CONN10 | 4 (10) | 03 | 59 | B0 | [2][1] | 17
CONN10 | 5 (9) | 04 | 18 | B1 | [1][1] | 9
CONN10 | 6 (8) | 05 | 58 | B2 | [0][1] | 1
CONN10 | 7 (7) | 06 | 16 | C0 | [2][2] | 18
CONN10 | 8 (6) | 07 | 56 | C1 | [1][2] | 10
-----------------------------------------------------------------
connector | channel (PIN) | shaper | CONN1 | ADC | data | dorn | names-sl1 | name-sl0
----------------------------------------------------------------------------------------
CONN10 | 1 (13) | 00 | 20 | A0 | [2][0] | 16 | a- | d-
CONN10 | 2 (12) | 01 | 60 | A1 | [1][0] | 8 | a- | d-
CONN10 | 3 (11) | 02 | 19 | A2 | [0][0] | 0 | a- | d-
CONN10 | 4 (10) | 03 | 59 | B0 | [2][1] | 17 | a- | d-
CONN10 | 5 (9) | 04 | 18 | B1 | [1][1] | 9 | a- | d-
CONN10 | 6 (8) | 05 | 58 | B2 | [0][1] | 1 | a- | d-
CONN10 | 7 (7) | 06 | 16 | C0 | [2][2] | 18 | a- | d-
CONN10 | 8 (6) | 07 | 56 | C1 | [1][2] | 10 | a- | d-
---------------------------------------------------------------------------------------
CONN11 | 1 (13) | 08 | 18 | C2 | [0][2] | 2
CONN11 | 2 (12) | 09 | 55 | D0 | [2][3] | 19
CONN11 | 3 (11) | 10 | 14 | D1 | [1][3] | 11

View file

@ -42,6 +42,22 @@ def AHBGO():
for c in SSD: thres(1, c, 8)
for c in BGO: thres(1, c, 8)
def AHBGOa():
global BGO, SSDa, SSDb, SSDe, SSDd, SSDe
BGO = 6,7,13,15,22,23
SSDa = 0,1,8,9,10,16,17,18
SSDb = 2,3,4,11,12,19,20,21
SSDc = 5,14
#SSDd = ?
#SSDe = ?
SSDd = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
default_config()
atriggers(1,TBITSD(BGO))
for c in SSDa+SSdb+SSdc: thres(1,c,8)
for c in BGO: thres(1,c,8)
for c in SSDd: thres(0,c,8)
def aenable(sl=None, hk=True, ev=True, **aa):
cmd("s/cron 'CRON.RC'")
fifo_enable(sl=sl, hk=hk, ev=ev, **aa)