Epics@GSI Webhome

HadCon2 Multipurpose Controls Protocol Cmnd Apfel V0

Commands
task command individual arguments common address arguments commentSorted descending
setDac APFEL 9 <DAC value> <dac> <chipId> <pinSetId> <sideSelectId> <port> [<quiet>]
answer (if not quiet): → readDac
<DAC value>
[ 0 ... 0x3FF ]
<DAC>
[ 1 ... 4 ]
<chipId>
[ 0 ... 7, 8 ... FE, FF]
0xFF: generic call to all available chip Ids
<pinSetId>
[ 1, 2 ]
<sideSelectId>
[ 0,1 ]
<port>
A,C,F <quiet>
[0,1]
writes DAC channel
TP reset APFEL D <pulse height> <channel> <chipId> <pinSetId> <sideSelectId> <port> <pulse height Pattern>
[ 1 ... F ]
<channel>
[ 1, 2 ]

test pulse inkl. reset
TP single APFEL C <pulse height Pattern> <chipId> <pinSetId> <sideSelectId> <port> <pulse height Pattern>
[ 2...3FF ]

test pulse
setAmpl APFEL E <channel> <chipId> <pinSetId> <sideSelectId> <port> <channel>
[ 1, 2 ]

setAmplification to high
resetAmpl APFEL F <channel> <chipId> <pinSetId> <sideSelectId> <port> <channel>
[ 1, 2 ]

resetAmplification to low
readDac APFEL A <dac> <chipId> <pinSetId> <sideSelectId> <port>
answers:
RECV APFEL dac <port> <pinSetId> <sideSelectId> <chipId> <dac> <DAC value>
ERRA APFEL dac <port> <pinSetId> <sideSelectId> <chipId> <dac> <DAC value> - read validity check failed, raw value:
<DAC>
[ 1 ... 4 ]
<chipId>
[ 0 ... 7, 8 ... FE, FF]
0xFF: generic call to all available chip Ids
<pinSetId>
[ 1, 2 ]
<sideSelectId>
[ 0,1 ]
<port>
A,C,F <quiet>
[0,1]
reads single DAC channel
readAllDacs APFEL A 0  <chipId> <pinSetId> <sideSelectId> <port>
answers:
RECV APFEL dac <port> <pinSetId> <sideSelectId> <chipId> 0 <DAC value1> <DAC value2> <DAC value3> <DAC value4>
ERRA APFEL dac <port> <pinSetId> <sideSelectId> <chipId> <dac> <DAC value> - read validity check failed, raw value:
  <chipId>
[ 0 ... 7, 8 ... FE, FF]
0xFF: generic call to all available chip Ids
<pinSetId>
[ 1, 2 ]
<sideSelectId>
[ 0,1 ]
<port>
A,C,F <quiet>
[0,1]
*Not Yet Available* reads all DAC channels of an ch
TP trigger APFEL 11 <on/off> <port> <pin> <trigger position> <on/off>
[ 0,1 ]
<port>
[ A,B,C,D,E,F,G ]
<pin>
[1...8]
<trigger after set (1) or after reset (2)>
[1,2]
  <on/off> enables/disables <pin> on <port> to trigger right in the moment after a test pulse set or reset command sequence is sent




listId APFEL 10 <all> <NChipIds> <pinSetId> <sideSelectId> <port> <all flag>
[ 1...FF ] <number of chip Ids>
[ 1...FF ]

check <number of chip Ids> channels and list depending on the <all flag> all or only positive results
listId++ APFEL 20 <all> <NChipIds> <minChipId> <pinSetId> <sideSelectId> <port> <all flag>
[ 1...FF ] <number of chip Ids>
[ 1...FF ] <min Chip Id>
[ 1...FF ]

check <number of chip Ids> channels and list depending on the <all flag> all or only positive results
autocalib APFEL B <chipId> <pinSetId> <sideSelectId> <port>  
auto calibration


-- PeterZumbruch - 27 May 2015
-- PeterZumbruch - 2015-10-28
Topic revision: r18 - 2015-10-28, PeterZumbruch
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)