Epics@GSI Webhome

HadCon Multipurpose Controls Protocol Cmnd Apfel V1

Overview
    overall main command structure:
    APFEL <command> <portLetter> <portIndex> <sideSelectionId> <chipId>  [<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

APFEL d/dac
    Task
    Format
    • NOTE: setting <chipId> to 0xFF loops over all avaiable chip IDs
    • read
      • single DAC at port/pos/chipId:
        APFEL dac <portLetter> <portIndex> <sideSelectionId> <chipId> <dacId>
      • all 4 DACs at port/pos/chipId:
        APFEL dac <portLetter> <portIndex> <sideSelectionId> <chipId>
      • all 4 DACs of all available chipIds at port/pos:
        APFEL dac <portId> <sideSelectId>
    • write
      • single DAC at port/pos/chipIds:
        APFEL dac <portLetter> <portIndex> <sideSelectionId> <chipId> <dacId ≤ 4 > <value>
      • all 4 DACs at port/pos/chipId with same value:
        APFEL dac <portLetter> <portIndex> <sideSelectionId> <chipId> <dacId > 4> <value>
      • all 4 DACs at port/pos/chipId with individual values:
        APFEL dac <portLetter> <portIndex> <sideSelectionId> <chipId> <(dummy)> <valueDAC1> <valueDAC2> <valueDAC3> <valueDAC4>
    Response
    • single dac channel access
      RECV APFEL dac <portLetter> <portIndex> <sideSelectionId> <chipId> <dacId> <value>
    • any other plots per found chip
      RECV APFEL dac <portLetter> <portIndex> <sideSelectionId> <chipId> <dacId> <valueDAC1> <valueDAC2> <valueDAC3> <valueDAC4>
    Description

    read or write values from/to DAC channel(s) (if set with sign, incr/decr relatively)
    Arguments
    • <portId>
    • <posId>
    • <chipId>
    • <dacId>
    • <value>
    Comments
---

APFEL a/autocalib
    Task
    Format
    Response
    Description
    Comments
---

APFEL t/testPulse
    Task
    Format
    Response
    Description
    Comments
---

APFEL ampl
    Task
    Format
    Response
    Description
    Comments
---

APFEL l/list
    Task
    Format
    Response
    Description
    Comments
---



-- PeterZumbruch - 28 Oct 2015
-- PeterZumbruch - 2015-10-28
Topic revision: r7 - 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)