File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
core/pv/src/main/java/org/phoebus/pv/pva Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,17 @@ public VType get(final long timeout, final TimeUnit unit)
164164 @ Override
165165 public void write (final Object new_value ) throws Exception
166166 {
167+ // With Channel Access, there are different protocol options
168+ // for "put" vs. "put-callback".
169+ // With PVA, it is currently unclear how to distinguish between
170+ // these two. The PVA server might honor certain values in the
171+ // "request", but that is not documented as part of the protocol.
172+ // On one hand, we should 'get()' the result of the write to
173+ // receive exceptions for read-only PVs.
174+ // On the other hand, such a 'get()' could last a long time
175+ // in case some detail in the 'request' caused the PVA server
176+ // to perform a put-callback type of operation,
177+ // and a GUI calling write() expect an immediate return.
167178 channel .write (name_helper .getWriteRequest (), new_value );
168179 }
169180
You can’t perform that action at this time.
0 commit comments