Page 1 of 1

User module description and version

Posted: 28 May 2025, 02:26
by sm_jamieson
In the SDK we have description and version strings,
e.g. from SDK examples
const AnsiCharPtr UserModuleBase::MODULE_NAME = "my test module"
const AnsiCharPtr UserModuleBase::MODULE_DESC = "my test module is very useful"
const AnsiCharPtr UserModuleBase::MODULE_VERSION = "2.0"

But when the module is used or examined in Usine, this information is not available anywhere.
e,g, when you look at a module in the Browser you get a description box - for a SDK User Module the box is empty.

If you have several versions of a User Module it is impossible to tell which version you are using.
For example, for HH6 SDK I have to modify one of my user modules because of the change in the Event class.
I then need to know which version is being picked up in my HH6 workspace.

Please can you
1. Display the MODULE_NAME, MODULE_DESC and MODULE_VERSION in the browser description box.
2. Display the information in the (i) information tab in the settings

Thanks.
Simon.

Re: User module description and version

Posted: 28 May 2025, 11:58
by oli_lab
+1

Re: User module description and version

Posted: 28 May 2025, 19:01
by sm_jamieson
I suppose a text out parameter could be set up with the information, or in a tab Settings line.
I don't know if you can do sdkAddSettingLineCaption etc on the info tab. That might be cool.

Re: User module description and version

Posted: 31 Jul 2025, 09:12
by senso
you're right the info version is missing in the browser and is not displayed in the module.
I'll try to improve this point int the next major release.
IMO, but to avoid any mistake an compatibilities issues, the best is to include the version number in the filename.