more work on memory issues.
Still problems. Added channelLocalDebug.
This commit is contained in:
@@ -62,6 +62,7 @@ int main(int argc,char *argv[])
|
||||
{
|
||||
PVDatabasePtr master = PVDatabase::getMaster();
|
||||
ChannelProviderLocalPtr channelProvider = getChannelProviderLocal();
|
||||
channelProvider->createChannelLocalDebugRecord("channelLocalDebug");
|
||||
StandardPVFieldPtr standardPVField = getStandardPVField();
|
||||
String properties;
|
||||
ScalarType scalarType;
|
||||
@@ -82,6 +83,14 @@ int main(int argc,char *argv[])
|
||||
pvRecord->process();
|
||||
}
|
||||
result = master->addRecord(pvRecord);
|
||||
recordName = "exampleDoubleArray";
|
||||
pvStructure = standardPVField->scalarArray(scalarType,properties);
|
||||
pvRecord = PVRecord::create(recordName,pvStructure);
|
||||
{
|
||||
pvRecord->lock_guard();
|
||||
pvRecord->process();
|
||||
}
|
||||
result = master->addRecord(pvRecord);
|
||||
recordName = "examplePowerSupply";
|
||||
pvStructure = createPowerSupply();
|
||||
PowerSupplyRecordTestPtr psr =
|
||||
|
||||
Reference in New Issue
Block a user