PandABlocks / PandABlocks-ioc

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

Change structure of pvi pv #136

Closed evalott100 closed 1 month ago

evalott100 commented 1 month ago

Closes #120

evalott100 commented 1 month ago
[:)] pvget -v PANDA1:PVI
PANDA1: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-08 10:18:42.815  
        long secondsPastEpoch 1728379122
        int nanoseconds 814974146
        int userTag 0
    structure display
        string description PVs making up Interface for entire panda.
    structure value
        structure bits
            string d PANDA1:BITS:PVI
        structure calc1
            string d PANDA1:CALC1:PVI
        structure calc2
            string d PANDA1:CALC2:PVI
        ...

and

[:)] pvget -v PANDA1:TTLOUT9:PVI    
PANDA1:TTLOUT9: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-08 10:18:42.816  
        long secondsPastEpoch 1728379122
        int nanoseconds 815666823
        int userTag 0
    structure display
        string description PVs making up Interface for TTLOUT9
    structure value
        structure label
            string rw PANDA1:TTLOUT9:LABEL
        structure val
            string rw PANDA1:TTLOUT9:VAL
        structure val_delay
            string rw PANDA1:TTLOUT9:VAL:DELAY
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.67%. Comparing base (c4dea92) to head (7626f2a). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #136 +/- ## ========================================== + Coverage 91.32% 91.67% +0.35% ========================================== Files 8 8 Lines 1372 1382 +10 Branches 219 162 -57 ========================================== + Hits 1253 1267 +14 Misses 82 82 + Partials 37 33 -4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

evalott100 commented 1 month ago

Now we have both:

[:)] pvget -v PANDA1:OUTENC1:PVI
PANDA1:OUTENC1: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-15 14:40:50.304  
        long secondsPastEpoch 1728999650
        int nanoseconds 303598050
        int userTag 0
    structure display
        string description PVs making up Interface for OUTENC1
    structure pvi
        structure a
            string rw PANDA1:OUTENC1:A
        structure a_delay
            string rw PANDA1:OUTENC1:A:DELAY
        structure b
            string rw PANDA1:OUTENC1:B
        structure b_delay
            string rw PANDA1:OUTENC1:B:DELAY
        structure bits
            string rw PANDA1:OUTENC1:BITS
        structure clk
            string r PANDA1:OUTENC1:CLK
        structure data
            string rw PANDA1:OUTENC1:DATA
        structure data_delay
            string rw PANDA1:OUTENC1:DATA:DELAY
        structure dcard_type
            string r PANDA1:OUTENC1:DCARD_TYPE
        structure enable
            string rw PANDA1:OUTENC1:ENABLE
        structure enable_delay
            string rw PANDA1:OUTENC1:ENABLE:DELAY
        structure encoding
            string rw PANDA1:OUTENC1:ENCODING
        structure generator_error
            string rw PANDA1:OUTENC1:GENERATOR_ERROR
        structure health
            string r PANDA1:OUTENC1:HEALTH
        structure label
            string rw PANDA1:OUTENC1:LABEL
        structure protocol
            string rw PANDA1:OUTENC1:PROTOCOL
        structure qperiod
            string rw PANDA1:OUTENC1:QPERIOD
        structure qperiod_units
            string rw PANDA1:OUTENC1:QPERIOD:UNITS
        structure qstate
            string r PANDA1:OUTENC1:QSTATE
        structure val
            string rw PANDA1:OUTENC1:VAL
        structure z
            string rw PANDA1:OUTENC1:Z
        structure z_delay
            string rw PANDA1:OUTENC1:Z:DELAY
    structure value
        structure a
            string rw PANDA1:OUTENC1:A
        structure a_delay
            string rw PANDA1:OUTENC1:A:DELAY
        structure b
            string rw PANDA1:OUTENC1:B
        structure b_delay
            string rw PANDA1:OUTENC1:B:DELAY
        structure bits
            string rw PANDA1:OUTENC1:BITS
        structure clk
            string r PANDA1:OUTENC1:CLK
        structure data
            string rw PANDA1:OUTENC1:DATA
        structure data_delay
            string rw PANDA1:OUTENC1:DATA:DELAY
        structure dcard_type
            string r PANDA1:OUTENC1:DCARD_TYPE
        structure enable
            string rw PANDA1:OUTENC1:ENABLE
        structure enable_delay
            string rw PANDA1:OUTENC1:ENABLE:DELAY
        structure encoding
            string rw PANDA1:OUTENC1:ENCODING
        structure generator_error
            string rw PANDA1:OUTENC1:GENERATOR_ERROR
        structure health
            string r PANDA1:OUTENC1:HEALTH
        structure label
            string rw PANDA1:OUTENC1:LABEL
        structure protocol
            string rw PANDA1:OUTENC1:PROTOCOL
        structure qperiod
            string rw PANDA1:OUTENC1:QPERIOD
        structure qperiod_units
            string rw PANDA1:OUTENC1:QPERIOD:UNITS
        structure qstate
            string r PANDA1:OUTENC1:QSTATE
        structure val
            string rw PANDA1:OUTENC1:VAL
        structure z
            string rw PANDA1:OUTENC1:Z
        structure z_delay
            string rw PANDA1:OUTENC1:Z:DELAY