Re: [DISCUSS] Change the UI framework for the GUI application

2022-10-29 Thread Ben Hutcheson
Hi Dominik, That would certainly be interesting. I started to briefly look into GraphQL for the OPC-UA server. I'll have a bit more of a look this week and we can build upon it afterwards. Ben On Tue, Oct 25, 2022 at 12:54 PM Dominik Riemer wrote: > Hi, > > in case we choose Angular as the

Re: Change the array-notation in fields?

2022-10-29 Thread Ben Hutcheson
Yeah I'd be happy with that approach. Sounds good, I'll have to take a lot whether we can read random indices in OPC-UA. On Sat, Oct 29, 2022 at 3:35 PM Christofer Dutz wrote: > Don’t know if you followed that discussion on LinkedIn, where I asked > about the array notation. > > Turned out that

Re: Change the array-notation in fields?

2022-10-29 Thread Christofer Dutz
Don’t know if you followed that discussion on LinkedIn, where I asked about the array notation. Turned out that you can generally do all sorts of crazy stuff … such as define Arrays that start at 6 and go to 12 … in general you can let your first element be whatever you like. I guess if we

Re: Change the array-notation in fields?

2022-10-29 Thread Christofer Dutz
Hi Ben, in general we currently have no option to read partial arrays starting with anything else than the first element. That’s generally what I’m currently trying to add. Chris From: Ben Hutcheson Date: Saturday, 29. October 2022 at 18:35 To: dev@plc4x.apache.org Subject: Re: Change the

Re: Change the array-notation in fields?

2022-10-29 Thread Christofer Dutz
Yeah … I just thought that if we defined 1 as the start, then it would match what I’ve seen so far. I just wanted to come up with an option where we can align the normal array notation with a range notation, by prefixing it with something … if I defaulted to startIndex = 0, then we’d have a

Re: Change the array-notation in fields?

2022-10-29 Thread Ben Hutcheson
As long as the original notation is kept, Im sure no one will mind. Changing the wording in the original from numElements to endIndex seems to have very little effect except to force the user to think about the start index as starting at 1. In practise do we have the ability to read partial

Re: Change the array-notation in fields?

2022-10-29 Thread Lukas Ott
The question for me is why not startIndex = 0 Instead of 1. In general this proposal sound reasonable to me and a I opt +1. Luk Am Sa., 29. Okt. 2022 um 17:30 Uhr schrieb Christofer Dutz < christofer.d...@c-ware.de>: > Hi all > > currently in most drivers we support an array notation like: >

Change the array-notation in fields?

2022-10-29 Thread Christofer Dutz
Hi all currently in most drivers we support an array notation like: XYZ{numElements}] In order to support reading arrays. Now in order to support reading partial arrays, I think it would be good to generally change that to: XYZ[{startIndex}..{endIndex}] And the ordinary version: