Skip to content

Should local pv has an initial value of zero? #59

@xihui

Description

@xihui

Currently, the default value of a local pv is null if the initial value is not given. This results in some problems:

  1. BOY doesn't know how to handle a connected pv with null value. What should it show to user? Another type of border? Will this expose unnecessary complexity to user?
  2. Users need to add initial value to all local PVs even in most cases they don't care about the initial value, which add uncessary burden to user.

In BOY, I want to make things clear and easy to user: Disconnected means no value, Connected means it received new value. I don't want to expose extra states such as connected but has no value to user, because I think it means nothing to user.

So I would like to ask your opinion on this issue and please give a vote on it: should a local pv has an initial value of 0.0 or null?

Thanks,
Xihui

Proposed change to specification:

local pv has an initial value of 0.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions