• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. JAST
    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
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 13
    • Posts 54
    • Groups 0

    Topics

    • J

      TCP IP Data point Stops Refreshing

      Watching Ignoring Scheduled Pinned Locked Moved User help
      1
      0 Votes
      1 Posts
      449 Views
      No one has replied
    • J

      Windows 10 Services for Mango

      Watching Ignoring Scheduled Pinned Locked Moved User help
      8
      0 Votes
      8 Posts
      3k Views
      J
      I see that the warning is related to releases of JDK 9 and up https://issues.apache.org/jira/browse/GROOVY-8339 I reverted to JDK 8 as a work around. Ran the installServices.bat without any issues; however, I am having problems with starting the service as an administrator, this time I am not getting any warnings on the command prompt. [image: wKn1TQ8.png] I am not getting logs on C:\Mango\log and C:\Mango\yajsw\log Please advise
    • J

      BACnet Multiple Subnets

      Watching Ignoring Scheduled Pinned Locked Moved User help
      1
      0 Votes
      1 Posts
      713 Views
      No one has replied
    • J

      Time Intervals

      Watching Ignoring Scheduled Pinned Locked Moved User help
      2
      0 Votes
      2 Posts
      863 Views
      phildunlapP
      Hi gquiroz, It is not currently simple to do. The way to do it now would involve something like manually starting the data source on the quantized period, which a script on a cron pattern may be able to achieve. If it were guaranteed they would not subsequently be stopped and started (like being saved), then a script on an event handler on the system startup event could use the RuntimeManager script object to start appropriate data sources at appropriate times and sleep in between. But, it does take time to start data sources so the alignment would be imperfect. I would tend to encourage someone who wanted such a value to record all sampled data in the sampling point, and use a meta point on a cron to compute the intervals you want with something like p.past(MINUTE, 15).average, then set the purge period of the sampled point lower if you're worried about the data's size on disk. One advantage is being able to see later on if a 15 minute period that seems anomalous had a reduced number of samples in it, and not having to wait up to 14:59 for the data source to start sampling at the right time. Edit: The question got reraised, so here's a snippet of what such a cron powered scripting data source could look like. //untested if(typeof hasRestartedDataSourcesAtRightTime === 'undefined') { var dataSourcesToQuantize = ["DS_XID"]; for(var j = 0; j < dataSourcesToQuantize.length; j+=1) { RuntimeManager.stopDataSource(dataSourcesToQuantize[j]); RuntimeManager.startDataSource(dataSourcesToQuantize[j]); } var hasRestartedDataSourcesAtRightTime = true; } But, because Mango's API, UI, reporting tools, etc offer rollups, having the data aligned in the period is probably not critical. My colleague said it well in the email chain: If the actual goal is to view/retrieve data at even time intervals, you can change the rollup periods when looking at charts/downloading CSV data on the watch lists. I suspect that this, coupled with configuring the data points to poll and log more frequently, would likely be the more "correct" version of the intended goal, since the average/min/max values of those time periods (00:00, 00:15, 00:30) would use all the logged point values within them, giving a more accurate representation of the actual values instead of a snapshot every 15m. If instead the goal is only to have the last timestamp be a round number in the watch lists, you'll have to use Phil's scripting data source solution or wait for cron patterns to be added to all data sources.
    • J

      Trouble Connecting To Modbus IP

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      1k Views
      J
      Hey Joel! Yup, that was it. I was trying to read the wrong register. Thank you!
    • J

      Adding a BACnet router as a foreign device

      Watching Ignoring Scheduled Pinned Locked Moved User help
      2
      0 Votes
      2 Posts
      1k Views
      phildunlapP
      Hi gquiroz, I know this thread is from 3.2, but I think it may still work okay in 2.8.8: https://forum.infiniteautomation.com/topic/3099/bacnet4j-3-2-and-bbmd-foreign-device-support You could probably also send the WhoIS to just that device by changing the broadcast address to that device's address in your Local device settings on the system settings page. That wouldn't quite be the same as sending a foreign device registration explicitly, though.
    • J

      Mango Service Not Running (Switching from H2 DB to MySQL)

      Watching Ignoring Scheduled Pinned Locked Moved User help
      7
      0 Votes
      7 Posts
      2k Views
      J
      Hi phildunlap, apparently MYSQL v8 came with a security update that prevents many third party applications from accessing the server. Authentication plugin 'caching_sha2_password' cannot be loaded I could not find a fix for this, other than just downgrading to an older version. I will create a new post regarding the BACnet question: https://forum.infiniteautomation.com/topic/4042/adding-a-bacnet-router-as-a-foreign-device
    • J

      Doesn't find the values

      Watching Ignoring Scheduled Pinned Locked Moved Mango General
      9
      0 Votes
      9 Posts
      3k Views
      J
      @phildunlap Thanks for the help. Now the data points have started coming up itself.
    • J

      Unable to find router to the netwrok

      Watching Ignoring Scheduled Pinned Locked Moved BACnet4J general discussion
      3
      0 Votes
      3 Posts
      2k Views
      phildunlapP
      Hi gquiroz, no need to post it twice. That would suggest to me that the local network number of your configured local device (/system_settings.shtm BACnet Local Devices section) is not 42, and so when the local device wishes to send a message to network 42, it doesn't believe that's the network that it is on, so it looks to see if another device has let the network know that IAmRouterToNetwork 42, which it doesn't find as having happened. What is the local device's network number set to (and it's bind address while we're at it)? Have you tried setting it to 42? When you use the discovery tool, do you find the devices you're expecting?
    • J

      Server Time out

      Watching Ignoring Scheduled Pinned Locked Moved User help
      15
      0 Votes
      15 Posts
      3k Views
      phildunlapP
      C:/Users/DCU/test outside C:/Mango The webserver cannot try to open a database URL outside its Mango directory. You're probably looking for a URL of jdbc:h2:C:/Mango/databases/mah2
    • J

      Importing A Module

      Watching Ignoring Scheduled Pinned Locked Moved User help
      9
      0 Votes
      9 Posts
      2k Views
      phildunlapP
      Have you restarted since getting the memory error? Have you allocated explicit memory with a .bat script like those in Mango/bin/ext-available (by placing an appropriate memory script in Mango/bin/ext-enabled and then stopping, then starting (not restarting))?
    • J

      localhost refused to connect after update

      Watching Ignoring Scheduled Pinned Locked Moved User help
      7
      0 Votes
      7 Posts
      2k Views
      J
      Hi Phil, The two errors were from two different attempts. The first was placing the new zip file in the Mango directory and the second was tail -f for the log when ruining a stop/start. As you mentioned, I look into the ports and it seems like this may be the issue since mysqld.exe is listening on port 8080 and mango is also on 8080. I will change the ports as recommended. Thank you.
    • J

      How to broadcast BACnet IP?

      Watching Ignoring Scheduled Pinned Locked Moved User help
      7
      0 Votes
      7 Posts
      2k Views
      J
      It worked perfectly! The module is working now. Thank you.