News:

  • June 08, 2026, 12:53:48 PM

Login with username, password and session length

Author Topic: User Web page Example?  (Read 26279 times)

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
User Web page Example?
« on: June 03, 2021, 08:16:59 PM »
Is their a simple example showing a complete User Web page showing a few different types of tags? I tried to looking at the Data View Source Page, but  I need something simplified.

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Re: User Web page Example?
« Reply #1 on: June 04, 2021, 02:55:44 AM »

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: User Web page Example?
« Reply #2 on: June 04, 2021, 07:45:13 AM »
Thanks, very helpful

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: User Web page Example?
« Reply #3 on: June 04, 2021, 08:02:02 AM »
This is really an incomplete feature that we left in on the chance that someone finds it useful. It was never our intention that users manually do any of this.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: User Web page Example?
« Reply #4 on: June 04, 2021, 08:24:30 AM »
I see the complexity of it, which the video helped me see what would be required. What I would like to do is provide a web page with debugging strings in a table. However, its going to be more work and a learning curve that I don't want to burden my customer with. What is the future plan for this?

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: User Web page Example?
« Reply #5 on: June 04, 2021, 08:24:57 AM »
This is really an incomplete feature that we left in on the chance that someone finds it useful. It was never our intention that users manually do any of this.
When do you think this feature will be "completed"?  I'm already getting excited about nested UDT's and the Modbus Scanner, please keep the features coming!

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: User Web page Example?
« Reply #6 on: June 04, 2021, 09:27:07 AM »
The vision was always to have a table based instruction that would generate pages that looked similar to the info page. There was a little disagreement on scope so nothing at all happened, which is pretty common here. We have a nasty habit of insisting on "amazing" at the expense of "good enough" and getting neither.

It's like nested structures. The designer in me wants unlimited everything, which I know I can't do without a complete rewrite, but users would be content with just being able to nest strings in UDTs. When I finally allowed myself to think about how "good enough" could be implemented, I realized it was possible. Of course "good enough" is nested strings, which was the initial goal, but after digging, I realized we could do full nesting to one level. I'd say that's better than "good enough". Still not what I want though.

Now I'm trying to figure out how to shoehorn in small nested arrays, probably limited to 256 elements...Struct[Vx].Array[Vy]. If you're wiling to choose either displacement Array[Vx+#] or nesting Struct[Vx].Array[Vy], I think it's possible. Can't do both at the same time, but I think nesting may be possible.

Might also be able to do small 2 dimensional arrays, 2nd dimension limited to 256. 2D arrays would also be limited to simple types (bit, byte, word, dword, float)...structs wouldn't be possible.

Don't know that either of these can happen, but after we complete nested structs, I want to look deeper at it.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: User Web page Example?
« Reply #7 on: June 04, 2021, 09:30:39 AM »
When do you think this feature will be "completed"?  I'm already getting excited about nested UDT's and the Modbus Scanner, please keep the features coming!

When? I had hoped this next release, but when we couldn't really agree on what it needed to be, we pushed it out. I wanted a simpler primarily text based page (like the Info page), others wanted Java Script based widgets and such. Widgets would be great, it's just a much more abstract and open ended thing to implement.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: User Web page Example?
« Reply #8 on: June 04, 2021, 10:24:42 AM »
We have a nasty habit of insisting on "amazing" at the expense of "good enough" and getting neither.

The struggle is real!  Join the club!

Bolt

  • Hero Member
  • *****
  • Posts: 598
Re: User Web page Example?
« Reply #9 on: June 04, 2021, 10:26:20 AM »
On a related note, is there a way to sort the User Log page in reverse chronological order?  Newest User Log posting at the top?  I guess the same question could apply to System Log.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: User Web page Example?
« Reply #10 on: June 04, 2021, 10:30:34 AM »
I would like to see something simple to complex. A simple table to start with. What I need for my current project, is 2 columns of strings. Maybe have some type of configurational table editor? Where you specify table size. Type of data in each column?  Configurator creates a UDT to match. Then the user only needs to access the UDT. Also have programable refresh time. I am probably over simplifying the task, but I l think displaying data in a table would be the most useful purpose of the web page.
 

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: User Web page Example?
« Reply #11 on: June 04, 2021, 10:58:48 AM »
I would like to see something simple to complex. A simple table to start with. What I need for my current project, is 2 columns of strings. Maybe have some type of configurational table editor? Where you specify table size. Type of data in each column?  Configurator creates a UDT to match. Then the user only needs to access the UDT. Also have programable refresh time. I am probably over simplifying the task, but I l think displaying data in a table would be the most useful purpose of the web page.

I think you would be comfortable with what I personally was pushing for. We just have to get in agreement here and at ADC before we pursue something.

In the meantime, nested structures!
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

RBPLC

  • Hero Member
  • *****
  • Posts: 586
Re: User Web page Example?
« Reply #12 on: June 04, 2021, 01:07:55 PM »
And EIP implicit scanner functionality?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: User Web page Example?
« Reply #13 on: June 04, 2021, 01:52:21 PM »
And EIP implicit scanner functionality?

That is still the plan.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: User Web page Example?
« Reply #14 on: June 04, 2021, 08:34:05 PM »
The struggle is real!  Join the club!

I  think there's a 12-step program for that .  Called Programmers Anonymous or something.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.