<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Buffer_READY event notification]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I defined a trend log object in bacnet slave application this like</p>
<pre><code>
        BACnetObject ai0 = new BACnetObject(localDevice, localDevice.getNextInstanceObjectIdentifier(ObjectType.trendLog));

        ai0.setProperty(PropertyIdentifier.enable, new Boolean(true));
        ai0.setProperty(PropertyIdentifier.stopWhenFull, new Boolean(true));
        ai0.setProperty(PropertyIdentifier.bufferSize, new UnsignedInteger(20));
        ai0.setProperty(PropertyIdentifier.recordCount, new UnsignedInteger(0));
        ai0.setProperty(PropertyIdentifier.totalRecordCount, new UnsignedInteger(0));
        ai0.setProperty(PropertyIdentifier.notificationThreshold, new UnsignedInteger(4));
        ai0.setProperty(PropertyIdentifier.loggingType, LoggingType.polled);

</code></pre>
<p dir="auto">And I added value to ai0 object this like</p>
<pre><code>

            SequenceOf&lt;LogRecord&gt; lrs = (SequenceOf&lt;LogRecord&gt;) ai0.getProperty(PropertyIdentifier.logBuffer);
            count++;
            ai0.setProperty(PropertyIdentifier.recordCount, new UnsignedInteger(count));
            ai0.setProperty(PropertyIdentifier.totalRecordCount, new UnsignedInteger(count));
            
            
            LogRecord lr = new LogRecord(new DateTime(System.currentTimeMillis()), true, new Real(ai0value), new StatusFlags(false, false, false, false));
            lrs.add(lr);

</code></pre>
<p dir="auto">I think, when record count value is reach the notificationThreshold value(in example this value is setted 4)   Buffer_Ready notification event can be sent. Buffer_Ready notification event will be either automaticly sent by bacnet4j or manually in program. How can I send Buffer_Ready event notification</p>
]]></description><link>https://forum.mango-os.com/topic/1197/buffer_ready-event-notification</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 09:32:29 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1197.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Dec 2012 13:32:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Buffer_READY event notification on Mon, 10 Dec 2012 02:50:26 GMT]]></title><description><![CDATA[<p dir="auto">Trend log object is working in bacnet4j, isn't it. Have you ever anyone test it before.</p>
<p dir="auto">I need  help about trend log.</p>
]]></description><link>https://forum.mango-os.com/post/7241</link><guid isPermaLink="true">https://forum.mango-os.com/post/7241</guid><dc:creator><![CDATA[cenk]]></dc:creator><pubDate>Mon, 10 Dec 2012 02:50:26 GMT</pubDate></item><item><title><![CDATA[Reply to Buffer_READY event notification on Thu, 06 Dec 2012 12:57:28 GMT]]></title><description><![CDATA[<p dir="auto">So sorry I can not understand that "subclass of the BACnetObject class".</p>
]]></description><link>https://forum.mango-os.com/post/7218</link><guid isPermaLink="true">https://forum.mango-os.com/post/7218</guid><dc:creator><![CDATA[cenk]]></dc:creator><pubDate>Thu, 06 Dec 2012 12:57:28 GMT</pubDate></item><item><title><![CDATA[Reply to Buffer_READY event notification on Thu, 06 Dec 2012 05:15:27 GMT]]></title><description><![CDATA[<p dir="auto">A trend log in a BACnet4J should really be a subclass of the BACnetObject class, like the existing FileObject.</p>
]]></description><link>https://forum.mango-os.com/post/7214</link><guid isPermaLink="true">https://forum.mango-os.com/post/7214</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 06 Dec 2012 05:15:27 GMT</pubDate></item></channel></rss>