• 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

    Script variable assignment not updating, requires stopping script, and restarting script.

    Mango feedback
    2
    2
    1.4k
    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.
    • F
      FlexBob
      last edited by

      Recently we detected the loss of our barometric measurement in our turbine efficiency calculation. We use a script to aggregate the Data Points, and organize the data for a ModBus TCP publisher. We localized the loss of barometric data to a line of script that assigns the Daq data to the script variable.

      The data points before and after the line that stops updating continue to update, so we know the script is running, and not terminating on that statement. If we stop the script and restart the script, the Baro_Pres_Daq.value starts updating the script A40231 script variable (see attached snapshot) I attached the script Jason file.

      Windows 10, Mango install running as a service, core 2.7.10, modbus 1.6.5, scripting 1.1.2

      This has occurred a few times in the last year.

      0_1481583550973_upload-41629055-f860-4bc2-a1cf-1cce6e455e41

      0_1481584341112_ModbusTableDataAssignment.jason

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

        Hi FlexBob,

        Do you have any data type exception errors in the log for the data source? The event message text contains "Script data type error setting point". What is Baro_Pres_DAQ's data type?

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