• C
    cmusselm

    Hi, Fox,

    We didn't think to try the serial data source with a virtual socket. I may experiment with that to see what we can get going.

    Thanks for the tip.

    Chad

    posted in User help read more
  • C
    cmusselm

    We did get this to work. If anyone is interested, here's how we were able to do it. I'm sure there are other, and possibly better ways, but after our struggles, we're just glad to be recording data.

    The data source streams the data in the following format to us:
    0_1594316584028_df89b90f-4246-4ce6-9d9b-41f3dbd98df4-image.png

    Here's a quick view of values we set in our data source:
    0_1594316665082_c4f92b9a-f55d-4306-a8d5-490c51eed39c-image.png

    We have an update period of 5 seconds, and our initial timeout wast 5 seconds, then we set it to 10. After that we were getting a lot of aborted poll errors. Setting the timeout to 500ms resolved that for us.

    Here's a quick look at the data point values we set:
    0_1594316757909_1dafa343-57b2-4788-bf0c-07b791fcce54-image.png

    Understanding that the Regex needs to return capturing groups was a key for us to get this working as well, and the fact that the Value Index is really the group number.

    With our Regex, we hard-code for the $SDDBT start of our data since that's fixed, then look at the value between the commas. We only need the 2nd item in the data stream, which is Value Index 2.

    We also got stuck on the read command a bit. Just putting READ in there worked, but not sure if there's a more "correct" way to do it.

    Hopefully this helps anyone ready to pull their hair out like we were for 3 or 4 days straight.

    posted in User help read more
  • C
    cmusselm

    @craigweb said in Will the Data Point Hierarchy be removed from Mango?:

    /ui/docs/ng-mango/ma-tag-hierarchy

    The ma-point-hierarchy had a pretty good Display Tree example (https://testv3.wellspring.biz/ui/examples/point-hierarchy/display-tree) that was used to show the data points under each folder. Does any example like this exist for ma-tag-heirarchy, or would it be possible to create something?

    I'd like to see how we can get this functionality working. We have to create new pages that will need this and I'd rather do it once in a way that will be supported by future versions.

    Thanks,
    Chad

    posted in Mango feedback read more
  • C
    cmusselm

    Hello,

    I have a setup where we can use Putty to hit an IP and port (Cell Modem) and can see the stream of data returning to us. We can see this data using the Telnet or Raw connection type in Putty.

    0_1594155862006_e228f896-d6c1-4c83-8089-c4559a3b0f8b-image.png

    Here's what the data output looks like:
    0_1594155831805_14991fe7-85d6-49a3-880a-ee9962a4f6aa-image.png

    We're pretty sure the lines end in \r\n

    We have a TCP/IP data source created, but are unsure what parameters should be set to read the data. Any help or pointers is appreciated. We've been looking through the MA.log as well as turned on I/O logging for the data source but after looking into them, can't see anything obvious to us that we need to change.

    We're running Mango 3.7.7.

    Thanks,
    Chad

    posted in User help read more
  • C
    cmusselm

    Sorry, I think I answered my own question... This page seems to have what I was looking for. Wasn't able to find it before asking the initial question.

    https://testv3.wellspring.biz/ui/help/logging

    I think what I have in the screenshot below will log the data every 3 seconds and logging it as the average from the previous 3 poitns, correct?

    0_1592851153211_cad15459-f53d-44ac-aeb7-51f9be45e0bd-image.png

    Thanks,
    Chad

    posted in User help read more
  • C
    cmusselm

    Hello,

    I have a couple questions around data point logging based on a specific need of our client.

    Is is possible to have the logging interval to be 3 seconds for example, but the logging type to be an average of the previous 9 seconds? I don't think this is possible right now, but wanted to make sure.

    Today we pull data every 3 seconds and record it as the value that instant. Minor variations can make the charts and data look more in flux than what they really are. Changing the logging period to 9 seconds with an average would even out the variation, but we would lose 2/3 of our data recording.

    Would Simplify Type in Point Properties help smooth out some of the data points? I've tried the Use Tolerance setting, but can't see a difference in the data points being recorded, so not sure I'm using it correctly.

    Do you have any suggestions or thoughts on the best way to accomplish this?

    We're running Mango 3.7.7.

    Thanks,
    Chad

    posted in User help read more
  • C
    cmusselm

    FYI, I did upgrade the MySQL DB to 8.x over a week ago and all is running well; no issues.

    posted in User help read more
  • C
    cmusselm

    Thanks, Joel and Matt for the replies. I'll try to put something together based on what you said.

    posted in Mango Automation general Discussion read more
  • C
    cmusselm

    Hello,

    We have a client that controls water pumps through Mango. When setting RPM or Start/Stop bits our client would like to display on a dashboard the date/time that the Modbus device confirms it received the command.

    I've been searching the forum posts and documentation, but can't find anything about how to get this information. I'm guessing the Modbus data source events are tied to the confirmation message, but I don't see anything on a positive confirmation.

    Could you give some guidance on this as to if/how we could get this data?

    We're using Mango 3.7.7. Let me know if any other information is needed.

    Thanks,
    Chad

    posted in Mango Automation general Discussion read more