• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. nik_it
    3. Posts

    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
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by nik_it

    • Disappearing Serial Port: SerialPortException

      I am trying to set up mango to read electric meters via Modbus.

      When I create a data source, I select Modbus serial, a port shows up as /dev/ttyS0; I set the baud rate to 19200 and save.
      I can scan for nodes and find all the nodes that I expect to find.

      I create a point:
      Name: METER_STATUS_REG
      Slave id: 10
      Register Range: Holding register
      Modbus data type: 2 byte unsigned integer
      offset: 12

      ...and save; then activate the source and point.

      When I go to the watch list I add my point and generally it will read the register (right now when I am testing it won't).

      Here's the weird part: when I go back to data sources and edit the source I just created, no Port shows up.

      When I disable the source and then enable it again I get the following error:
      **Error while initializing data source: com.serotonin.io.serial.SerialPortException: gnu.io.NoSuchPortException
      **

      My question is: where could the problem be?

      • is it hardware
      • is it the meters?
      • is it the serial port drivers?
      • is it my mango installation?

      Any suggestions with regards to how I can isolate the problem are very welcome. Thanks!

      Environment information:
      Server version: Apache Tomcat/6.0.20
      Server built: May 14 2009 01:13:50
      Server number: 6.0.20.0
      OS Name: Linux (Ubuntu)
      OS Version: 2.6.28-11-generic
      Architecture: i386
      JVM Version: 1.6.0_13-b03
      JVM Vendor: Sun Microsystems Inc.
      Mango version: 1.4.2

      posted in User help
      N
      nik_it
    • RE: Disappearing Serial Port: SerialPortException

      I am trying to set up mango to read electric meters via Modbus.

      When I create a data source, I select Modbus serial, a port shows up as /dev/ttyS0; I set the baud rate to 19200 and save.
      I can scan for nodes and find all the nodes that I expect to find.

      I create a point:
      Name: METER_STATUS_REG
      Slave id: 10
      Register Range: Holding register
      Modbus data type: 2 byte unsigned integer
      offset: 12

      ...and save; then activate the source and point.

      When I go to the watch list I add my point and generally it will read the register (right now when I am testing it won't).

      Here's the weird part: when I go back to data sources and edit the source I just created, no Port shows up.

      When I disable the source and then enable it again I get the following error:
      **Error while initializing data source: com.serotonin.io.serial.SerialPortException: gnu.io.NoSuchPortException
      **

      My question is: where could the problem be?

      • is it hardware
      • is it the meters?
      • is it the serial port drivers?
      • is it my mango installation?

      Any suggestions with regards to how I can isolate the problem are very welcome. Thanks!

      Environment information:
      Server version: Apache Tomcat/6.0.20
      Server built: May 14 2009 01:13:50
      Server number: 6.0.20.0
      OS Name: Linux (Ubuntu)
      OS Version: 2.6.28-11-generic
      Architecture: i386
      JVM Version: 1.6.0_13-b03
      JVM Vendor: Sun Microsystems Inc.
      Mango version: 1.4.2

      posted in User help
      N
      nik_it