Skip to content

Make pvuaget/put output more closely match that of pvget/pvput #4

@JJL772

Description

@JJL772

Low priority task.

Make pvuaget and pvuaput more closely match the output of pvget and pvput.

pvget displays in the format:

PV TIMESTAMP VALUE [ALARM_SEVERITY ALARM_STATUS ALARM_TYPE]

for example:

$ pvget SYS:DEMO::CA_BEAC_TIME
SYS:DEMO::CA_BEAC_TIME 2025-01-08 10:23:03.959  15.0
$ pvget SYS:DEMO::GTIM_EVT_SRC
SYS:DEMO::GTIM_EVT_SRC 2025-01-09 01:08:37.458  "No working providers" MAJOR DEVICE READ

pvput displays:

Old : TIMESTAMP VALUE
New : TIMESTAMP VALUE

for example:

$ pvput SYS:DEMO::CA_BEAC_TIME 1
Old : 2025-01-08 10:23:03.959  15.0 
New : 2025-01-09 01:09:30.775  15.0

This helps indicate if something is read-only or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions