Author Topic: VBSE Widget Library  (Read 13911 times)

Offline sfl_cntrl

  • PLUS+1 Developer
  • ***
  • Posts: 11
  • Karma: +0/-0
VBSE Widget Library
« on: March 30, 2021, 07:53:04 AM »
Trying to implement a Dial Gauge into the VBSE in GUIDE using the Widget Library. After following instructions in the manual, I am met with the following error:


*** ERROR 480 *** [ext C-compiler] C Code Compilation Failure {display_menu_hidden.h: No such file or directory}
File: menu_item.h line: 6

*** ERROR 446 *** [PLUS1_IDE] PLC Code Compilation Failure {Convert PLCopenXML -> CCP}


menu_item.h is imported as an Available Header in GUIDE and the exception is thrown in compilation at the line in .h file where: #include "display_menu_hidden.h"

Anyone faced a similar issue with the Widget Library and VBSE?

Offline Tor

  • Administrator
  • PLUS+1 Guru
  • *
  • Posts: 296
  • Karma: +28/-1
Re: VBSE Widget Library
« Reply #1 on: March 31, 2021, 11:34:08 AM »
Hello,


I'm not sure if this is the issue since I don't have the application, but try this:

See Image:
1: Right click on the .p1x and choose "Add new PLC Unit"
2: Right click on PLC Units and choose "Add GUIDE PLC Extension"
3: Compile

Good luck
Best regards,
Tor
PLUS+1® SW PAE Team

Offline SJ Industries

  • PLUS+1 Expert
  • ****
  • Posts: 60
  • Karma: +2/-0
Re: VBSE Widget Library
« Reply #2 on: March 31, 2021, 10:28:46 PM »
Right click on the header in the project manager bar and select make available to PLC units.

Offline sfl_cntrl

  • PLUS+1 Developer
  • ***
  • Posts: 11
  • Karma: +0/-0
Re: VBSE Widget Library
« Reply #3 on: April 01, 2021, 01:24:52 PM »
Thanks for that, making the header available as indicated sorted out the issue

Offline G30RG3

  • PLUS+1 Expert
  • ****
  • Posts: 76
  • Karma: +3/-0
Re: VBSE Widget Library
« Reply #4 on: April 09, 2021, 08:56:16 AM »
Hello,


I'm not sure if this is the issue since I don't have the application, but try this:

See Image:
1: Right click on the .p1x and choose "Add new PLC Unit"
2: Right click on PLC Units and choose "Add GUIDE PLC Extension"
3: Compile

Good luck

Guide developers need to fix this:
The biggest advantage of using Guide is thrown away by the need to do these steps. It's like adding a clutch pedal on an automatic transmission car, and expecting the customers to find out how to use it.
It should not be too difficult to the Guide system to detect what extensions are needed and enable them automatically, preferably also disabling the extensions upon removal for the need for the extension.

Offline Tor

  • Administrator
  • PLUS+1 Guru
  • *
  • Posts: 296
  • Karma: +28/-1
Re: VBSE Widget Library
« Reply #5 on: April 12, 2021, 07:27:33 AM »
Hi G30RG3,

I agree.
This is reported to the developers, and I hope it can be fixed in a future release.

Have a nice day
Best regards,
Tor
PLUS+1® SW PAE Team