• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. pyeager
    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
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 13
    • Posts 66
    • Best 2
    • Controversial 0
    • Groups 0

    Topics created by pyeager

    • P

      Styling a Custom Component in userModule

      Dashboard Designer & Custom AngularJS Pages
      • • • pyeager
      17
      0
      Votes
      17
      Posts
      4.1k
      Views

      MattFoxM

      @pyeager said in Styling a Custom Component in userModule:

      For one thing, there are multiple data points with which the component needs to interact.

      You never stated this initially

      @jared-wiltshire said in Styling a Custom Component in userModule:

      Certainly possible, I don't have time to get right into this right now but you could use the maDataSource service to check for the existence of the DS and create it if one matching the name attribute doesn't exist.

      If this is remotely similar to making a new point using the maPoint service perhaps I can be of assistance here

    • P

      Do unused modules impact performance?

      User help
      • • • pyeager
      2
      0
      Votes
      2
      Posts
      830
      Views

      phildunlapP

      Hi pyeager,

      It seems as if removing them would reduce the Mango resource "footprint", i.e. memory and disk space usage. Is this true?

      Sure is. But, you'd be talking about not very much memory (since only a few classes from the modules would have ever gotten loaded) and not much disk (I summed up those modules on my machine and for it to be 8.4 MB, so marginal savings there depending on the machine). There would also be a slight but ever-present reduction in bytes transmitted for loading various pages, I would expect.

    • P

      Virtual data point phase shift doesn't appear in form

      Mango feedback
      • • • pyeager
      3
      0
      Votes
      3
      Posts
      784
      Views

      P

      Phil:

      I discovered something that might be helpful with locating the cause of the issue with multistate data points in virtual data sources.

      It only seems to fail to properly save the state values and start value when the change type is set to "no change".

    • P

      Why doesn't changing a device name update the data points?

      User help
      • • • pyeager
      15
      0
      Votes
      15
      Posts
      2.0k
      Views

      phildunlapP

      It is irrational to claim that I am disregarding anything.

      I do not think you addressed how there are other data source types where it makes far more sense for them to differ. Nor took consolation in that dataSourceName is available as a querying tool. But what I'm saying is irrational - that is, impossible to reason with - is not addressing the merits of the design, it was also disregarding the simple solutions to what you were attempting to bring about: the renaming of the device name of all the points.

      Did I claim that it was not simple to copy data sources?
      It is quite simple to copy data sources using the legacy web interface. I don't think I need to explain to you how is is done. Indeed, if the copy is given a new name before saving, all of the data points have the correct data source name.

      You said this, which i quoted for context:

      To create a new machine, it is quite convenient to simply copy the data sources and rename them. Requiring that all the data points be edited seems a unnecessary waste of effort. If data sources are copied and renamed, and the data points are not edited, queries by data source name and data point name now return two results - one for the original data source an done for the copy.

      Maybe I misunderstood

      If data sources are copied and renamed, and the data points are not edited, queries by data source name and data point name now return two results - one for the original data source an done for the copy

      to imply your copying strategy (because there are multiple) was not getting the points the device name you sought.

      Perhaps also I should quote

      Why does it matter?
      Replicating a machine might easily be done by copying the data sources and renaming them. If I have to recreate each one from scratch, I'm going to have to look for another vendor.

      I am quite capable of writing such a script myself, thank you. It just seems like something that should not be necessary,

      Might I recommend the data source audit event? You can get the data source name from the var eventMessage = event.getMessage(); If you want to engage the discussion of its function on other data sources, maybe this thread wouldn't be fraying. But, I would say from your first response to me in this thread it is clear you have been on a course toward what you already believed should be so, which is why you did not engage the reasoning then or now, which is irrationality defined.

      No matter how easy it is, it makes no sense to have to do it each time a Modbus I/P or virtual data source is copied. Bear in mind that I have to train others to do this.

      The point of my original question deals with renaming data sources appearing unnecessarily difficult, not copying data sources.

      Here's some visual aids for the necessary few clicks and typing required additionally:

      0_1565025600916_step1.png

      0_1565025613126_step2.png

      You brought the spice to this thread. You didn't appreciate the first response was someone else saying they appreciate the current functionality. I would encourage you to rethink the combativeness you seem to think belongs here, and the lack of engagement with the responses the thread got.

    • P

      Global Script Validation Requires Save

      Scripting general Discussion
      • • • pyeager
      2
      0
      Votes
      2
      Posts
      954
      Views

      phildunlapP

      Hi pyeager,

      Sort of! I think what's happening is that the saved global script is being executed prior to the script that's attempting to be validated (and any other global scripts too for that matter) and so if there is an issue in the previous script saving will be necessary, as it will throw the script error. This was brought to our attention in a previous thread and there is a git issue open in the global scripts' repo about it, but that repo is private.

    • P

      When does a change to a global script become effective?

      Scripting general Discussion
      • • • pyeager
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      phildunlapP

      Thanks Fox!

      I have added a note to the Global Scripts page as well.

    • P

      Multistate Data Point in Virtual Source

      User help
      • • • pyeager
      12
      0
      Votes
      12
      Posts
      2.3k
      Views

      J

      @pyeager Oh, I think it's not very intuitive, I hadn't realized that these values ​​were chips.

      I really appreciate your help, thanks!

    • P

      Bad file descriptor?

      Mango Automation general Discussion
      • • • pyeager
      3
      0
      Votes
      3
      Posts
      1.3k
      Views

      P

      Mango is on the same LAN with the Modbus IP devices.

      I was using TCP, and have switched to TCP with keepalive to see if that helps.

    • P

      Bogus referenceError?

      Scripting general Discussion
      • • • pyeager
      19
      0
      Votes
      19
      Posts
      3.8k
      Views

      P

      Thank you!

    • P

      Bug in script editor?

      Mango Automation general Discussion
      • • • pyeager
      6
      0
      Votes
      6
      Posts
      1.5k
      Views

      P

      The new data source UI doesn't seem to have the bug.

      Thanks!

    • P

      Best way to structure for multiple instances of device

      User help
      • • • pyeager
      20
      0
      Votes
      20
      Posts
      3.4k
      Views

      phildunlapP

      Correct, although it should continue to work even in subsequent releases. But, once 3.6.2 is released the concerns raised in this thread will have been fixed,

      points list not available via .points JavaScript help says type not typeName while .typeName is correct
    • P

      Slider Problem

      User help
      • • • pyeager
      12
      0
      Votes
      12
      Posts
      1.7k
      Views

      Jared WiltshireJ

      I would agree! I will make it behave the same.

    • P

      How do I efficiently create a scripted data source (or similar) across multiple devices?

      How-To
      • • • pyeager
      4
      0
      Votes
      4
      Posts
      1.2k
      Views

      phildunlapP

      https://forum.infiniteautomation.com/topic/3044/can-you-relativise-an-excel-report-driven-by-watchlist-possibly

      ^ Has an example of a script that uses the watchlist's export to iterate over the XIDs that are in the watchlist. That's really more for static watchlists, but you could also get a watchlist's query string this way to pass to the RQL. There is a DataPointQuery.byXid("DP_12345") function as well to get a single DataPointWrapper.

      https://help.infiniteautomation.com/about-mango-java-script

      Has information about the various context objects available to assist in writing scripts. Note from the first link, though, that you can invoke Java directly, making the scripting environment extremely powerful and flexible.