• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. atkins.chrisw
    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
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 44
    • Posts 142
    • Best 2
    • Controversial 1
    • Groups 0

    Topics created by atkins.chrisw

    • A

      shortening up app.js

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      1
      0
      Votes
      1
      Posts
      1.2k
      Views

      No one has replied

    • A

      Numeric Defualt Questions

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      2
      0
      Votes
      2
      Posts
      1.5k
      Views

      Jared WiltshireJ

      @atkins-chrisw I think it is due to you using rendered point values on the AmCharts, the client side is interpreting the string as a number formatted with a comma as the decimal point. We will fix this in an upcoming release, for now either dont use rendered point values with a chart or dont use a comma in the rendered point value.

    • A

      mdAdminApp

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      4
      0
      Votes
      4
      Posts
      2.1k
      Views

      Jared WiltshireJ

      @atkins.chrisw
      You can always create a page and set the permissions on it so your users dont see it.

      You are going to have to elaborate more about the errors you are getting for us to help you. For starters when and where it happens and your console output. The login issue in particular is strange, as a 403 means that you are not logged in, perhaps record your screen as this occurs with the console open so I can see exactly what is happening here, you could post it to YouTube.

    • A

      user error

      User help
      • • • atkins.chrisw
      14
      0
      Votes
      14
      Posts
      4.4k
      Views

      terrypackerT

      I suspect this is a permissions problem with the user you are logged in as. 403 Responses are coded into the REST api when a user does not have proper permission. I would triple check that the user actually has the 'superadmin' permission.

      If this is the case you should be seeing WARN level log messages in the logfile that look something like this:

      Non admin user: <username> attempted to create user : <new-username>

      The only other way to get a 403 from this endpoint is as Phillip suggested, you are either not logged in or the cookies were not set/stored properly when you did log in.

    • A

      After services... I get this happening when I try to srtart Mango

      Mango Automation general Discussion
      • • • atkins.chrisw
      2
      0
      Votes
      2
      Posts
      1.4k
      Views

      phildunlapP

      Hi Chris,

      Does anything come out in your Mango log files? What service file are you using? Is Java installed on a path that will be available to the runtime of the service? Is JAVA_HOME set?

    • A

      Server Timeout. How do I see if I can stop this from happening.

      User help
      • • • atkins.chrisw
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      phildunlapP

      Hi Chris,

      I'm not sure I understand what you're saying about your setup. This is one Modbus data source talking to four devices, or four Modbus data sources? Serial or IP?

      Regardless, the answer probably is in your timeout and retries settings. The actual maximum time waited is the number of requests, multiplied by the number of retries, multiplied by the timeout. A "poll aborted because Task Currently Running" means exactly that, the previous poll is still running. To see your poll times, you can check the "Runtime status" above the data source in question.

      0_1479836441463_poll-times.png

      I believe "Latest aborted poll times" should only show up if you've already made the move to 2.8, but the "Latest poll times" should be there.

    • A

      Errors when i upgraded the Dashboard module. Dashboard not running

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      8
      0
      Votes
      8
      Posts
      3.2k
      Views

      A

      I did that. It didnt help. What I finally did is delete the loader.js files and replaced them.

      That seemd to do it.

    • A

      json/ ng-init passing data to directive.

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      4
      0
      Votes
      4
      Posts
      2.1k
      Views

      Jared WiltshireJ

      @atkins.chrisw said in json/ ng-init passing data to directive.:

      Thanks Jared. That worked. But the problem now is that the values are incorrect. And on one of them, it shows it as disabled.

      If I use a standard drop down box with the device name as the input. I get the right values. Im trying to not have to hand enter each list selector.

      I'm really not following what worked and what didn't.

      Is it not possible to make the json object go directly into the ma-point-query.

      It definitely is.

      so instead of : <ma-point-query query="{deviceName:deviceName}" sort="'name'" points="powerPoints"></ma-point-query>

      its more like : <ma-point-query query="{deviceName:{powerDevice}}" sort="'name'" points="powerPoints"></ma-point-query>

      The first syntax is correct. Assuming you have a variable named deviceName on your scope. The second syntax is entirely incorrect. Do you want this maybe?

      <ma-point-query query="{deviceName:powerDevice}" sort="'name'" points="powerPoints"></ma-point-query>
    • A

      Angular controllers

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      2
      0
      Votes
      2
      Posts
      1.3k
      Views

      Jared WiltshireJ

      Following the example in the Angular JS documentation, this is what it would look like when you add it to your app.js

      mdAdminApp.controller('GreetingController', ['$scope', function($scope) { $scope.greeting = 'Hola!'; }]);

      Then you could use your controller in your markup

      <div ng-controller="GreetingController"> {{ greeting }} </div>
    • A

      Pie Chart not working

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      2
      0
      Votes
      2
      Posts
      1.3k
      Views

      phildunlapP

      There is an error in the document. The quote marks around the list of value objects and the various quotes inside need to be different, as,

      <ma-pie-chart style="height: 300px; width: 600px" values='[ { "value": 30, "text": "hot", "color": "#ff9300" }, { "value": 70, "text": "cold", "color": "#942192" } ]' options="{depth3D:15,angle:30}"></ma-pie-chart>

      Thanks for bringing it to our attention!

    • A

      BACnet IP

      Mango Automation general Discussion
      • • • atkins.chrisw
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      phildunlapP

      Hi Chris,

      Yes, BACnet heavy systems have been observed to behave somewhat better when everything is under one data source as opposed to many. You can increase the thread pool size maximum on the system settings page for the high priority pool.

    • A

      User Permissions on the AngularJS

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      A

      I am still using the adminTemplate. Has that been built into the app.js file

    • A

      Windows Server Installation Trouble

      Mango Automation Installation
      • • • atkins.chrisw
      3
      0
      Votes
      3
      Posts
      1.6k
      Views

      phildunlapP

      I have not run into this problem. This made me think of the first tech class I had, where I was playing Freecell on our Windows computers. If I paused for a second in my game, the cursor would slowly move up to the corner and click the X. It happened several times! I went up to the teacher and said I suspected the computer had a virus that was closing Freecell. Of course, he was closing Freecell. 'Remote assistance' is often enabled by default in Windows these days!

      In this case, my teacher is perhaps Windows Defender, and the rest is perhaps a pointless side story. If Windows Defender is enabled, try adding an exclusion for your C:\mango directory. Depending on your File settings C:\ProgramData might be hidden to the searches you're running. If not Defender, might there be another Antivirus program getting ahead of itself and deleting your C:\mango?

      After that, if I was facing this problem, I would try (in no particular order)...
      A. Downloading Mango again
      B. Trying it without modules
      C. Checking out the "Event Viewer" for interesting logs
      D. Having a text document opened in an editor, and saved in your C:\mango directory.
      E. Using the default env.properties
      F. Booting on a clean database
      G. Disabling networking
      H. Trying a different directory
      I. Watching C:\mango disappear in Windows Explorer (it'll live update!)
      JK. Switch to linux

    • A

      Data Import

      Mango Automation general Discussion
      • • • atkins.chrisw
      6
      0
      Votes
      6
      Posts
      2.1k
      Views

      phildunlapP

      Check your log file while you import.
      Try it with a single line of data.

    • A

      Drop down list of all device names for input

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      13
      0
      Votes
      13
      Posts
      3.5k
      Views

      Jared WiltshireJ

      @atkins-chrisw
      v1.1.8 has been released to the store.

    • A

      Iframe

      Dashboard Designer & Custom AngularJS Pages
      • • • atkins.chrisw
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      Jared WiltshireJ

      @atkins-chrisw
      You can of course insert a card and put an iframe in it. I'm not sure I'm following what you are saying though.

      PS you don't have to address me directly, there are multiple people here who can help :D

    • A

      Interval Logging Period will not change

      Mango Automation general Discussion
      • • • atkins.chrisw
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      A

      Awesome!!!

    • A

      javascript for "this month"

      Mango Automation general Discussion
      • • • atkins.chrisw
      13
      0
      Votes
      13
      Posts
      3.5k
      Views

      phildunlapP

      Whoops! My mistake. I shouldn't have been using setDate(0); The first day of the month is 1, and it accepts negative numbers, so 0 is a day before 1.

    • A

      context update vs cron

      Mango Automation general Discussion
      • • • atkins.chrisw
      4
      0
      Votes
      4
      Posts
      1.6k
      Views

      phildunlapP

      I'm not sure there is a hard and fast simplification for the selection of the type. That said, that's a fine intuition to start from.

      Another kind of meta data point will be something like the 'Time since status' genre. In this case, I typically use a cron AND a context update. While just using a cron would enable you to recompute the minutes since the last update/change/negative value/whatever, but it isn't responsive and would probably never report a zero. So the context update is useful to zero it out.

    • A

      all points are enabled, but nothing is logging

      Mango Automation general Discussion
      • • • atkins.chrisw
      3
      0
      Votes
      3
      Posts
      1.0k
      Views

      A

      im doing that now