We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 770f350 + 453a2a3 commit 15e8cc9Copy full SHA for 15e8cc9
core/pv-pva/src/main/java/org/phoebus/pv/pva/PVAStructureHelper.java
@@ -110,8 +110,14 @@ else if (field instanceof PVAString)
110
return decodeScalar(actual);
111
if (type.equals("NTEnum:1.0"))
112
return Decoders.decodeEnum(actual);
113
- if (type.equals("NTScalarArray:1.0"))
114
- return decodeNTArray(actual);
+ if (type.equals("NTScalarArray:1.0")) {
+ if(elementIndex.isPresent()){
115
+ return decodeNTArray(actual, elementIndex.get());
116
+ }
117
+ else{
118
+ return decodeNTArray(actual);
119
120
121
if (type.equals("NTNDArray:1.0"))
122
return ImageDecoder.decode(actual);
123
if (type.equals("NTTable:1.0"))
0 commit comments