• Recent
    • Tags
    • Popular
    • Register
    • Login

    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

    Trouble with SERIAL DATA SOURCE

    User help
    2
    5
    2.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      molillo
      last edited by

      Hi, I have a trouble with use of Serial Data Source.
      I have a modem sending a received SMS to Mango serial data source.

      The error mensage: 'MODEM SERIAL': Recieved message: MTX_SMS(.*?); does not match pattern: ^MTX_SMS +56952284556,CAL001 - ALARMA DETECTADA CALDERA;

      My SERIAL DATA SOURCE - CONFIG:
      Message Terminator: \n
      Message Regex: MTX_SMS(.*?);
      Point Identifier Index: 1

           I want process, al the SMS mesage start with  MTX_SMS and cath " MTX_SMS +56952284556,CAL001 - ALARMA DETECTADA CALDERA;"
      

      My DATAPOINTS CONFIG:
      Data Type: Alphanumeric
      Point Ident: 1
      Value Index: 0
      Value Regex: CAL001(.*?)

      I want caught the text "CAL001 - ALARMA DETECTADA EN CALDERA;"

      This don´t work.

      I´m playing with regexpal.com and al the config it´s OK and work fine.

      I pay license for use, and the version it´s:
      serial 1.1.2
      Infinite Automation Systems Inc.
      ???serial.description(i18n_es_ES)???

      Someone help me? Thank´s

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        The first thing that I notice is that your message terminator isn't consumed by your message regex. I would try putting the \n at the end of your message regex and see if that helps get things going. Both the message and value regex need to match the whole string, ; and \n, all

        1 Reply Last reply Reply Quote 0
        • M
          molillo
          last edited by

          Ok, i try this: (thinking to eliminate \n and finalice with ;)
          Message Terminator: ;
          Message Regex: MTX_SMS(.*?);

          'MODEM SERIAL': Recieved message: MTX_SMS(.*?); does not match pattern: ^MTX_SMS +56952284556,CAL002 - ALARMA DETECTADA CALDERA;

          And too try this:
          Message Terminator: \n
          Message Regex: MTX_SMS(.*?);\n

          and 'MODEM SERIAL': Recieved message: MTX_SMS(.*?);\n does not match pattern: ^MTX_SMS +56952284556,CAL002 - ALARMA DETECTADA CALDERA;

          not work the match pattern

          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            Is the ^ part of the pattern? I don't see a $ so it sort of looks like it would be...

            1 Reply Last reply Reply Quote 0
            • First post
              Last post