Epics@GSI Webhome

HadCon Multipurpose Controls Protocol Cmnd Apfel V1

%FOREACH{"ADDRESS" in="<portLetter> <portIndex> <sideSelectionId> <chipId>"}% %FOREACH{"CMND" in="APFEL"}%
Overview
    overall main command structure:
    $CMND <command> $ADDRESS  [<Argument(s)>]

    command address arguments comment
    "channel" value(s)
    dac <portLetter>
    A,C,F,
    <pinSetId>
    [ 1, 2 ]
    <sideSelectId>
    [ 1, 2 ]
    <chipId>
    [ 0 ... 7, 8 ... FE, FF]
    0xFF: generic call to all available chip Ids
    see command chipIdIgnoreMask for limiting the chipId range
    <dacId>
    [ 1 ... 4 ]
    < 4, e.g. 0xA: all DACs get value vDAC1
    [vDAC1[vDAC2[vDAC3[vDAC4]]]]
    [ 0 ... 0x3FF ]
    read/writes up to 4 DAC channels (if set with sign, incr/decr relatively)
    autoCalib     auto calibration of the DAC channels
    testPulse <channelId>
    [ 1 ... 2 ]
    < 4, e.g. 0xA: both channels
    height1 [height2]
    [ 0 ... 0xF ]
    initiate test pulse
    ampl <channelId>
    [ 1 ... 2 ]
    < 4, e.g. 0xA: both channels
    [ amplification1 [amplification2] ]
    [ 0,1, H,L ]
    0,L: low amplification (× 16)
    1,H: high amplification (× 32)
    get/set amplification mode
    l/list       lists all addresses of available ids

%FOREACH{"command" in="dac"}% %FOREACH{"alternative" in="d"}%
$CMND $alternative/$command
--- %NEXT{"alternative"}%%NEXT{"command"}%

%FOREACH{"command" in="autocalib"}% %FOREACH{"alternative" in="a"}%
$CMND $alternative/$command
    Task
    Format
    Response
    Description
    Comments
--- %NEXT{"alternative"}%%NEXT{"command"}%

%FOREACH{"command" in="testPulse"}% %FOREACH{"alternative" in="t"}%
$CMND $alternative/$command
    Task
    Format
    Response
    Description
    Comments
--- %NEXT{"alternative"}%%NEXT{"command"}%

%FOREACH{"command" in="ampl"}%
$CMND $command
    Task
    Format
    Response
    Description
    Comments
--- %NEXT{"command"}%

%FOREACH{"command" in="list"}% %FOREACH{"alternative" in="l"}%
$CMND $alternative/$command
    Task
    Format
    Response
    Description
    Comments
--- %NEXT{"alternative"}%%NEXT{"command"}%


%NEXT{"CMND"}% %NEXT{"ADDRESS"}%


--
PeterZumbruch - 28 Oct 2015
-- PeterZumbruch - 2020-11-09
Topic revision: r8 - 2020-11-09, PeterZumbruch - This page was cached on 2024-12-19 - 20:14.

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 | Legal notice | Privacy Policy (german)