• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Bhanner
    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
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 24
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Bhanner

    • B

      Disabled Emailing of alarms and websocket issue

      User help
      • • • Bhanner
      12
      0
      Votes
      12
      Posts
      3.0k
      Views

      Jared WiltshireJ

      @Bhanner just looked it over and it doesn't look like there's anything wrong with it. Are you using the latest Chrome and the latest Mango and UI module? Does the tab freeze up every time at the same time? Is it reproducible under a certain set of conditions?

      [edit] Its possible this is from a bug where the point value component was fetching events from the API too frequently, maybe try purging old events and upgrading your UI/API module.

    • B

      Point Value Link Trigged by button or page change

      Dashboard Designer & Custom AngularJS Pages
      • • • Bhanner
      6
      0
      Votes
      6
      Posts
      1.9k
      Views

      B

      @jared-wiltshire
      Hi jared,
      Didn't realise i needed to add ".value" at the end i have now added it and the button now works as i wanted :) Thanks for you help
      Regards
      Billy

    • B

      Indirect addressing

      Dashboard Designer & Custom AngularJS Pages
      • • • Bhanner
      4
      0
      Votes
      4
      Posts
      1.7k
      Views

      Jared WiltshireJ

      @bhanner You can use a point value inside the point-xid attribute

      <ma-get-point-value point-xid="source-point-xid" point="sourcePoint"></ma-get-point-value> <ma-point-value point-xid="point-{{sourcePoint.value}}"></ma-point-value>
    • B

      Set point Value Input Box Size

      Dashboard Designer & Custom AngularJS Pages
      • • • Bhanner
      2
      0
      Votes
      2
      Posts
      866
      Views

      Jared WiltshireJ

      @Bhanner Thats a bug on our end, the input should resize when you resize the <ma-set-point-value> component. For the time being add this to your page -

      <style> ma-set-point-value md-input-container { width: 1000px; } </style>
    • B

      Displaying time and date in text form

      Dashboard Designer & Custom AngularJS Pages
      • • • Bhanner
      10
      0
      Votes
      10
      Posts
      3.0k
      Views

      phildunlapP

      Hi dovydas,

      Can you provide an example input and output for the uppercasing you're talking about? Have you checked out the angular "uppercase" filter? It will easily allow you to uppercase the whole date, like,

      <ma-now update-interval="1 SECONDS" output="time"></ma-now> <div >{{time|maMoment: 'format':'MMMM Do, dddd' | uppercase}}</div> // sausio 12-oji, penktadienis <div >{{time|maMoment: 'format':'dddd' | uppercase}}</div> // penktadienis
    • B

      Printing From the Scada

      How-To
      • • • Bhanner
      7
      0
      Votes
      7
      Posts
      2.9k
      Views

      Jared WiltshireJ

      Actually, you can make it a lot easier than that. You could just set the onclick attribute of your button for this use case.

      e.g.

      <ma-button raised="true" label="Print" onclick="window.print()"></ma-button>

      You can add some custom CSS to hide the top bar when printing -

      @media print { .ma-ui-main-toolbar { display: none !important; } }
    • B

      CSV/Excel Data source

      How-To
      • • • Bhanner
      4
      0
      Votes
      4
      Posts
      1.6k
      Views

      phildunlapP

      Did you look at your Mango/logs/ma.log file when the issue occurred to see if there was more information?

    • B

      Raspberry PI and RFID

      Hardware
      • • • Bhanner
      2
      0
      Votes
      2
      Posts
      1.4k
      Views

      phildunlapP

      Hi Billy,

      Yes, quite possible. You could get started with a Serial Data Source. You'll need to identify the serial port, find the port settings in the device documentation (baud rate, parity, etc), and set up the regex to capture in incoming data.

      Here's the JSON for my serial data source:

      { "dataSources":[ { "xid":"DS_0ff77d1f-0d36-4f36-bc2e-0227a4a01b05", "name":"RFID Test", "enabled":true, "type":"SERIAL", "alarmLevels":{ "POINT_READ_PATTERN_MISMATCH_EVENT":"URGENT", "POINT_WRITE_EXCEPTION":"URGENT", "DATA_SOURCE_EXCEPTION":"URGENT", "POINT_READ_EXCEPTION":"URGENT" }, "purgeType":"YEARS", "baudRate":9600, "commPortId":"COMM", "dataBits":8, "flowControlIn":0, "flowControlOut":0, "hex":true, "ioLogFileSizeMBytes":1.0, "logIO":false, "maxHistoricalIOLogs":1, "maxMessageSize":1024, "messageRegex":"()02.*", "messageTerminator":"03", "parity":0, "pointIdentifierIndex":1, "readTimeout":1000, "stopBits":1, "useTerminator":true, "editPermission":"", "purgeOverride":false, "purgePeriod":1 } ], "dataPoints":[ { "xid":"DP_8b4d3826-55aa-4586-bff0-bfcce63d4e31", "name":"Catch All", "enabled":true, "loggingType":"ON_CHANGE", "intervalLoggingPeriodType":"MINUTES", "intervalLoggingType":"INSTANT", "purgeType":"YEARS", "pointLocator":{ "dataType":"ALPHANUMERIC", "pointIdentifier":"", "valueIndex":0, "valueRegex":".*" }, "eventDetectors":[ ], "plotType":"STEP", "rollup":"NONE", "unit":"", "templateXid":"Alphanumeric_Default", "chartColour":"", "chartRenderer":{ "type":"TABLE", "limit":10 }, "dataSourceXid":"DS_0ff77d1f-0d36-4f36-bc2e-0227a4a01b05", "defaultCacheSize":1, "deviceName":"RFID Test", "discardExtremeValues":false, "discardHighLimit":1.7976931348623157E308, "discardLowLimit":-1.7976931348623157E308, "intervalLoggingPeriod":15, "intervalLoggingSampleWindowSize":0, "overrideIntervalLoggingSamples":false, "preventSetExtremeValues":false, "purgeOverride":false, "purgePeriod":1, "readPermission":"", "setExtremeHighLimit":1.7976931348623157E308, "setExtremeLowLimit":-1.7976931348623157E308, "setPermission":"", "textRenderer":{ "type":"PLAIN", "useUnitAsSuffix":true, "unit":"", "renderedUnit":"", "suffix":"" }, "tolerance":0.0 } ] }

      COMM is a server socket virtual serial port I used for testing via:

      echo -n -e "\x02\x30\x31\x30\x30\x30\x37\x33\x34\x45\x30\x44\x32\x03" | nc localhost 9000

      So you'll need to select your comm port (probably something like /dev/ttyUSB0)

      The "CatchAll" point in that JSON gets this value after that echo:

      01000734E0D2

      You can either refine the regex on the points on the serial data source to get value from that, or you can use a meta or scripting data source driven on context update to extract the values.