• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. mattdem
    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
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 14
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: New Module development, getting started

      I guess I didn't ask it clearly enough, I get the part of editing the file but then what? For example, right now, if I run Mango, the only sources (modules) I can choose from are Serial Data Source, Virtual Data Source and Meta Data Source. Where do I put information to make other sources (modules) build into my Mango?

      And I may as well go ahead and ask the follow-on question. How do I add BACnet to my build, as I suspect it is a bit more complex than the others?

      posted in Development general discussion
      M
      mattdem
    • New Module development, getting started

      So I have the basic build environment and have been playing around with the Serial Data Source as an example. Now I want to start working on my own module. How do I get this started? I assume the best may be to copy the Serial Data Source and rename it as a starting point, but then how do I get this new module brought into the build so it will build and become a part of Mango?

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      I think I will try to go back, clear things out and try this once more from scratch.

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      So, while I continue to not succeed, let me pose this question. The driver I am ultimately wanting to develop is in many ways, nearly as complex as BACnet MS/TP, certainly more complex than Modbus, both of which are separate development trees. Would I be better off looking at these as working examples to develop my driver or does that still require what we are trying to accomplish here in getting the basic Mango to build?

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      And so the saga continues:
      Sorry again for the delay, seems business keeps getting in the way of progress.
      Still no joy.
      Also, you talk about env.properties and i18n.properties, what are the purposes of these files.

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      Phil,
      Sorry, had a delay in getting back to trying this out...
      Sad new, it still does not work. I even went so far as to completely remove my local get repository and then pull the ma-core-public and ma-modules-public again. From within Eclipse the maven install runs and completes. But even if I do the maven update on the coreBundle, com.serotonin.m2m2.Main does not exist.

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      Well, long way around to get back to where I was before...
      Setup the debug configuration, I tried just typing in the "com.serotonin.m2m2.Main" and running debug to see what would happen...it falls over in the ant build! Seems I still cant get away from the ant build problems. Note that the error I got was the same as the error in the video, but I DO have the "core.project.home" set, so the solution is not the same as the video.

      I do appreciate that you are going to take a look at this tonight, but in the mean time, I am continuing to try to make progress (nothing better to do as this is my priority project at the moment).

      Thanks.

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      So that makes much more sense to me, however, when I select CoreBundle and search for main classes, it comes up with quite a list, but nothing in that list is com.serotonin.m2m2.Main or any subset of com, serotonin or m2m2. You mentioned something about importing the projects may be necessary, however, I cannot see what to import...I go looking and all I can seem to find is that the projects, including CoreBundle are already imported.

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      Phil,
      I want to thank you for your help, but I am still not there. I am sure for you a lot of this is just second nature and so the steps are simple, for me not so much.

      So, from within Eclipse, I can run the maven install on the Core bundle and it completes successfully...
      Does that complete all builds then by inclusion or must separate builds be performed for other bundles?
      Once the build(s) are done, on to the debugging. You instructions seem a bit incomplete from my perspective...
      "Debug Configurations"...can get there....
      "New Configuration"...can select that, brings up a new blank form...I chose to name my new configuration "Mango", figured that's creative enough.
      Now, Main tab...
      "Base directory:"...I am assuming you mean that to be ${workspace_loc/CoreBundle}
      "Goals:"...install (?)
      "Profiles:"...currently blank
      "User settings:"...${workspace_loc/CoreBundle/pom.xml} (??)
      Everything else defaulted???
      I don't know. I really would like a bit more than just what needs to be set where but why. What do the various settings do and how do they relate to the whole of the Mango build? What changes if any are necessary on the other tabs (JRE, Refresh, Source, Environment, Common)?

      Again, thanks for any help you can give me.

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      I am not familiar with your reference to Main. Again, where I am at is following the video, I pulled the code from git, I believe the current that pulled is 3.0.0.

      As to your references about setting the Ant runtime stuff, yes that has been done, again as is shown in the video (sorry to keep referencing back to the video, but at this point, that is the only reference I have, broken as it is).

      And why do you refer to the Ant settings, I thought I understood you to say it is all pretty much done though maven now. And it is the Ant that is failing (which I would thus be happy to leave behind).

      Thanks

      posted in Development general discussion
      M
      mattdem
    • RE: Ant build terminates with no messages

      So, please help me to understand then...
      I have already done the mvn install as this was covered in the video.
      Beyond that, I am working from within Eclipse and the video does have a part about doing a maven install running against the pom.xml in Core. What is the difference between what the pom.xml is doing and what you are recommending above. I apologize in advance if I seem a bit naive, but I really have not worked extensively with maven, and certainly not with the Mango environment, which I am trying to understand.

      Ultimately, what I am after is first a successful build and then I wish to create a driver for a proprietary protocol, for which the driver is going to have a complexity level nearly equal to BACnet. So I guess, eventually, I am going to need to understand how that part all builds in too.

      Thanks.

      posted in Development general discussion
      M
      mattdem
    • Ant build terminates with no messages

      I have been going through the video on building Mango, and while the video is rough to follow, I have been successful up to the Ant build portion. When I first did the ant build using Core/build.xml, as per the video, it started show build messages just like the video, then suddenly the Console was cleared and the only message, at the very top of the console was:

      <terminated> Core build.xml[Ant Build] C:\Program Files\Java\jdk1.8.0_111\bin\javaw.exe (current time stamp)

      Now everytime I retry the Ant build, nothing shows in the console, not even the starting of the build, it just immediately shows the "terminated" header line.

      For reference, I am running Windows 7 Pro, and my eclipse install is Neon-2.

      posted in Development general discussion
      M
      mattdem
    • RE: BACnet MS/TP Howto?

      Finally figured this one out...don't understand why it is this way. For those who don't find it right away, the BACnet MS/TP local device has to be setup in the System Settings, which is accessed by one of the icons at the top of the Mango web page. I don't pretend to understand why the setup is separated like this since the settings in system have no effect unless you also have the BACnet MS/TP data source running.

      posted in User help
      M
      mattdem
    • BACnet MS/TP Howto?

      I am trying to checkout the functionality of Mango. I need to connect to my device via BACnet MS/TP. I select the BACnet MS/TP as the data source, but there doesn't seem to be any way to setup my connection in terms of what port, baud rate, device ID, MAC address and I can't find any information on these settings anywhere in the documentation or forum. Also in the BACnet MS/TP data source configuration I noted there is a selection box entry for "Local Device" but the selections are empty. Is there another layer to BACnet MS/TP that is somehow setup outside of just selecting the BACnet MS/TP data source?

      Note: I am running on Windows 7 Pro.

      Note: I am wanting to use the same RS-485 port I previously used for testing out Modbus functionality in Mango and that port worked fine for Modbus.

      posted in User help
      M
      mattdem