DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get DIAdem version with VBS?

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(1,654 Views)
Solution
Accepted by topic author franco__

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

Message 2 of 4
(1,636 Views)

Hi benebelt1,

Thanks for the help, that worked perfectly!

Cheers,

franco

0 Kudos
Message 3 of 4
(1,630 Views)

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

0 Kudos
Message 4 of 4
(1,602 Views)