DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you reference the current version of DIAdem through an automation reference?

I need a way to find out which version of DIAdem is active. REading the registry doesn't help, because DIadem simply registers subkeys and doesn't keep track of multiple versions. Can I do this via the DIAdem API? Thanks.
0 Kudos
Message 1 of 2
(3,391 Views)
Hi DecaGregg,

Yes, you can query which version of DIAdem you have on the other end of an OLE Automation Server connection. Use the ToCommand server's "IntegerVarGet" method and one of 3 internal DIAdem variable names to get the information you want. Try double-clicking on the VBScript attached below from Windows Explorer to see what it looks like from a text-based program.

If you are controlling DIAdem from LabVIEW, there is a built-in VI in the LabVIEW-DIAdem Connectivity VIs that does this version querying for you.

Have fun,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Message 2 of 2
(3,391 Views)