Waveform with one element is not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Reported by Vishnukumar Patel <email address hidden>
In 3.15, arrays with one element are not written to correctly.
The attached database contains a random generating calc record ("rndm"), and two waveform records of type DOUBLE, with one and two elements ("wave1", "wave2").
Using 'camonitor wave1 wave2', running the IOC on 3.14 (regular softIoc binary) looks good:
$ camonitor -#2 wave1 wave2
wave1 2014-11-04 17:11:39.943950 1 5.53216
wave2 2014-11-04 17:11:39.943956 2 5.53216 0
wave1 2014-11-04 17:11:40.043655 1 2.59342
wave2 2014-11-04 17:11:40.043666 2 2.59342 0
The same command against a 3.15.0.2 IOC yields:
$ camonitor -#2 wave1 wave2
wave1 2014-11-04 17:11:22.568008 1 0
wave2 2014-11-04 17:11:22.568014 2 4.99763 0
wave1 2014-11-04 17:11:22.668243 1 0
wave2 2014-11-04 17:11:22.668306 2 3.18135 0
Obviously, the 1 element array does not get updated properly.
The example is using .CP input links. Changing the mechanism to FLNK plus .NPP input does not change the faulty behavior.
Related branches
Changed in epics-base: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in epics-base: | |
status: | Confirmed → Fix Committed |
Changed in epics-base: | |
status: | Fix Committed → Fix Released |
Both caput and dbpf directly to the waveform do work, it's going through a link that seems to be the problem. I will try to look more closely tomorrow unless someone else gets there first.