DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get diadem version

Dear Forum!
 
Is it somehow possible to find out which version of DIAdem I am currently accessing via my COM-Interface?
 
I think I might have to start differentiating between versions of DIAdem, like the ones where I can automatically create Waveform channels, etc.
 
Thx!
0 Kudos
Message 1 of 4
(3,825 Views)
Hello diadev!
 
You can read the string variable 'ProgramVersion' to get a version string. You can also read the integer variable 'ProgramRevision' instead. 'ProgramRevision' divided by 100 gives the version as real value. See DIAdem help for more info.
 
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 4
(3,822 Views)
Hello diadef,

Additional to Matthias' information you can also ask for the build number. This could be important to check whether a service pack is installed.

msgbox ProgramVersion   ' main revision like 10
msgbox ProgramRevision ' main revision and sub revision like 1020
msgbox ProgramBuild       ' build number like 0f3031

the build number is supported since DIAdem 10.0

Greetings
Walter


0 Kudos
Message 3 of 4
(3,816 Views)
Thx for both your replies!

I will see if there will be a 10.2 SP which supports the ValueRangeGet function again, then I will also need the build number. 🙂 I have also noticed that calling the lpdChnG 100M times is just as "fast" as calling the ValueRangeGet function just 10000 times (for DIAdem <= 10.0). Which seems a bit strange.

I also will need it to see whether I can import a waveform as waveform (10.1+) or as time/amplitude channels from GPI.

Best regards!!
0 Kudos
Message 4 of 4
(3,798 Views)