Hi I am developing drivers for my devices. The drivers are working fine, but I want to add a drop-down list with certain parameters to the device configuration window. How do I do this?
The parameters listed in your device description can be seen by turning on the Show generic device configuration views
To create a custom editor like you see for example with Ethernet IP Scanner, you will need to purchase Automation Platform, or have CODESYS or their System Partners program such an editor for you.
Thank you, how do I enable Show generic device configuration views? Do you have an example of devdesc.xml file that contains drop-down lists and other elements of the user interface.
It says how to enable in the link, right?
An example with a generic editor is:
It does not have any enums, you can look at the enum in the following example, with parameter EthernetProtocol which is only available in the generic editor view
An example with an Automation Platform editor is:
Tools > Device Repository > Fieldbuses > Ethernet Adapter > Ethernet > Export
Thanks. The fact is that I have my task to write my own interface for configuring my device. Whether it is implemented by means of .devdesc.xml ? In order for the configuration registers to be in the form of a drop-down list with values. Currently, a number is written to the configuration registers to select the device mode.
Log in to post a comment.