04-23-2021 06:38 AM
Hi,
is there an easy way to make one entry in an enum to be default programatically?
The application is a list of different instruments, where the actual instrument shall be made default depending on the serial number that is read from the instrument.
Thanks!
04-23-2021 06:58 AM
Hi sylvester,
@sylvester wrote:
The application is a list of different instruments, where the actual instrument shall be made default depending on the serial number that is read from the instrument.
After reading the device's serial number you can set that enum control to the desired value using a local variable of the enum…
(IMHO there's no need to set that value as "default value" of the enum control as you will read the device serial number each time you start your executable.)
05-01-2021 01:52 AM
Thanks, that helped.