I'm writing to analogoutput type of objects.
When I write thru the CAS BACNet explorer with priority of 1 it says write access denied and on the java log I could see the listener method "allowPropertyWrite" was called but not the "propertyWritten" method. But when I write with undefined priority both methods are being called.
this is how I'm definiing the object properties:
ao0.setProperty(PropertyIdentifier.objectName, new CharacterString(wp.getName()));
ao0.setProperty(PropertyIdentifier.presentValue, new Real(1)); ao0.setProperty(PropertyIdentifier.outOfService, new Boolean(false));
ao0.setProperty(PropertyIdentifier.units, EngineeringUnits.percent);
ao0.setProperty(PropertyIdentifier.description, new CharacterString("31233232132"));
ao0.setProperty(PropertyIdentifier.timeDelay, new UnsignedInteger(90));
ao0.setProperty(PropertyIdentifier.priorityArray, new PriorityArray());
ao0.setProperty(PropertyIdentifier.relinquishDefault, new Real(0));
thanks for your immediate response.
SB