Skip to content

Compatibility option for local PVs #97

Closed
@kasemir

Description

@kasemir

Local PVs loc://... used to have a value of 0 unless they were specifically initialized to a certain value.
Now they start out as null, unless initialized or until a first value is written.
That may be 'correct' in the long run, but breaks existing displays which don't expect null.

A new preference setting 'init as zero’ would restore the old behavior and allow a better transition:
Newly created PVs will have value 0 (zero, instead of null) to allow existing displays to run.
There will be a logged warning “PV ‘loc://xyz’ not initialized” to allow display maintainers to spot such old displays and update them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions