String[] items = new String[1];
items[0] = datapointName.replace(".Value", "");
//get the actual value
CosDpValueStruct[] values = new CosDpValueStruct[1];
values[0] = new CosDpValueStruct();
values[0].quality = CosDpQualityEnum.QualityGood;
values[0].timestamp = 0;
values[0].value = new CosDpValueUnion();
//storage for error