• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. carnecro
    3. Topics

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 24
    • Groups 0

    Topics

    • carnecroC

      Timeouts when discovering BACnet device

      Watching Ignoring Scheduled Pinned Locked Moved Mango General bacnet
      11
      0 Votes
      11 Posts
      3k Views
      CraigWebC
      @carnecro Not a problem, I would recommend upgrading to 4.5 there are 2 changes on the Bacnet module.
    • carnecroC

      Error when writing MultistateObject property stateText

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      1
      0 Votes
      1 Posts
      884 Views
      No one has replied
    • carnecroC

      localDate, localTime and utcOffset

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      5
      0 Votes
      5 Posts
      2k Views
      K
      Hi phildunlap, Based on your suggestion I did debugging. UTC_Offset is getting updated when localDevice.writePropertyInternal(pid, value) during the initialize time. ;. After the analysis, I noticed that at 622nd line in BACnetObject.java ( l.propertyChange(pid, oldValue,, value) the value is right;y updated. But when from 3rd property client ReadProprty (Device Object. UTC_Offset) is sent, the local device is returning the value of the timeZone and not with set value of UTC_Offset.. I could not debug using break point when asked from external device.with ReadProperty or other services. Please guide me where to set the break point, which will help me to debug and furnish you with more information. Further I believe there is error in the value of UTC_Offset as per the time zone. For example if the time zone is - 7 hours, then the value of the UTC_Offset should be +420 and not -420. This is because as per BACnet local date / time is calculated based on the formula (GMT - UTC offset). So in the above example if UTC_Offset is -420 for - 7 hours. then the actual time would be if GMT equals 0;00 hours, 0 - (-420) equals 0 + 420 which means + 7 hours. and is wrong. Thanks, Kishore
    • carnecroC

      Proper response for ReadPropertyMultiple, PID=all

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      2
      0 Votes
      2 Posts
      1k Views
      terrypackerT
      @carnecro I've never actually attempted to do this but from looking at the code it would seem that the returned list of properties for an all request is built from the properties that are added in the ObjectProperties class. The list for an AnalogObjectValue is created on roughly line 706. I would think that if you were to manually add your proprietary properties to this map when you initialize your AnalogValueObject then they will be returned in a request for all properties. So this code, executed once will likely solve your problem: boolean required = true; //If property is required PropertyIdentifier yourCustomPropertyId = new PropertyIdentifier(492); com.serotonin.bacnet4j.obj.ObjectProperties.add(ObjectType.analogValue, yourCustomPropertyId, YourCustomPropertyClass.class, required); Also as a side note I've dealt with some hardware BACnet devices that don't let you read the PropertyIdentifier.all(#8) which has forced us to not be able to rely on that type of request.
    • carnecroC

      How to tell the client ReadPropertyMultiple is not supported

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      3
      0 Votes
      3 Posts
      2k Views
      carnecroC
      Thank you, the right hint! The framework can do it without source code modification: DeviceObject deviceObject = localDevice.getDeviceObject(); ServicesSupported servicesSupported = deviceObject.readProperty(PropertyIdentifier.protocolServicesSupported); servicesSupported.setReadPropertyMultiple(false); Robert
    • carnecroC

      Proprietary properties

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      2
      0 Votes
      2 Posts
      1k Views
      phildunlapP
      Hi carnecro, Not that I'm aware of. Are you defined custom objects or just properties? I think (and I haven't tried it so I'm not sure) that adding your Objects into com.serotonin.bacnet4j.type.enumerated.ObjectType , your properties into com.serotonin.bacnet4j.type.enumerated.PropertyIdentifier , and their relationship with each other and transmittable data types into com.serotonin.bacnet4j.obj.ObjectProperties you will be well on the way. I didn't see any obvious ways for runtime modification of these mostly static classes and their relationships.
    • carnecroC

      Another NullPointerException

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      1
      0 Votes
      1 Posts
      2k Views
      No one has replied
    • carnecroC

      Notification when client subscribed an object

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      3
      0 Votes
      3 Posts
      3k Views
      carnecroC
      The method covNotificationReceived(...) in com.serotonin.bacnet4j.event.DeviceEventLiistener is fired on the client side when a BACnet client receives a value change from a BACnet server. What I need is the opposite - I need an event on the server side when a client starts to poll for a BACnetObject property (in my case the PresentValue). The proper place for a hook could be BACnetObject.addCovSubscription() BACnetObject.removeCovSubscription() or CovReportingMixin.addCovSubscription() CovReportingMixin.removeCovSubscription() Both are not easy to implement via subclassing (Bacnet4J library does not allow me to add my own MixIn, for example) so I ended by changing the original source code.
    • carnecroC

      No Datagram receive on Unix based systems

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      7
      1 Votes
      7 Posts
      5k Views
      D.L.D
      Works with version commit 18b2b5531da1f436da50f73f44d9b3fb25522ed0 - 2015-12-17 01:10:43. Note: I used this version since there were test errors in the JUnit tests in the latest one (commit 4a445c93356d8558988f270c3e7a97a85df28eef)