• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. bryanh
    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
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 17
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Excel Report for last 24 hours

      I modified my named ranges to include only a single cell and tried to run the report again. This time I got this alarm:

      upload-42f5710e-71cb-42e5-ba3b-af54e9cfb4d6

      This alarm is present for all named ranges and disappears if I include one more cell in the named range.

      However when I do so I still cannot read the data from this morning.

      posted in User help
      B
      bryanh
    • Excel Report for last 24 hours

      I have a series of point that update every day at midnight. I am trying to export an excel report using the excel widget that only includes the values from this morning.

      Which settings for the time period will give me those values?

      upload-48748124-6064-47d8-9095-34b7c4685dd9

      I have tried past 24 hours, previous 24 hours, 11 pm yesterday to 8 am this morning, past 1 days, previous 1 days. None of those options give me the data I am looking for.

      Any suggestions?

      posted in User help
      B
      bryanh
    • RE: Assigning old timestamp to data point

      Here are some screen shots that might help. First is a watch list containing the point containing the script (Time_Stamp) and the alarm that it is connected to (mal_cp_ol). They have the same time stamp:

      upload-d4d083ef-48fd-489b-98f8-f5faa56866a2

      Here is the script. Perhaps I am not using it correctly:

      upload-8d9c0278-14fc-431d-8370-7bef2b054e7e

      posted in Scripting general Discussion
      B
      bryanh
    • RE: Assigning old timestamp to data point

      Here is a screen shot of the point in question in the point details page:

      upload-2cc7cc8b-f804-4523-82a3-887fbee503df

      However if I look at a watch list containing this point it displays the time as now, for example 8:37 am as of writing this

      posted in Scripting general Discussion
      B
      bryanh
    • RE: Assigning old timestamp to data point

      I have tried the script but it doesn't work. However if I go in the data point details page for an alarm that is already active it says it become active on aug 10 10:37. Is there a way to export that time to DGLux instead of the current timestamp of the point?

      posted in Scripting general Discussion
      B
      bryanh
    • RE: H2 database upload

      Thanks, Joel.

      Will this also work with the NoSQL database?

      posted in User help
      B
      bryanh
    • H2 database upload

      The H2 database is backuped up as a zip file. When the file is unzipped it becomes a SQL file. My question is how do I reupload that database into Mango?

      I have an idea, let me know if I am on the right track:

      Open the SQL file in Notepad
      Save as a json file
      Open import/export in Mango
      Copy json text into Mango
      Import

      posted in User help
      B
      bryanh
    • RE: Meta Point Context Update

      The second point is also a binary point. When I click the checkmark it returns "test" status, either true or false

      posted in Scripting general Discussion
      B
      bryanh
    • RE: Meta Point Context Update

      upload-9cf2d34c-91d1-48ae-9486-82dfc4eb5a2f

      The point "test" is a simple binary point that can be assigned a value.

      I have set up the script so that it should run when the value of "test" changes, only it doesn't when I look at the watchlist.

      posted in Scripting general Discussion
      B
      bryanh
    • Meta Point Context Update

      I have been trying to run a meta point script that updates when another binary point changes values. I have set the script update event to context update but the script will not run when I change the binary points value.

      Any ideas?

      posted in Scripting general Discussion
      B
      bryanh
    • RE: NoSQL database backup

      In what way are the folder names different. I downloaded the zip file and the file names in the MangoTSTD directory appear to be the same as in the zip file

      Bryan

      posted in User help
      B
      bryanh
    • RE: Assigning old timestamp to data point

      Hi Woody,

      Okay. But you mentioned that this script does not work on the current beta version of Mango.

      But once that is updated I will try the new script.

      Bryan

      posted in Scripting general Discussion
      B
      bryanh
    • Saving previous scripting data source data

      I have a scripting data source that executes once per day at midnight and sets the values of the points within it.

      eg:

      upload-9dfda996-f78c-4aa3-b006-9eead42d90b5

      As I understand from the Wiki page:

      http://infiniteautomation.com/wiki/doku.php?id=automation:meta_data_points#context_objects

      the "past" function will return the number of starts from the last 30 or 31 days from today and the "previous" function will return the number of starts starting from the 1st of the previous month to the end of the previous month.

      Is there a way to save a distinct previous months data (say I wanted to see the data from only March)?

      Bryan

      posted in Scripting general Discussion
      B
      bryanh
    • RE: Assigning old timestamp to data point

      I have discovered another issue that needs to be solved.

      The points that I want to get the timestamp for are in a data source that updates every 2500 milliseconds.

      Even if I run the return p####.time script it returns the timestamp of the last update

      Is there a way to freeze the timestamp in the data source?

      Bryan

      posted in Scripting general Discussion
      B
      bryanh
    • RE: Assigning old timestamp to data point

      Thank you very much for your replies. The script return p####.time works perfectly,

      Thank you for the script Woody. For now I will move forward with Joel's suggestion but I will keep the script in mind.

      Thank you again

      Bryan

      posted in Scripting general Discussion
      B
      bryanh
    • Assigning old timestamp to data point

      I am looking to see if there is a script or function that will let let assign an old timestamp value to a point

      upload-d578a6cd-fba2-4a65-b425-70dc8190f277

      For example the point I am interested in was last logged at 11:32:05 and the other points last logged at 12:27:27.

      I would like to take the value 11:32:05 and eventually be able to export it to DGLux.

      My problem is the functions I have tried:

      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf

      all return the current timestamp, if anything at all.

      Does anyone know of a function or script that will let me save this timestamp (11:32:05)?

      Bryan

      posted in Scripting general Discussion
      B
      bryanh