Skip to content

Formatting field alignment is not working

For:

# Decimal Digit should be needed to call one time
# when IOC is started
record(bo, "$(P)InletUpdate2-Cmd")
{
    field(DESC, "Update2 Inlet Readbacks")
    field(ZNAM, "Update")
    field(ONAM, "update")
    field(FLNK, "$(P)InletUpdate2:1-Fout_")
    field(HIGH, "2")
    field( VAL, "1")
    field(PINI, "YES")
}

Returns:

# Decimal Digit should be needed to call one time
# when IOC is started
record(bo, "$(P)InletUpdate2-Cmd")
{
    field(DESC, "Update2 Inlet Readbacks")
    field(ZNAM, "Update")
    field(ONAM, "update")
    field(FLNK, "$(P)InletUpdate2:1-Fout_")
    field(HIGH, "2")
    field(VAL, "1")
    field(PINI, "YES")
}

Instead of:

# Decimal Digit should be needed to call one time
# when IOC is started
record(bo, "$(P)InletUpdate2-Cmd")
{
    field(DESC, "Update2 Inlet Readbacks")
    field(ZNAM, "Update")
    field(ONAM, "update")
    field(FLNK, "$(P)InletUpdate2:1-Fout_")
    field(HIGH, "2")
    field(VAL,  "1")
    field(PINI, "YES")
}

If you run dbformat again it fixes the issue. I suspect it happens because DB012 runs before DB014.

Happens with https://gitlab.esss.lu.se/epics-modules/raritanpdu/-/raw/master/raritanpduApp/Db/raritan-pdu-inlet.template