DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

To call a different module when file->open menu is clicked on Diadem

Can anyone tell me if there is a provision where I can call my module when I click the file->Open Menu of DIAdem.

I have designed my module to load data files and undergo certain operations on the intial load of data files. So I would like to call this script file or module when I click the open menuitem under file menu of Diadem.exe

Is there any possibility to implement this? If it is please suggest me the means to go about it at the earliest

I am using Diadem9.0

Thanks,
0 Kudos
Message 1 of 3
(3,662 Views)
Hi,

The following webpage shows the supported interfaces that DIAdem supports:

http://www.ni.com/support/diadem/diainter.htm

I'm not sure if this is what you are looking for, but the closest thing would be to create your own GPI interface to import your data.

You can't change the functionality of File >> Open. It will always pop up a dialog asking you to select a file and file type. The GPI module just allows you to open different types of files, which you can define with your own custom GPI dll.

You can find more information and a the DIAdem Version 9.0 for Windows--GPI Toolkit at the following URL:

http://digital.ni.com/softlib.nsf/websearch/D605AA96CF81760C86256C7600742EC5?opendocument&node=132060_US

Please let me know if I can be of
further assistance.

Matt P.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,662 Views)
Ther is a very simnple way to do this : Please use "MenuItemChange" to hook into the menues/icons of DIAdem.

Here is an example :
Call MenuItemChange("NAVIGATOR","I.2","My data load command","Call myLoadUserCommand")

This will call "myLoadUserCommand" if you click on the load icon in the NAVIGATOR. "myLoadUserCommand" can be defined as a user command. Please see the attachment for an example
Download All
0 Kudos
Message 3 of 3
(3,662 Views)