fixed bug in creating implementation of channelArray
This commit is contained in:
1 parent
f0d1481a28
commit
4973a6297e
1 file changed
+4
@@ -841,6 +841,10 @@ ChannelArrayLocalPtr ChannelArrayLocal::create(
|
||||
if(pvfs.size()!=1) break;
|
||||
pvField = pvfs[0];
|
||||
}
|
||||
size_t indfield = fieldName.find_first_of("field.");
|
||||
if(indfield==0) {
|
||||
fieldName = fieldName.substr(6);
|
||||
}
|
||||
pvField = pvRecord->getPVRecordStructure()->getPVStructure()->getSubField(fieldName);
|
||||
if(pvField==NULL) {
|
||||
Status status(
|
||||
|
||||
Reference in new issue
Block a user