PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I call Active X Control from DIAdem and how do you do it?

Looking to use third party PXI modules with DIAdem and would lke to know how to make Active X calls from DIAdem along with a step by step guide?  Basically, is DIAdem a a true open source Active X container like VB?
0 Kudos
Message 1 of 2
(3,069 Views)
Hi Andy,

DIAdem can create any object exposed by the registered Active X servers on your computer. If you have such a sever for your PXI modules, you can use the CreateObject function to obtain a reference to any of the exposed automation objects. There are several examples included with DIAdem that use this command, one of which controls PowerPoint: "Automatically Creating a PowerPoint Presentation". These examples are located in the help under Examples > Creating Scripts > Using Interfaces.

For a complete comparison between regular VB and the VB script in DIAdem, refer to the following help sections:
Programming Reference > General Information on Scripts > VBScript > User's Guide > What Is VBScript? > Language Reference
> VBScript Features not in Visual Basic for Applications

...and
> Visual Basic for Applications Features Not In VBScript
0 Kudos
Message 2 of 2
(3,058 Views)