PandABlocks / PandABlocks-ioc

Create an IOC from a PandA
Apache License 2.0
1 stars 5 forks source link

Odd signal in PVI and Value datasets in PANDA:PVI #144

Closed tomtrafford closed 3 weeks ago

tomtrafford commented 3 weeks ago

I was having some issues talking to a PandA through ophyd async. After some debugging with @coretl we found that there was an additional entry in the PVI and Value datasets: 'string d BL99P-MO-PANDA-01:PVI'.

For the example below I have 'pvget BL99P-MO-PANDA-01:PVI' and there an additional value of 'string d BL99P-MO-PANDA-01:PVI' within both the Value and PVI datasets. This is using pandablocks-ioc 0.10.0.

$ pvget BL99P-MO-PANDA-01:PVI
BL99P-MO-PANDA-01:PVI epics:nt/NTPVI:1.0 
    structure record
        structure _options
            boolean atomic true
    alarm_t alarm 
        int severity 0
        int status 0
        string message 
    time_t timeStamp 2024-10-31 11:52:59.791  
        long secondsPastEpoch 1730375579
        int nanoseconds 790675994
        int userTag 0
    structure display
        string description PVs making up Interface for entire panda.
    structure pvi
        structure bits
            string d BL99P-MO-PANDA-01:BITS:PVI
        structure calc1
            string d BL99P-MO-PANDA-01:CALC1:PVI
        structure calc2
            string d BL99P-MO-PANDA-01:CALC2:PVI
        structure clock1
            string d BL99P-MO-PANDA-01:CLOCK1:PVI
        structure clock2
            string d BL99P-MO-PANDA-01:CLOCK2:PVI
        structure counter1
            string d BL99P-MO-PANDA-01:COUNTER1:PVI
        structure counter2
            string d BL99P-MO-PANDA-01:COUNTER2:PVI
        structure counter3
            string d BL99P-MO-PANDA-01:COUNTER3:PVI
        structure counter4
            string d BL99P-MO-PANDA-01:COUNTER4:PVI
        structure counter5
            string d BL99P-MO-PANDA-01:COUNTER5:PVI
        structure counter6
            string d BL99P-MO-PANDA-01:COUNTER6:PVI
        structure counter7
            string d BL99P-MO-PANDA-01:COUNTER7:PVI
        structure counter8
            string d BL99P-MO-PANDA-01:COUNTER8:PVI
        string d BL99P-MO-PANDA-01:PVI
        structure data
            string d BL99P-MO-PANDA-01:DATA:PVI
        structure div1
            string d BL99P-MO-PANDA-01:DIV1:PVI
        structure div2
            string d BL99P-MO-PANDA-01:DIV2:PVI
        structure filter1
            string d BL99P-MO-PANDA-01:FILTER1:PVI
        structure filter2
            string d BL99P-MO-PANDA-01:FILTER2:PVI
        structure fmc_24v_in
            string d BL99P-MO-PANDA-01:FMC_24V_IN:PVI
        structure fmc_24v_out
            string d BL99P-MO-PANDA-01:FMC_24V_OUT:PVI
        structure inenc1
            string d BL99P-MO-PANDA-01:INENC1:PVI
        structure inenc2
            string d BL99P-MO-PANDA-01:INENC2:PVI
        structure inenc3
            string d BL99P-MO-PANDA-01:INENC3:PVI
        structure inenc4
            string d BL99P-MO-PANDA-01:INENC4:PVI
        structure lut1
            string d BL99P-MO-PANDA-01:LUT1:PVI
        structure lut2
            string d BL99P-MO-PANDA-01:LUT2:PVI
        structure lut3
            string d BL99P-MO-PANDA-01:LUT3:PVI
        structure lut4
            string d BL99P-MO-PANDA-01:LUT4:PVI
        structure lut5
            string d BL99P-MO-PANDA-01:LUT5:PVI
        structure lut6
            string d BL99P-MO-PANDA-01:LUT6:PVI
        structure lut7
            string d BL99P-MO-PANDA-01:LUT7:PVI
        structure lut8
            string d BL99P-MO-PANDA-01:LUT8:PVI
        structure lvdsin1
            string d BL99P-MO-PANDA-01:LVDSIN1:PVI
        structure lvdsin2
            string d BL99P-MO-PANDA-01:LVDSIN2:PVI
        structure lvdsout1
            string d BL99P-MO-PANDA-01:LVDSOUT1:PVI
        structure lvdsout2
            string d BL99P-MO-PANDA-01:LVDSOUT2:PVI
        structure outenc1
            string d BL99P-MO-PANDA-01:OUTENC1:PVI
        structure outenc2
            string d BL99P-MO-PANDA-01:OUTENC2:PVI
        structure outenc3
            string d BL99P-MO-PANDA-01:OUTENC3:PVI
        structure outenc4
            string d BL99P-MO-PANDA-01:OUTENC4:PVI
        structure pcap
            string d BL99P-MO-PANDA-01:PCAP:PVI
        structure pcomp1
            string d BL99P-MO-PANDA-01:PCOMP1:PVI
        structure pcomp2
            string d BL99P-MO-PANDA-01:PCOMP2:PVI
        structure pgen1
            string d BL99P-MO-PANDA-01:PGEN1:PVI
        structure pgen2
            string d BL99P-MO-PANDA-01:PGEN2:PVI
        structure pulse1
            string d BL99P-MO-PANDA-01:PULSE1:PVI
        structure pulse2
            string d BL99P-MO-PANDA-01:PULSE2:PVI
        structure pulse3
            string d BL99P-MO-PANDA-01:PULSE3:PVI
        structure pulse4
            string d BL99P-MO-PANDA-01:PULSE4:PVI
        structure seq1
            string d BL99P-MO-PANDA-01:SEQ1:PVI
        structure seq2
            string d BL99P-MO-PANDA-01:SEQ2:PVI
        structure sfp3_sync_in
            string d BL99P-MO-PANDA-01:SFP3_SYNC_IN:PVI
        structure sfp3_sync_out
            string d BL99P-MO-PANDA-01:SFP3_SYNC_OUT:PVI
        structure srgate1
            string d BL99P-MO-PANDA-01:SRGATE1:PVI
        structure srgate2
            string d BL99P-MO-PANDA-01:SRGATE2:PVI
        structure srgate3
            string d BL99P-MO-PANDA-01:SRGATE3:PVI
        structure srgate4
            string d BL99P-MO-PANDA-01:SRGATE4:PVI
        structure system
            string d BL99P-MO-PANDA-01:SYSTEM:PVI
        structure ttlin1
            string d BL99P-MO-PANDA-01:TTLIN1:PVI
        structure ttlin2
            string d BL99P-MO-PANDA-01:TTLIN2:PVI
        structure ttlin3
            string d BL99P-MO-PANDA-01:TTLIN3:PVI
        structure ttlin4
            string d BL99P-MO-PANDA-01:TTLIN4:PVI
        structure ttlin5
            string d BL99P-MO-PANDA-01:TTLIN5:PVI
        structure ttlin6
            string d BL99P-MO-PANDA-01:TTLIN6:PVI
        structure ttlout1
            string d BL99P-MO-PANDA-01:TTLOUT1:PVI
        structure ttlout10
            string d BL99P-MO-PANDA-01:TTLOUT10:PVI
        structure ttlout2
            string d BL99P-MO-PANDA-01:TTLOUT2:PVI
        structure ttlout3
            string d BL99P-MO-PANDA-01:TTLOUT3:PVI
        structure ttlout4
            string d BL99P-MO-PANDA-01:TTLOUT4:PVI
        structure ttlout5
            string d BL99P-MO-PANDA-01:TTLOUT5:PVI
        structure ttlout6
            string d BL99P-MO-PANDA-01:TTLOUT6:PVI
        structure ttlout7
            string d BL99P-MO-PANDA-01:TTLOUT7:PVI
        structure ttlout8
            string d BL99P-MO-PANDA-01:TTLOUT8:PVI
        structure ttlout9
            string d BL99P-MO-PANDA-01:TTLOUT9:PVI
    structure value
        structure bits
            string d BL99P-MO-PANDA-01:BITS:PVI
        structure calc1
            string d BL99P-MO-PANDA-01:CALC1:PVI
        structure calc2
            string d BL99P-MO-PANDA-01:CALC2:PVI
        structure clock1
            string d BL99P-MO-PANDA-01:CLOCK1:PVI
        structure clock2
            string d BL99P-MO-PANDA-01:CLOCK2:PVI
        structure counter1
            string d BL99P-MO-PANDA-01:COUNTER1:PVI
        structure counter2
            string d BL99P-MO-PANDA-01:COUNTER2:PVI
        structure counter3
            string d BL99P-MO-PANDA-01:COUNTER3:PVI
        structure counter4
            string d BL99P-MO-PANDA-01:COUNTER4:PVI
        structure counter5
            string d BL99P-MO-PANDA-01:COUNTER5:PVI
        structure counter6
            string d BL99P-MO-PANDA-01:COUNTER6:PVI
        structure counter7
            string d BL99P-MO-PANDA-01:COUNTER7:PVI
        structure counter8
            string d BL99P-MO-PANDA-01:COUNTER8:PVI
        string d BL99P-MO-PANDA-01:PVI
        structure data
            string d BL99P-MO-PANDA-01:DATA:PVI
        structure div1
            string d BL99P-MO-PANDA-01:DIV1:PVI
        structure div2
            string d BL99P-MO-PANDA-01:DIV2:PVI
        structure filter1
            string d BL99P-MO-PANDA-01:FILTER1:PVI
        structure filter2
            string d BL99P-MO-PANDA-01:FILTER2:PVI
        structure fmc_24v_in
            string d BL99P-MO-PANDA-01:FMC_24V_IN:PVI
        structure fmc_24v_out
            string d BL99P-MO-PANDA-01:FMC_24V_OUT:PVI
        structure inenc1
            string d BL99P-MO-PANDA-01:INENC1:PVI
        structure inenc2
            string d BL99P-MO-PANDA-01:INENC2:PVI
        structure inenc3
            string d BL99P-MO-PANDA-01:INENC3:PVI
        structure inenc4
            string d BL99P-MO-PANDA-01:INENC4:PVI
        structure lut1
            string d BL99P-MO-PANDA-01:LUT1:PVI
        structure lut2
            string d BL99P-MO-PANDA-01:LUT2:PVI
        structure lut3
            string d BL99P-MO-PANDA-01:LUT3:PVI
        structure lut4
            string d BL99P-MO-PANDA-01:LUT4:PVI
        structure lut5
            string d BL99P-MO-PANDA-01:LUT5:PVI
        structure lut6
            string d BL99P-MO-PANDA-01:LUT6:PVI
        structure lut7
            string d BL99P-MO-PANDA-01:LUT7:PVI
        structure lut8
            string d BL99P-MO-PANDA-01:LUT8:PVI
        structure lvdsin1
            string d BL99P-MO-PANDA-01:LVDSIN1:PVI
        structure lvdsin2
            string d BL99P-MO-PANDA-01:LVDSIN2:PVI
        structure lvdsout1
            string d BL99P-MO-PANDA-01:LVDSOUT1:PVI
        structure lvdsout2
            string d BL99P-MO-PANDA-01:LVDSOUT2:PVI
        structure outenc1
            string d BL99P-MO-PANDA-01:OUTENC1:PVI
        structure outenc2
            string d BL99P-MO-PANDA-01:OUTENC2:PVI
        structure outenc3
            string d BL99P-MO-PANDA-01:OUTENC3:PVI
        structure outenc4
            string d BL99P-MO-PANDA-01:OUTENC4:PVI
        structure pcap
            string d BL99P-MO-PANDA-01:PCAP:PVI
        structure pcomp1
            string d BL99P-MO-PANDA-01:PCOMP1:PVI
        structure pcomp2
            string d BL99P-MO-PANDA-01:PCOMP2:PVI
        structure pgen1
            string d BL99P-MO-PANDA-01:PGEN1:PVI
        structure pgen2
            string d BL99P-MO-PANDA-01:PGEN2:PVI
        structure pulse1
            string d BL99P-MO-PANDA-01:PULSE1:PVI
        structure pulse2
            string d BL99P-MO-PANDA-01:PULSE2:PVI
        structure pulse3
            string d BL99P-MO-PANDA-01:PULSE3:PVI
        structure pulse4
            string d BL99P-MO-PANDA-01:PULSE4:PVI
        structure seq1
            string d BL99P-MO-PANDA-01:SEQ1:PVI
        structure seq2
            string d BL99P-MO-PANDA-01:SEQ2:PVI
        structure sfp3_sync_in
            string d BL99P-MO-PANDA-01:SFP3_SYNC_IN:PVI
        structure sfp3_sync_out
            string d BL99P-MO-PANDA-01:SFP3_SYNC_OUT:PVI
        structure srgate1
            string d BL99P-MO-PANDA-01:SRGATE1:PVI
        structure srgate2
            string d BL99P-MO-PANDA-01:SRGATE2:PVI
        structure srgate3
            string d BL99P-MO-PANDA-01:SRGATE3:PVI
        structure srgate4
            string d BL99P-MO-PANDA-01:SRGATE4:PVI
        structure system
            string d BL99P-MO-PANDA-01:SYSTEM:PVI
        structure ttlin1
            string d BL99P-MO-PANDA-01:TTLIN1:PVI
        structure ttlin2
            string d BL99P-MO-PANDA-01:TTLIN2:PVI
        structure ttlin3
            string d BL99P-MO-PANDA-01:TTLIN3:PVI
        structure ttlin4
            string d BL99P-MO-PANDA-01:TTLIN4:PVI
        structure ttlin5
            string d BL99P-MO-PANDA-01:TTLIN5:PVI
        structure ttlin6
            string d BL99P-MO-PANDA-01:TTLIN6:PVI
        structure ttlout1
            string d BL99P-MO-PANDA-01:TTLOUT1:PVI
        structure ttlout10
            string d BL99P-MO-PANDA-01:TTLOUT10:PVI
        structure ttlout2
            string d BL99P-MO-PANDA-01:TTLOUT2:PVI
        structure ttlout3
            string d BL99P-MO-PANDA-01:TTLOUT3:PVI
        structure ttlout4
            string d BL99P-MO-PANDA-01:TTLOUT4:PVI
        structure ttlout5
            string d BL99P-MO-PANDA-01:TTLOUT5:PVI
        structure ttlout6
            string d BL99P-MO-PANDA-01:TTLOUT6:PVI
        structure ttlout7
            string d BL99P-MO-PANDA-01:TTLOUT7:PVI
        structure ttlout8
            string d BL99P-MO-PANDA-01:TTLOUT8:PVI
        structure ttlout9
            string d BL99P-MO-PANDA-01:TTLOUT9:PVI

The additional signals were then raising TypeErrors within Ophyd Async

evalott100 commented 3 weeks ago

I'll investigate and do a release as soon as we've fixed.