08-16-2021 08:14 AM
Hi all,
We have DIAdem 2017 and 2020 in our group, and we have a new python code that we will use. We have a button to run it automatically, but first I would like to check if the DIAdem version is the correct one, and if not give the user a warning that they're using the wrong version.
How can I retrieve either the DIAdem version via VBS, or whether this DIAdem installation allows python scripts to be run?
Thanks a lot
Solved! Go to Solution.
08-17-2021 02:36 AM
Hi franco,
The DIAdem variables "ProgramBuild", "ProgramVersion" or "ProgramVersionName" should be what you are looking for. You can just look these up in the DIAdem Help for more information.
Hope I could help.
benbebelt1
08-17-2021 05:20 AM
Hi benebelt1,
Thanks for the help, that worked perfectly!
Cheers,
franco
08-17-2021 02:35 PM
Hi All,
Let me just add the following global variable, which includes the major and minor DIAdem version in one integer-- ready for > or < numerical comparisons.
ProgramRevision
Brad Turpin
Principal Technical Support Engineer
NI