Recent Questions - www.Niagara-Community.com most recent 50 from Niagara-Community.com https://marketplac-niagara.cs87.force.com/RSSQuestions Thu, 28 Mar 2024 08:16:57 GMT Thu, 28 Mar 2024 08:16:57 GMT 30 <![CDATA[Bacnet naming using object description]]>
Any thoughts or something else i could try?]]>
https://www.niagara-community.com/906D0000000TZ5OIAW
<![CDATA[How to read out Bacnet virtuals (description) and copy it to a slot (description) of a Niagara ControlPoint]]> I have only recently started programming program objects in the Niagara Framework, but I have tried to solve the following programming task:

I would like to read the Bacnet descriptions from a Bacnet virtual and copy them into a self-defined slot named "description" because of datapoint normalization of different sources like Bacnet, Modbus, S-Bus, ...

I wrote a small program that copes with the copying process.
The only problem is that the virtuals are empty at the time of reading. Only when I open the virtuals via the Nav tree, I can read the right content within my program object.

I suspect that the virtuals must be registered for reading before they can be processed correctly.

How can I make the appropriate subscription of the virtuals with as little effort in the following program?

Thank you for your help!

public void onExecute() throws Exception
{
  int j=0;
  int k=0;
  int max=0;
  int nonempty=0;

  // "device" Slot with BACnet-Device-Ord to search for descriptions. getDevice = GetterMethod
  // a new slot "description" at ControlPoint is required to copy bacnet description there
  if (!getDevice().equals(""))
  {
    BControlPoint point = null;

    BOrd qord = BOrd.make(getDevice() + "|bql:select * from control:ControlPoint where proxyExt.type like '%bacnet%'");
    BITable result = (BITable)qord.resolve().get();
    Cursor c = result.cursor();
    System.out.println("---> Copy BACnet Descriptions...");

    while(c.next())
    {
    max++;
    }
    c = result.cursor();
    System.out.println("Total Datapoints: " + max);   
    while(c.next())
    {    
          point = (BControlPoint)c.get();

          if (point.getProperty("description") != null && point.getString(point.getProperty("description")).equals(""))
          {
              String s1 = point.getProxyExt().toString();
              String[] s = s1.split(":");

              String strVirtualPoint = s[0] + "_" + s[1];

              String strQord = BOrd.make(getDevice() + "/virtual|virtual:/" + strVirtualPoint + "/description/value").toString();
              qord = BOrd.make(strQord);
              String strResult = qord.resolve().get().toString();

              if (!strResult.equals("")) 
              {  
                j++;       
                System.out.println("Found: " + strVirtualPoint  + " : " +  point.getName() + " -> " + strResult);
                point.setString(point.getProperty("description"), strResult );
              }
              else
              {
                k++;
              }
          }
    }
    nonempty = max-j-k;
    System.out.println(j + " Descriptions copied, " + k + " empty descriptions found!");
    System.out.println(nonempty + " description skipped, because of an non-empty string");
  }
  else
  {
    System.out.println("No Device-Ord in Slot device!");
  }
}
]]>
https://www.niagara-community.com/906D0000000CkdwIAC
<![CDATA[How to export 2 or more trends in tabular format.]]>
After charting more than 1 value & exporting the data - it's skewed & the help files indicate this.

?This export function works only with charts that are using a single history. Multiple histories do not export in a usable format. ?
]]>
https://www.niagara-community.com/906D0000000TZJBIA4
<![CDATA[How do you use the Program Service to edit display names?]]> Hello, It seems this has been asked for over and over in previous years.  Is there still not a way to do the following easily in the batch editor?

 

Example on a Boolean Writable where you have the Active Inactive and Auto action how do I change that text to be something other than Active Inactive and Auto in a batch editor?

]]>
https://www.niagara-community.com/906D0000000bnXPIAY
<![CDATA[Hi,am new to Niagara want to do certifications which one good]]> <![CDATA[Can Labels be rotated in px?]]> https://www.niagara-community.com/906D0000000TYnNIAW <![CDATA[could not invoke the command ''cut''. in Niagara 4]]> I was unable to utilize the command "copy" & ''cut''. when using the copy or cut command. a window pops up in Niagara 4. could not invoke the command''cut''.

]]>
https://www.niagara-community.com/9064G000000Xaa9QAC
<![CDATA[config.bog.lock error during backup]]> I am trying to supervisor backup a station currently running 4.2.36.38 but keep getting an error at the end which causes the backup to fail.

error = java.io.IOException: The process cannot access the file because another process has locked a portion of the file.

error occurs when the backup process gets to the config.bog.lock file.

I have tried a graceful shutdown of the station and the host machine with no luck. also the config.bog.lock file appears to be empty as it appears in file explorer with a size of 0kb.

 

]]>
https://www.niagara-community.com/906D0000000GuYxIAK
<![CDATA[A non-programmer's guide to setting up a N4 development environment with Eclipse IDE]]> Here is a list of steps that worked for me. Be aware that I am not a programmer, and it may not be the ideal approach. But there seems to be no other simple step-by-step instruction, so I am sharing this hoping others may find it useful.

Prerequisites:

  • Java Developer Kit (JDK) : http://www.oracle.com/technetwork/java/javase/downloads/index.html
  • Eclipse IDE for Java Developers : http://www.eclipse.org/downloads/ 

Download Gradle

  • Download gradle from : http://gradle.org/gradle-download/ (“Binary only” distribution should be enough)
  • Unzip files to a location on hard-disk

Add the environment variable GRADLE_HOME

  • Go to Control Panel >  System > Advanced System Settings > Environment Variables
  • Add new “System Variable”
    - Variable name : GRADLE_HOME
    - Variable value : D:\\gradle-2.12
    (This should point to the folder that you unpacked files from the Gradle website)

Add GRADLE_HOME/bin to your PATH environment variable

  • Again in Control Panel >  System > Advanced System Settings > Environment Variables:
  • Edit System Variable “Path” and add “D:\\gradle-2.12\\bin;”
    (modify drive and folder name according to your situation)

Check gradle installation

Open a command prompt window and type “gradle -v”.
The output should show the Gradle version and also the local environment configuration.

Install Gradle plug-in to Eclipse

  • In Eclipse, go to Help > EclipseMarketplace
  • Search “Buildship”
  • Install the plug-in named "Buildship Gradle Integration"

Create a N4 project

In N4 Workplace, go to Tools > New Module
This will create a new folder structure in the location you specify.

Import your N4 project into Eclipse

  • In Eclipse, go to File > Import
  • Select Gradle > GradleProject
  • For ProjectRootDirectory, select the N4 project folder created in above step (with -rt or other extension, not the parent folder)

Now, the project is available in Eclipse. You can add packages and classes.

Build your project

  • In Eclipse, locate view “Gradle Tasks”,
  • expand your project name header,
  • double-click “jar” under “build”

This should compile your source code, assemble the module jar, and copy it to the Niagara installation location. If you created components and made a .palette file, they should now be available in N4 palette sidebar.

]]>
https://www.niagara-community.com/906D00000004MUyIAM
<![CDATA[Unlicensed: edgeLite1_device.limit]]> I've got a supervisor that I'm pulling Edge-10's into. The license is an unlimited license (& seems to be from inspecting it, see below), but I'm getting the following error after successfully pulling in 14 controllers in the Niagara Network: Unlicensed: edgeLite1_device.limit

18 controllers currently reside in the Niagara Network - 14 came in fine, 4 are giving this fault

From the license:

 <feature name="globalCapacity" expiration="never" excludedPoints="niagaraDriver;obixDriver;rdbMySQL;rdbOracle;fileDriver;rdbSqlServer;rdb;nCloudDriver;electronicSignatureRemote" history.limit="none" excludedDevices="niagaraDriver;obixDriver;rdbMySQL;rdbOracle;fileDriver;rdbSqlServer;nCloudDriver" point.limit="0" device.limit="0" heap.limit="none"/>

<feature name="niagaraDriver" expiration="never" history.limit="none" virtual="true" point.limit="none" schedule.limit="none" device.limit="none"/>

<feature name="station" expiration="never" resource.limit="none" station.limit="10"/>

 <feature name="systemIndex" expiration="never" edgeLite1_station.entity.limit="none" edgeLite1_station.limit="none" local.entity.limit="none" station.entity.limit="none" station.limit="none"/>

Any idea what I'm missing?

]]>
https://www.niagara-community.com/9064G000000TbN4QAK
<![CDATA[MicroImagePeer.syncDimensions in application director]]> Anybody know what would cause this to keep getting posted to application director?  I can not find any kind of pattern for what causes it to get spit out.

 

 

java.lang.NullPointerException
 at com.tridium.gx.micro.MicroImagePeer.syncDimensions(MicroImagePeer.java:82)
 at javax.baja.gx.BImage.syncDimensions(BImage.java:192)
 at javax.baja.ui.BLabel$Layout.computeImageBounds(BLabel.java:887)
 at javax.baja.ui.BLabel$Layout.computeBounds(BLabel.java:830)
 at javax.baja.ui.BLabel.computePreferredSize(BLabel.java:542)
 at javax.baja.ui.pane.BCanvasPane.doLayout(BCanvasPane.java:313)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdateWidget(BHxHtmlPxView.java:430)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdateWidget(BHxHtmlPxView.java:537)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdateWidget(BHxHtmlPxView.java:537)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdateWidget(BHxHtmlPxView.java:537)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdate(BHxHtmlPxView.java:370)
 at javax.baja.hx.px.BHxPxView.update(BHxPxView.java:232)
 at javax.baja.hx.BHxProfile.updateDocument(BHxProfile.java:527)
 at javax.baja.hx.BHxView.doPost(BHxView.java:150)
 at javax.baja.hx.px.BHxPxView.doPost(BHxPxView.java:126)
 at javax.baja.web.BServletView.service(BServletView.java:67)
 at com.tridium.web.servlets.OrdServlet.doService(OrdServlet.java:227)
 at com.tridium.web.servlets.OrdServlet.doPost(OrdServlet.java:81)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.jetty.servlet.ServletHolder.handle(Unknown Source)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.ViewFilter.doFilter(ViewFilter.java:110)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.WebOpFilter.doFilter(WebOpFilter.java:97)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.WebServletRedirectFilter.doFilter(WebServletRedirectFilter.java:108)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.OrdTargetFilter.doFilter(OrdTargetFilter.java:134)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.ContextFilter.doFilter(ContextFilter.java:43)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.LocaleFilter.doFilter(LocaleFilter.java:31)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.TridiumSecurityFilter.doFilter(TridiumSecurityFilter.java:50)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.AddSubjectFilter.lambda$null$0(AddSubjectFilter.java:57)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:422)
 at com.tridium.web.filters.AddSubjectFilter.lambda$doFilter$1(AddSubjectFilter.java:56)
 at java.security.AccessController.doPrivileged(Native Method)
 at com.tridium.web.filters.AddSubjectFilter.doFilter(AddSubjectFilter.java:54)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(Unknown Source)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(Unknown Source)
 at org.eclipse.jetty.security.SecurityHandler.handle(Unknown Source)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(Unknown Source)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(Unknown Source)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(Unknown Source)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(Unknown Source)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(Unknown Source)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(Unknown Source)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Unknown Source)
 at org.eclipse.jetty.server.handler.HandlerCollection.handle(Unknown Source)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(Unknown Source)
 at org.eclipse.jetty.server.Server.handle(Unknown Source)
 at org.eclipse.jetty.server.HttpChannel.handle(Unknown Source)
 at org.eclipse.jetty.server.HttpConnection.onFillable(Unknown Source)
 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(Unknown Source)
 at org.eclipse.jetty.io.FillInterest.fillable(Unknown Source)
 at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(Unknown Source)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Unknown Source)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
 at com.tridium.gx.micro.MicroImagePeer.syncDimensions(MicroImagePeer.java:82)
 at javax.baja.gx.BImage.syncDimensions(BImage.java:192)
 at javax.baja.ui.BLabel$Layout.computeImageBounds(BLabel.java:887)
 at javax.baja.ui.BLabel$Layout.computeBounds(BLabel.java:830)
 at javax.baja.ui.BLabel.computePreferredSize(BLabel.java:542)
 at javax.baja.ui.pane.BCanvasPane.doLayout(BCanvasPane.java:313)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdateWidget(BHxHtmlPxView.java:430)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdateWidget(BHxHtmlPxView.java:537)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdateWidget(BHxHtmlPxView.java:537)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdateWidget(BHxHtmlPxView.java:537)
 at com.tridium.hx.px.BHxHtmlPxView.doUpdate(BHxHtmlPxView.java:370)
 at javax.baja.hx.px.BHxPxView.update(BHxPxView.java:232)
 at javax.baja.hx.BHxProfile.updateDocument(BHxProfile.java:527)
 at javax.baja.hx.BHxView.doPost(BHxView.java:150)
 at javax.baja.hx.px.BHxPxView.doPost(BHxPxView.java:126)
 at javax.baja.web.BServletView.service(BServletView.java:67)
 at com.tridium.web.servlets.OrdServlet.doService(OrdServlet.java:227)
 at com.tridium.web.servlets.OrdServlet.doPost(OrdServlet.java:81)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.jetty.servlet.ServletHolder.handle(Unknown Source)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.ViewFilter.doFilter(ViewFilter.java:110)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.WebOpFilter.doFilter(WebOpFilter.java:97)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.WebServletRedirectFilter.doFilter(WebServletRedirectFilter.java:108)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.OrdTargetFilter.doFilter(OrdTargetFilter.java:134)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.ContextFilter.doFilter(ContextFilter.java:43)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.LocaleFilter.doFilter(LocaleFilter.java:31)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.TridiumSecurityFilter.doFilter(TridiumSecurityFilter.java:50)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at com.tridium.web.filters.AddSubjectFilter.lambda$null$0(AddSubjectFilter.java:57)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:422)
 at com.tridium.web.filters.AddSubjectFilter.lambda$doFilter$1(AddSubjectFilter.java:56)
 at java.security.AccessController.doPrivileged(Native Method)
 at com.tridium.web.filters.AddSubjectFilter.doFilter(AddSubjectFilter.java:54)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(Unknown Source)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(Unknown Source)
 at org.eclipse.jetty.security.SecurityHandler.handle(Unknown Source)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(Unknown Source)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(Unknown Source)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(Unknown Source)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(Unknown Source)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(Unknown Source)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(Unknown Source)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Unknown Source)
 at org.eclipse.jetty.server.handler.HandlerCollection.handle(Unknown Source)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(Unknown Source)
 at org.eclipse.jetty.server.Server.handle(Unknown Source)
 at org.eclipse.jetty.server.HttpChannel.handle(Unknown Source)
 at org.eclipse.jetty.server.HttpConnection.onFillable(Unknown Source)
 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(Unknown Source)
 at org.eclipse.jetty.io.FillInterest.fillable(Unknown Source)
 at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(Unknown Source)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Unknown Source)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException

]]>
https://www.niagara-community.com/906D0000000Ckf9IAC
<![CDATA[High Jace6 / Jace6E AX3.8.38.10 CPU usage]]> Anyone out there seeing high CPU usage on your remote JACEs? We have at least 20 JACEs of different sites now pegged at 100% CPU usage This has occured over time and started appearing(being noticed) before Thanksgiving.

We have done the Spy: Engine Hog check, and nothing is unusual, but keep on noticing a common thread in  Spy:   RemoteStation/platformdiagnostics/cpu    

ID/TID                    NAME    TIME    CPU%     DELTA    CPU%

368656             io-pkt-v6-hc  
    1                             0.005      0%     0.000      0%  
    2                              124d     37%    33m09s     96%  
    3                             8h26m      0%     2.902      0%  
    4                             6h05m      0%     1.947      0%  

 

Which is apparently part of the QNX Network stack.... We are not using IPv6, is this a network issue? all these 20 sites are unrelated and connection through VPN's, so it is not a DOS attack. 

Any thoughts?

  

]]>
https://www.niagara-community.com/906D0000000GtVOIA0
<![CDATA[Problems with 3.8.111 stations]]> We have a number of 3.8.111 stations at the latest revs that are acting up.  The stations will run with normal CPU for a while then suddenly go to 100%  CPU and stay there.  They do not have reports and the weather service is removed.  There only one or two simple program objects and no BQL queries. The App does not have any indications of the issue.   We thought the IP6v was an issue so we disabled it in all of them.  We also had a station where we used program services to change in16 for some mapped points, saved the station, backed up the station and it was all good.  Then we rebooted the station and the values went back to nul!  There are no links to these points.  Has anyone experienced anything like this?  Any idea how to fix it? 

]]>
https://www.niagara-community.com/906D0000000GuByIAK
<![CDATA[Email link in Ax]]> How does one put in a 'mailto:' in Ax as an action button to open my outlook browser to post a message to a pre-scripted email address? Anyone have thoughts on this?

]]>
https://www.niagara-community.com/906D0000000Cl60IAC
<![CDATA[How to add point value to boolean alarm extension text]]> I'm looking to add the value of an AV to the alarm text of a boolean alarm extension.  Reading through a few of the answers here, I think I need to create a custom program which will write the value of my AV to the metadata facets on the alarm extension.  I can then refer to the metadata keys.

Where I'm stuck is my knowledge of custom objects is very limited.  I'm hoping someone can help me out or guide me.

 

Thanks,

Dallas

]]>
https://www.niagara-community.com/906D0000000Gtr5IAC
<![CDATA[is the SetPointFieldEditor support in chrome in version 4.2]]> It seems to be working in workbench but when I try to enter a setpoint in chrome it dose not let "set" it.

]]>
https://www.niagara-community.com/906D0000000GuaKIAS
<![CDATA[How to Edit a Date Range from a Point or Bound Label]]> I assume a program object will need to be created hence the post here.

I would like to be able to edit a date range schedule within a calendar schedule from a Bound Label. Can this be done?

]]>
https://www.niagara-community.com/906D0000000Ta8mIAC
<![CDATA[Session Disconnected]]> I have a customer who is trying to access their system via mobile phones using the MobileIron custom VPN solution. We have them set up on the Handheld Touchscreen Profile, as they did not want to build custom screens using the newer Mobile profiles. 

They are able to connect to remote JACEs, but they are constantly interrupted by Session Disconnected prompts, like in the picture I have attached. Is there a way on my end to mitigate this, or is the fault of the VPN? What exactly causes this error? Are there retry or timeout settings that can be adjusted on my end? The bank's ITis insistent that the issue isn't on their side, but I have never had this problem with constant session disconnects. We see them occasionally, but a single refresh usually gets us back online again. 

Any help would be greatly appreciated. 

]]>
https://www.niagara-community.com/906D0000000Ta2FIAS
<![CDATA[Session Disconnected after opening AlarmRecipient "NIAGARA"]]> Hello
I recently received a problem of operation of AlarmService especially ; when I open the page of AlarmRecipient the cursor remains loading and after program will be blocked and displayed session disconnected


javax.baja.sys.LocalizableException: Session disconnected.
at com.tridium.workbench.shell.BNiagaraWbShell.checkT absForRemoveEvent(BNiagaraWbShell.java)
at com.tridium.workbench.shell.BNiagaraWbShell.navEve nt(BNiagaraWbShell.java)
at javax.baja.nav.BNavRoot.fireNavEvent(BNavRoot.java :127)
at javax.baja.nav.BNavContainer.fireNavEvent(BNavCont ainer.java:254)
at javax.baja.nav.BNavContainer.removeNavChild(BNavCo ntainer.java:217)
at com.tridium.fox.sys.BFoxSession.unloadSubSpaces(BFoxSession.java.704)
at com.tridium.fox.sys.BFoxSession.sessionClosed(BFoxSession.java.534)
at com.tridium.fox.sys.BFoxClientConnetion.sessionClosed(BFoxClientConnection.java.553)
at com.tridium.fox.session.FoxSession.close(FoxSession.java:311)
at com.tridium.fox.session.SessionReceiver.run(SessionReceiver.java:64)
at java.lang.Thread.run(Unknown Source)


The solution I've done
I have changed AlarmRecipient by another without result
I increase the Ram Disk Size to 10
...
please help us to solve this problem]]>
https://www.niagara-community.com/906D0000000TZhkIAG
<![CDATA[N4 double click Enhanced Wire Sheet]]> Hi,

when I double click on the folders the system open a error page Cannot Hyperlink, because it tries to open the Enhanced Wire Sheet mode.

The questions are:
What could be the reason why the Enhanced Wire Sheet does not work?
Why open the Enhanced and not the simple Wire Sheet mode, can I change this setting?

This problem is really annoying, having to manually open the Wire Sheet every time

Very thanks

bye bye

 

 

]]>
https://www.niagara-community.com/906D0000000ClBZIA0
<![CDATA[How to create a cancel button to close the popup windows]]>
I would like to ask how to create a cancel button so as to close the popup windows created in the graphics?

p.s. closing the windows without using the "X" at top right hand corner.

Thanks]]>
https://www.niagara-community.com/906D0000000TZi6IAG
<![CDATA[Error styling widget bajaui:CanvasPane java.lang.NullPointerException]]> All of my Px includes do not show on any browsers.  any help would be awesome.  Work

From the text editor 

<CanvasPane name="content" viewSize="280.0,133.0">

 

From Application director

hx.px] Error styling widget bajaui:CanvasPane
java.lang.NullPointerException

 


 

]]>
https://www.niagara-community.com/906D0000000GtnIIAS
<![CDATA[Widget Event Mouse Event not working HTML5]]> I have a value binding and an action binding attached to a polygon.  The fill is animated based on the active of a boolean point in the controller's point folder.  When you hover the mouse over the polygon the fill animates.  The widget event mouse event works like it should in workbench and in webstart but not in the browser.  This is N4.3.  If anyone has a solution to this problem it would be greatly appreciated.

]]>
https://www.niagara-community.com/906D0000000PGFaIAO
<![CDATA[Hi! I am a newbie user of NiagaraAX. Could someone please help me with this. In my px page, i want to add notes in this page. If the user added a note, the same note should appear on the alarm console. Is that possible?]]> Hi! I am a newbie user of NiagaraAX. Could someone please help me with. 

1. In my px page, i want to add notes. If the user added a note, the same note should appear on the alarm console. Is that possible?

2. I need a button that when you pressed it, you will not be able to press it again. (ie, My button has a pop up PX, I want it to be deactivated once you have pressed it)

 

thanks a lotsmiley

]]>
https://www.niagara-community.com/906D00000008ZDxIAM
<![CDATA[Relativize Ord's with wildcards?]]>
Example: 
AHU01GUT001
     AHU01GUT001MwT
     AHU01GUT001SmB

AHU02GUT002
     AHU02GUT002MwT
     AHU02GUT002SmB

Is it possible to relativize these ORD's when the px graphics add to the parent folder?]]>
https://www.niagara-community.com/906D0000000TZrHIAW
<![CDATA[Px Layer Animation]]> I was wondering if there was a way to animate the visible property of a Px layer. Now, I already know I could animate the individual objects that I would like to hide/show, and I could also put the dynamic objects in a PxInclude and animate that object, but that makes for a maintenance nightmare in some situations.

 

What I would specifically like to do is to create a separate layer, and then dynamically turn that layer on and off using Boolean Writable in the component space. I don't know of any way to link a component space object to an xml property that exists in the filespace (if only it were that simple...), so I was thinking of maybe using an xml variable to serve as a proxy for the status value in the layer declaration, and then use the xml equivalent of an IF/THEN to change the value of that variable from normal to hidden based on the out.value queried from the boolean object..Is this even possible?

Thinking out loud....

<xls:variable layerState="normal"></xls:variable>

<IF (ord path to boolean out.value property) = "true">

      layerState="normal"

<ELSE>

     layerState="hidden"

</ELSE>

</IF>

<layer name="DescLayer" state={layerState}>

.....

 

I know this doesn't work, but does the idea itself have promise?

 

Thanks for any advice!

 

]]>
https://www.niagara-community.com/906D0000000Gu86IAC
<![CDATA[N4.3 Bound Table in Report Pane missing export option in Web View]]> I am fairly new to Niagara so please bare with me.

I have 2 reports in my station that use Bound Tables to query an Mbus network for meter readings. The media type is Reportpx, the Root widget is a report pane.

When view through workbench, the export button in the top right of the report is visible and I can export to CSV with no problems.

The issue I have is that when my client will accesses the report via a web browser and the export option is not there. My local support agent has replied with the function is not possible, only via workbench.

I need to have the data in the bound tables available for my client to either export to CSV via the web view or another way in getting the data in CSV periodically.

Any help in achieving this would be greatly appreciated.

 

]]>
https://www.niagara-community.com/906D0000000Cl9iIAC
<![CDATA[Does Monthly Trigger exist?]]>


Does such a beast exist in AX?]]>
https://www.niagara-community.com/906D0000000TY78IAG
<![CDATA[Forbidden error when saving chart to station]]> Hi all, I am working on an N4 job where staff require the ability to create and save their own charts. Through the history folder they are able to group multiple logs into a single chart but get a "Forbidden" error message when trying to save the chart to the station. Downloading the chart isn't an issue.

There is a category created call "AdminNoProvisioning" granting access to everything under the Category Browser. The user role has been assigned with rwi/RWI (full) permissions for this category. The odd thing is once I re-enable the general category(category #1), I'm able to save the charts even though the user role has no access to the general category.

Any ideas? 

]]>
https://www.niagara-community.com/9064G000000CmQJQA0
<![CDATA[Convert or rebuild "Extending the Report Service" to N4]]> Hi there,

I'm trying to bring the custom "ftp report" module from the following link into N4.

https://www.niagara-community.com/articles/Developer_Document/Extending-the-Report-Service?retURL=%2Fapex%2FComm_Search%3Fq%3Dextending%2Bthe%2Breport%2Bservice&popup=false#

I'm following the same steps as the article, modifying the names and folder paths, and using gradlew to build the jar. The build fails with the following error "cannot find symbol: ftp.connect(getHostname(), getPort(), getUsername(), getPassword().getString()); symbol: method getString() location: class BPassword1. (this is all in the BFTPReportRecipient.java build)

I'm wondering if anyone has successfully transferred this module, or what has changed about the getString() method?

Thanks!

]]>
https://www.niagara-community.com/906D0000000ClBPIA0
<![CDATA[tag dictionary not showing in template i/o]]> I am attempting to create a template, and when assigning a bind hint, the tag dictionary for haystack is not showing although the module is in the tag dictionary service.  Any ideas?

]]>
https://www.niagara-community.com/9064G000000CmDsQAK
<![CDATA[vykon hyperlinklistV1]]> When upgrading to 4.9 the lists disappear from the px files when viewing in the browser.  Works fine on workbench though.  Below is the app director output.

javax.baja.naming.NullOrdException
 at javax.baja.naming.BOrd.parse(BOrd.java:358)
 at javax.baja.naming.BOrd.normalize(BOrd.java:498)
 at com.vykon.vykonPro.hx.BHxPxHyperlinkListSelectorV1.write(BHxPxHyperlinkListSelectorV1.java:83)
 at com.tridium.hx.px.BHxHtmlPxView.doWriteWidget(BHxHtmlPxView.java:250)
 at com.tridium.hx.px.BHxHtmlPxView.doWriteWidget(BHxHtmlPxView.java:289)
 at com.tridium.hx.px.BHxHtmlPxView.doWriteWidget(BHxHtmlPxView.java:289)
 at com.tridium.hx.px.BHxHtmlPxView.doWrite(BHxHtmlPxView.java:130)
 at javax.baja.hx.px.BHxPxView.write(BHxPxView.java:249)
 at javax.baja.hx.BHxProfile.doBody(BHxProfile.java:196)
 at com.tridium.hx.BHTML5HxProfile.doBody(BHTML5HxProfile.java:143)
 at javax.baja.hx.BHxProfile.writeDocument(BHxProfile.java:397)
 at com.tridium.hx.BHTML5HxProfile.writeDocument(BHTML5HxProfile.java:104)
 at javax.baja.hx.BHxView.doGet(BHxView.java:81)
 at javax.baja.web.BServletView.service(BServletView.java:63)
 at com.tridium.web.servlets.OrdServlet.doService(OrdServlet.java:218)
 at com.tridium.web.servlets.OrdServlet.doGet(OrdServlet.java:88)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
 at org.eclipse.jetty.servlet.ServletHolder$NotAsyncServlet.service(ServletHolder.java:1395)
 at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
 at com.tridium.web.filters.ViewFilter.doFilter(ViewFilter.java:110)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
 at com.tridium.web.filters.WebOpFilter.doFilter(WebOpFilter.java:97)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
 at com.tridium.web.filters.WebServletRedirectFilter.doFilter(WebServletRedirectFilter.java:108)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
 at com.tridium.web.filters.OrdTargetFilter.doFilter(OrdTargetFilter.java:134)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1596)
 at com.tridium.web.filters.WebStartServletFilter.doFilter(WebStartServletFilter.java:47)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
 at com.tridium.web.filters.ContextFilter.doFilter(ContextFilter.java:42)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
 at com.tridium.web.filters.LocaleFilter.doFilter(LocaleFilter.java:31)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
 at com.tridium.web.filters.TridiumSecurityFilter.doFilter(TridiumSecurityFilter.java:57)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
 at com.tridium.web.filters.AddSubjectFilter.lambda$null$0(AddSubjectFilter.java:59)
 at java.security.AccessController.doPrivileged(Native Method)
 at javax.security.auth.Subject.doAs(Subject.java:422)
 at com.tridium.web.filters.AddSubjectFilter.lambda$doFilter$1(AddSubjectFilter.java:58)
 at java.security.AccessController.doPrivileged(Native Method)
 at com.tridium.web.filters.AddSubjectFilter.doFilter(AddSubjectFilter.java:56)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:555)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1607)
 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1577)
 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:221)
 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
 at com.tridium.jetty.DisallowTraceHandler.handle(DisallowTraceHandler.java:43)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
 at org.eclipse.jetty.server.Server.handle(Server.java:500)
 at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
 at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
 at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
 at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
 at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
 at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:388)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
 at com.tridium.nre.util.PrivilegedRunnable.lambda$run$0(PrivilegedRunnable.java:30)
 at java.security.AccessController.doPrivileged(Native Method)
 at com.tridium.nre.util.PrivilegedRunnable.run(PrivilegedRunnable.java:28)
 at java.lang.Thread.run(Thread.java:748)

]]>
https://www.niagara-community.com/9064G000000CmAKQA0
<![CDATA[N4 Custom Theme]]> I've followed the guide and created a new N4 theme and compiled the JAR. After I restart the workbench, the theme does not appear in the 'tools / options' dropdown. What am I doing wrong?

]]>
https://www.niagara-community.com/9064G000000CmAAQA0
<![CDATA[Mass Category Editor]]>
Example:
I would like to set all points with a displayName of 'Shutdown' to Category 4.]]>
https://www.niagara-community.com/906D0000000TYDgIAO
<![CDATA[Unable to convert encoded value - BACnet]]> I am getting the following error in LogHistory:

Unable to convert encoded value: prop=objectList: bacnet:BacnetArray,id=76, val=213b ASN:Invalid tag 12

How do I locate the source of this error?

]]>
https://www.niagara-community.com/906D0000000CkJNIA0
<![CDATA[Unable to Backup or Save WS]]> Hi All,

Having a very weird problem with my station, tried to back up my supervisor and was greated with a job fail. Upon expanding the log details i got the following text below.

Failed [13:55:23 04-Nov-20] Job Failed
javax.baja.xml.XException: java.io.SyncFailedException: sync failed
   at javax.baja.xml.XWriter.error(XWriter.java:414)
   at javax.baja.xml.XWriter.close(XWriter.java:393)
   at javax.baja.io.ValueDocEncoder$BogEncoderPlugin.close(ValueDocEncoder.java:1744)
   at javax.baja.io.ValueDocEncoder.close(ValueDocEncoder.java:386)
   at com.tridium.sys.station.Station.lambda$saveSync$20(Station.java:620)
   at java.security.AccessController.doPrivileged(Native Method)
   at com.tridium.sys.station.Station.saveSync(Station.java:612)
   at com.tridium.backup.BFoxBackupJob.run(BFoxBackupJob.java:172)
   at javax.baja.job.BSimpleJob$JobThread.run(BSimpleJob.java:85)
Caused by: java.io.SyncFailedException: sync failed
   at java.io.FileDescriptor.sync(Native Method)
   at javax.baja.xml.XWriter.close(XWriter.java:387)
   ... 7 more
  java.io.SyncFailedException: sync failed
     at java.io.FileDescriptor.sync(Native Method)
     at javax.baja.xml.XWriter.close(XWriter.java:387)
     at javax.baja.io.ValueDocEncoder$BogEncoderPlugin.close(ValueDocEncoder.java:1744)
     at javax.baja.io.ValueDocEncoder.close(ValueDocEncoder.java:386)
     at com.tridium.sys.station.Station.lambda$saveSync$20(Station.java:620)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.tridium.sys.station.Station.saveSync(Station.java:612)
     at com.tridium.backup.BFoxBackupJob.run(BFoxBackupJob.java:172)
     at javax.baja.job.BSimpleJob$JobThread.run(BSimpleJob.java:85)

*********************************

assuming their might be some work in the queue, I then went on to increase the watchdog timer and was greeted with the following error.

javax.baja.sys.ActionInvokeException
   at com.tridium.fox.sys.broker.BFoxComponentSpace$FoxTrapCallbacks.invoke(BFoxComponentSpace.java:432)
   at com.tridium.sys.schema.ComponentSlotMap.invoke(ComponentSlotMap.java:1870)
   at com.tridium.sys.schema.ComponentSlotMap.invoke(ComponentSlotMap.java:1855)
   at javax.baja.sys.BComponent.invoke(BComponent.java:1221)
   at com.tridium.platform.BPlatformService.savePlatformServiceProperties(BPlatformService.java:150)
   at com.tridium.platform.ui.BSystemPlatformServicePlugin.doSaveValue(BSystemPlatformServicePlugin.java:659)
   at javax.baja.workbench.BWbEditor.saveValue(BWbEditor.java:352)
   at javax.baja.workbench.BWbEditor.saveValue(BWbEditor.java:384)
   at com.tridium.platform.ui.BPlatformServiceContainerPlugin.doSaveValue(BPlatformServiceContainerPlugin.java:91)
   at javax.baja.workbench.BWbEditor.saveValue(BWbEditor.java:352)
   at javax.baja.workbench.BWbEditor.saveValue(BWbEditor.java:393)
   at com.tridium.workbench.shell.BNiagaraWbShell.save(BNiagaraWbShell.java:859)
   at com.tridium.workbench.shell.WbCommands$SaveCommand.doInvoke(WbCommands.java:1430)
   at javax.baja.ui.Command.doInvoke(Command.java:311)
   at javax.baja.ui.Command.invoke(Command.java:281)
   at javax.baja.ui.BButton.doInvokeAction(BButton.java:149)
   at javax.baja.ui.BAbstractButton.mouseReleased(BAbstractButton.java:554)
   at javax.baja.ui.BWidget.fireMouseEvent(BWidget.java:1228)
   at com.tridium.ui.awt.MouseManager.fire(MouseManager.java:325)
  com.tridium.fox.session.ServerException: javax.baja.xml.XException: java.io.SyncFailedException: sync failed
     at com.tridium.fox.sys.LocalizableExceptionTranslator.messageToException(LocalizableExceptionTranslator.java:102)
     at com.tridium.fox.session.FoxSession.sendSync(FoxSession.java:1118)
     at com.tridium.fox.sys.BFoxConnection.sendSync(BFoxConnection.java:521)
     at com.tridium.fox.sys.BFoxChannel.sendSync(BFoxChannel.java:340)
     at com.tridium.fox.sys.broker.BBrokerChannel.invoke(BBrokerChannel.java:1855)
     at com.tridium.fox.sys.broker.BFoxComponentSpace$FoxTrapCallbacks.invoke(BFoxComponentSpace.java:427)
     at com.tridium.sys.schema.ComponentSlotMap.invoke(ComponentSlotMap.java:1870)
     at com.tridium.sys.schema.ComponentSlotMap.invoke(ComponentSlotMap.java:1855)
     at javax.baja.sys.BComponent.invoke(BComponent.java:1221)
     at com.tridium.platform.BPlatformService.savePlatformServiceProperties(BPlatformService.java:150)
     at com.tridium.platform.ui.BSystemPlatformServicePlugin.doSaveValue(BSystemPlatformServicePlugin.java:659)
     at javax.baja.workbench.BWbEditor.saveValue(BWbEditor.java:352)
     at javax.baja.workbench.BWbEditor.saveValue(BWbEditor.java:384)
     at com.tridium.platform.ui.BPlatformServiceContainerPlugin.doSaveValue(BPlatformServiceContainerPlugin.java:91)
     at javax.baja.workbench.BWbEditor.saveValue(BWbEditor.java:352)
     at javax.baja.workbench.BWbEditor.saveValue(BWbEditor.java:393)
     at com.tridium.workbench.shell.BNiagaraWbShell.save(BNiagaraWbShell.java:859)
     at com.tridium.workbench.shell.WbCommands$SaveCommand.doInvoke(WbCommands.java:1430)
     at javax.baja.ui.Command.doInvoke(Command.java:311)

 

It appears to have similar errors with SyncFailedException. 

We then attempted to stop the station and the AD keep getting flood with the following output. We had to kill the station for it to stop.

 

java.io.IOException: The request could not be performed because of an I/O device error
 at java.io.RandomAccessFile.writeBytes(Native Method)
 at java.io.RandomAccessFile.write(RandomAccessFile.java:525)
 at com.tridium.history.io.FileRandomAccess.write(FileRandomAccess.java:324)
 at com.tridium.history.file.recstore.Page.write(Page.java:353)
 at com.tridium.history.file.recstore.RecordStore.writePage(RecordStore.java:749)
 at com.tridium.history.file.recstore.RecordStore.newLastPage(RecordStore.java:841)
 at com.tridium.history.file.recstore.RecordStore.getWritePage(RecordStore.java:810)
 at com.tridium.history.file.recstore.RecordStore.append(RecordStore.java:292)
 at com.tridium.history.file.recstore.BRecordStoreHistoryTable.doAppend(BRecordStoreHistoryTable.java:204)
 at com.tridium.history.file.BFileHistoryTable.append(BFileHistoryTable.java:1001)
 at com.tridium.history.db.TableHandle.append(TableHandle.java:266)
 at com.tridium.history.db.LocalDbConnection.append(LocalDbConnection.java:118)
 at com.tridium.history.log.BLogHistoryService$LogHistoryHandler.publish(BLogHistoryService.java:671)
 at java.util.logging.Logger.log(Logger.java:738)
 at java.util.logging.Logger.doLog(Logger.java:765)
 at java.util.logging.Logger.log(Logger.java:876)
 at com.tridium.sys.engine.EngineUtil.started(EngineUtil.java:174)
 at com.tridium.sys.engine.EngineManager.start(EngineManager.java:85)
 at com.tridium.sys.schema.ComponentSlotMap.start(ComponentSlotMap.java:2003)
 at javax.baja.sys.BComponent.start(BComponent.java:301)
 at com.tridium.sys.engine.EngineManager.start(EngineManager.java:92)
 at com.tridium.sys.schema.ComponentSlotMap.start(ComponentSlotMap.java:2003)
 at javax.baja.sys.BComponent.start(BComponent.java:301)
 at com.tridium.sys.engine.EngineManager.start(EngineManager.java:92)
 at com.tridium.sys.schema.ComponentSlotMap.start(ComponentSlotMap.java:2003)
 at javax.baja.sys.BComponent.start(BComponent.java:301)
 at com.tridium.sys.engine.EngineManager.start(EngineManager.java:92)
 at com.tridium.sys.schema.ComponentSlotMap.start(ComponentSlotMap.java:2003)
 at javax.baja.sys.BComponent.start(BComponent.java:301)
 at com.tridium.sys.engine.EngineManager.start(EngineManager.java:92)
 at com.tridium.sys.schema.ComponentSlotMap.start(ComponentSlotMap.java:2003)
 at javax.baja.sys.BComponent.start(BComponent.java:301)
 at com.tridium.sys.engine.EngineManager.start(EngineManager.java:92)
 at com.tridium.sys.schema.ComponentSlotMap.start(ComponentSlotMap.java:2003)
 at javax.baja.sys.BComponent.start(BComponent.java:301)
 at com.tridium.sys.engine.EngineManager.start(EngineManager.java:92)
 at com.tridium.sys.schema.ComponentSlotMap.start(ComponentSlotMap.java:2003)
 at javax.baja.sys.BComponent.start(BComponent.java:301)
 at com.tridium.sys.engine.EngineManager.start(EngineManager.java:92)
 at com.tridium.sys.schema.ComponentSlotMap.start(ComponentSlotMap.java:2003)
 at javax.baja.sys.BComponent.start(BComponent.java:301)
 at com.tridium.sys.station.Station.startStation(Station.java:340)
 at com.tridium.sys.station.Station.bootStation(Station.java:111)
 at com.tridium.sys.station.Station.main(Station.java:1140)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.tridium.sys.Nre.runClass(Nre.java:393)
 at com.tridium.sys.Nre.main(Nre.java:228)
 at com.tridium.sys.Nre.bootstrap(Nre.java:145)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at com.tridium.nre.bootstrap.Bootstrap.Main(Bootstrap.java:104)
niagara>

Any assistance would be appreciated.


Regards,


Dkalianda

 

 

]]>
https://www.niagara-community.com/9064G000000Cm3sQAC
<![CDATA[Authentication Failed N4 to 3.8]]> I have an N4 supervisor that I am connecting to a 3.8 NPM6E. I was able to get the supervisor to talk to the controller and pull all of the points and histories up. But I can't get the controller to connect to the server. If I try to use foxs I get a certificate error and it won't work, if I use regular fox, it fails on 'Authentication Failed'. I've checked the username and password and have tried using different accounts and nothing seems to be working. Any ideas?

]]>
https://www.niagara-community.com/906D00000004MYqIAM
<![CDATA[BadPaddingException: pad block corrupted]]> Sharing this in the event that others run into this problem. I was unable to locate a similar issue and it took a bit of effort to figure this out.

You may run into the error in the subject under two circumstances:

  1. You have copied objects from one station bog file to another and those objects contain a password slot.  When copying the bog file from user home into the platform (via Platform > StationCopier), the dialog window will show a stacktrace with this error and indicate that the copy failed.
  2. You are trying to copy an object (with a password slot) from a station bog file into a running station.  Error dialog details will show this error.

If you're new to N4 and familiar with AX, there are a couple of critical limitations in how you can cut and paste objects between stations, no matter if they're running or if it's being done from a station bog file.

Big picture is that the passphrase used to secure a station bog requires special attention when it comes to objects that contain a password (Users, Devices, etc). N4 uses this passphrase to salt all passwords in the station and this salted hash persists in the object until it is reset. Unlike AX, you can no longer do things like pop open a bog file, copy a NiagaraNetwork device from another bog file and then simply relaunch the station.  

The solution to this is that there is a procedure for clearing and/or resetting the password hashes across the entire station. While the bog file is open in Workplace, go to File > Bog File Protection.  (Very non-intuitive). Select the last option “Force any password values that depend on the current file protection to be cleared”. After clicking "Update", the dialog automatically selects the "Start protecting the file with a passphrase". Enter a passphrase, click Update and all objects that have a password slot in the station should be re-encrypted with the same padding.

I hope this makes sense.

 

 

 

]]>
https://www.niagara-community.com/906D0000000Gu1UIAS
<![CDATA[java.io.IOException: Request timed out: history.getConfigs]]> I have a historyimport  set-up to import histories from a jace to a supervisor with the a tag called HVAC.  I have multiple JACE all importing from different JACES to the supervisor using the same tag.  There is one building that keeps faulting out and giving me the this code java.io.IOException: Request timed out: history.getConfigs.  I have two other imports from that same JACE with different tags that import with no issue.  Only the one with the TAG of HVAC is faulting out.  What is causing this Fault?

]]>
https://www.niagara-community.com/906D00000004ODzIAM
<![CDATA[NiagaraSystemHistoryImport goes into fault a lot with N4]]> We have noticed with N4 and using NaigaraSystemHistoryImport's  for both AX and N4 station it goes into fault over 50% of the time is trying to import. The message is a time out error, "java.io.IOException: Request timed out: history.getConfigs". There is projects that had a AX supervisor where the import would never fail, once upgraded to N4 it is now faulting all the time. 

Anybody else seeing and know of a solution? Something seems to have changed to be causing this. 

]]>
https://www.niagara-community.com/906D0000000GuBtIAK
<![CDATA[how to switch from one lexicon module to another]]> Dear All

I am still new to this ,

I have two lexicon modules configured to display two languages on the same px page.

Now, I want to know how can I switch between them? so if I select lexicon module number 1 , the whole px language will be similar to lexicon module 1, if selecting lexicon module number 2 the  px page langauge will be as per lexicon module 2.

How can I do this?

]]>
https://www.niagara-community.com/906D00000008ZF5IAM
<![CDATA[email recipient body limitations]]> Are there character limitations to the body of an email recipient? I'm attempting to send out a lengthy format of steps via text through this and I receive these just fine via email but when i do text messages I only get a portion. Why is that?

]]>
https://www.niagara-community.com/9064G000000ClqjQAC
<![CDATA[Supported Niagara Versions On JACE Platforms]]> Similar to the following Niagara Community Knowledge articles:

  1. Supported Operating Systems for Niagara Supervisor
  2. Supported Operating Systems for Earlier Niagara Releases

I, and others, would like to see the following article updated to include N4.2 - N4.9 versions and published "Visible to Partner" and "Visible to Customer":

  1. Supported Niagara Versions on JACE Platforms

Please let us know when this will be updated and published, or why it will not be accessible to partners and customers.  Thank you!


 

]]>
https://www.niagara-community.com/9064G000000ClpHQAS
<![CDATA[JACE 4 Heart Beat Stops at random]]> G'day Everyone,

We have been having a bit of grief with with one of our JACE 8000 running on 4.7.110. This JACE interfaces to all the field device via BACnet IP  to around 75 devices. At random the heartbeat LED stops blinking until we power cycle the device. We have made sure there are no errors on the standard output other than the 2 devices that are offline,  the CPU is not overloaded and the heap memory is healthy. We have successfully interfaced over 175 devices on a Titan, so we know we have not overloaded this device.

So far we have done the following by the request of our support channel.

- We have set the engine watchdog timer from terminate to Log only 

- We have disabled the Data Recovery Service

- We have installed the clean Dist to the JACE and recommissed the device with the backup station

Any assistance would be greatly appreciated, my hunch is a faulty hardware. 

Regards,

Deviah.

]]>
https://www.niagara-community.com/9064G000000PGmBQAW
<![CDATA[Program service or Robot editor - executing actions on control points]]> Hi all,

I'm sure this has been asked or tried before, but I wasn't seeing anything posted out there. Is it possible to execute actions on control points in a station via the program service (preferably) or the robot editor?

Asking specifically about niagara proxy points pulled into a supervisor from other stations, although it would be useful to know for points native to a station as well.

N4 supervisor is at 4.2.36.34.

Any thoughts or help would be appreciated. Thank you,

Gavin

]]>
https://www.niagara-community.com/906D0000000Gum6IAC
<![CDATA[Component not executing on startup]]>
local:|module://docDeveloper/doc/station.html#bootstrap

I am just trying to understand why the change I made resolved the issue. I am not sure why it did and don't want to just call it good if there is something I am missing.

Any thoughts are welcome.

Thanks!!]]>
https://www.niagara-community.com/906D0000000TZXzIAO
<![CDATA[enhanced bound label N4 problem HTML5]]> Works fine in Workbench, but is a no go in the browser.  

 

Cannot display page

TypeError: Cannot read property 'env' of undefined
 

Show Details

TypeError: Cannot read property 'env' of undefined
File:undefined
Line:undefined
Stack:TypeError: Cannot read property 'env' of undefined at Hx.c [as hyperlink] (http://localhost/vfile/hx:HTML5HxProfile/1462385374240/themeLucid/en-US/app.js:6020:111) at eval (eval at(http://localhost/vfile/hx:HTML5HxProfile/1462385374240/themeLucid/en-US/app.js:428:33), :1:21) at Hx.doFireEvent (http://localhost/vfile/hx:HTML5HxProfile/1462385374240/themeLucid/en-US/app.js:428:28) at XMLHttpRequest.Message.handleResponse (http://localhost/vfile/hx:HTML5HxProfile/1462385374240/themeLucid/en-US/app.js:1401:11)

hx.dynamic=false;hx.hyperlink('/ord?station:%7Cslot:/Drivers/NiagaraNetwork/HannanTraceES/points/UVs/Rm_110/Valve%7Cview:PointDetail');

]]>
https://www.niagara-community.com/906D00000004MeyIAE
<![CDATA[Program not signed. The ability to run unsigned programs will be removed in a future release.]]> Hi gents,

I have written a number of program objects in N4.2 but I noted the following warning in application director:

WARNING [11:00:45 03-Dec-16 AWST][sys.program] Program not signed. The ability to run unsigned programs will be removed in a future release.

I tried to reaserch the subject but could not find any info/ answers. How can I add a signature?  

Thanks in advance

Thomas

 

 

 

 

]]>
https://www.niagara-community.com/906D0000000GtWCIA0
<![CDATA[How to use the series transform to return the peak timestamp.]]> I'm using the rollup function to get a peak demand value for daily and monthly energy usage.  However the timestamp always returns 12AM for the monthly chart (hourly for the daily chart).  Is there any way to return the actual max value and timestamp from a dataset using series transform functions?  I would like to return the value and the timestamp it occured on a simple chart.  This is N4.2

]]>
https://www.niagara-community.com/906D0000000CkdNIAS
<![CDATA[TLS handshake failed]]> [crypto] TLS handshake failed. Cause is: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: java.security.cert.CertPathBuilderException: Unable to find certificate chain.
 

Any ideas?

]]>
https://www.niagara-community.com/9064G000000PGbXQAW