Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [milo-dev] NodeSet File

I agree that these should be prioritized. In fact, making sure Milo is "ready" for these modeling and code generation use cases is the last big set of tasks on my list before Milo 1.0 can be released.

Whether or not the modeling support is actually part of Milo is, as I said, not yet decided. But I want to ensure that any API changes needed in Milo to enable these use cases are made before 1.0 is released, as I'd like the API to be stable after that.

Even if the modeling support is not released as part of Milo I am planning on generating code for the NodeSets defined by the OPC Foundation in companion specs and making those freely available. It's only the tooling for custom modeling and generating Nodes for custom NodeSets that may not be released freely. 

I have already generated code for the DI, PLCopen, AML, and BACnet NodeSets as tests for my code generators but they are not released yet because they will change as the tooling is developed.

On Tue, Oct 1, 2019 at 9:31 AM Matthias Becker <owner@xxxxxxxxxxxxxxxxxx> wrote:
Sorry...
Creating a model and using a model are different kind of shoes. To my understanding there are already good tools (more or less) out there to create these.
I get the impression that at least the usage of such NodeSet files and the code generation should gain some priority points. Doing PackML or the ISA-95 by foot for example, not fun.

Kevin Herron <kevinherron@xxxxxxxxx> hat am 1. Oktober 2019 um 18:01 geschrieben:

Ok, that's what I was afraid of.

The NodeSet parser is only one piece of the puzzle. I also have work some in progress code generation as well, but it's a lot further from done. 

I'm really not sure what the plan or timeline for this kind of modeling support in Milo is. I'm not even sure if the modeling support will be released as part of Milo or as separate project. It also seems like until I build some kind of modeling tool to generate NodeSets that any modeling support is somewhat half-baked, because you'll have to use some other tool like UaModeler to design your models and generate the NodeSet files.

On Tue, Oct 1, 2019 at 8:52 AM Matthias Becker < owner@xxxxxxxxxxxxxxxxxx> wrote:

Hi,

  Unfortunate... I see that the uanodeset-parser actually seems to work very well as it parses the file I have.

  In the end (according to the developers i talked with and who are familiar with other frameworks) these NodeSet files are parsed and code is generated from these files, defining all variables, methods and so forth. As developer I would then only implement the 'invoke' in the methods or all other business logic dependent stuff (you may notice that I face methods primarily at the moment :D )

Especially the generation would help as the file I have is 150k with over 100 definitions of methods, variables and object types. Furthermore, this file is, at this point in time, subjected to changes, hence the NodeIds are probably going to change / be amended.

  But in the end, this would be the requirements:

  1. Generate the necessary code
  2. Use the file to extract the NodeSet data and have access methods to use in already existing code

Kind regards
Matthias


Kevin Herron < kevinherron@xxxxxxxxx> hat am 1. Oktober 2019 um 17:21 geschrieben:

I do vaguely recall stating that NodeSet support was (hopefully?) going to be part of 0.3 but that never happened.

I have some work in progress code NodeSet code but it's not ready to be released quite yet.

What do you need to do with the NodeSet file once you parse it? What are your requirements here?

On Tue, Oct 1, 2019 at 7:59 AM Matthias Becker < owner@xxxxxxxxxxxxxxxxxx> wrote:

Hi,

Due to my involvement with an OPC-UA project on the business specification level, i thought it prudent to learn / experiment with this technology on my own. So far the examples a very good and straight forward, but what i cannot figure out is how to parse a NodeSet file.
You stated in a comment that it was to be part of 0.3 but all i find is the independent uanodeset-parser.

Do I have to use that parsers output in my milo environment or am i just blind (if yes, can you point me to a short example)?

Also, it seems that of now, all those methods defined in the file i have are to be created manually, correct?

Thank you
Matthias

_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev
_______________________________________________
milo-dev mailing list
milo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/milo-dev

 

Back to the top