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

    Topics created by jjd124

    • J

      M2M2 Help File Errors

      Mango Automation general Discussion
      • • • jjd124
      6
      0
      Votes
      6
      Posts
      4.5k
      Views

      P

      I just checked, and apparently I am using 2.0.3.

      Joel Haggar suggested I add 'cd ${PRGDIR}' below line 13 in the ma-start.sh file. Now it works. He said 'this will be included in all new releases of Mango'

      $ **cat /opt/mango/ma-start.sh
      **```
      #!/bin/sh

      Copyright (C) 2006-2011 Serotonin Software Technologies Inc. All rights reserved. @author Matthew Lohbihler Runs Mango Automation. Get standard environment variables

      PRGDIR=dirname "$0"

      #log output
      exec >${PRGDIR}/logs/ma.out 2>${PRGDIR}/logs/ma.err
      cd ${PRGDIR}

      Only set MA_HOME if not already set

      [ -z "$MA_HOME" ] && MA_HOME=cd "$PRGDIR" >/dev/null; pwd

      if [ ! -r "$MA_HOME"/ma-start.sh ]; then
      echo The MA_HOME environment variable is not defined correctly
      echo This environment variable is needed to run this program
      exit 1
      fi

      Uncomment the following line to start with the debugger JPDA=-agentlib:jdwp=transport=dt_socket,address=8090,server=y,suspend=y

      MA_CP=$MA_HOME/overrides/classes
      MA_CP=$MA_CP:$MA_HOME/classes
      MA_CP=$MA_CP:$MA_HOME/overrides/properties
      for f in $MA_HOME/lib/*.jar
      do
      MA_CP=$MA_CP:$f
      done

      if [ -z "$JAVA_HOME" ]; then
      EXECJAVA=java
      else
      EXECJAVA=$JAVA_HOME/bin/java
      fi

      LOOP_EXIT=false
      while [ $LOOP_EXIT = false ]; do
      $EXECJAVA $JPDA -server -cp $MA_CP
      -Dma.home=$MA_HOME
      -Djava.library.path=$MA/lib:$PATH
      com.serotonin.m2m2.Main

      if [ ! -r "$MA_HOME"/RESTART ]; then LOOP_EXIT=true fi

      done

    • J

      M2M2 install problem

      Mango Automation general Discussion
      • • • jjd124
      4
      0
      Votes
      4
      Posts
      3.6k
      Views

      J

      OK, Thanks, I loaded the compatible module's and all is well, Thank You for your timely reply.

    • J

      Meta points resolved!

      User help
      • • • jjd124
      2
      0
      Votes
      2
      Posts
      1.7k
      Views

      J

      I found the answer, (right in front of me!) Thanks anyway...yes, I'm new!

    • J

      Meta Points

      User help
      • • • jjd124
      2
      1
      Votes
      2
      Posts
      1.5k
      Views

      J

      I'm new to this application...can anyone help me with a simple example of how to create a meta point using existing real points.
      For example averaging 4 analog points (temperature sensors)

      Thank You in advance.