Installing a DIAdem GPI Extension

Updated Aug 21, 2020

Environment

Software

  • DIAdem

General Programming Interface (GPI)

You can use the general programming interface to program DLLs with which you can expand the standard functions of DIAdem. For example, the DLL can contain new variables, commands, or drivers.
 

The GPI contains various APIs. With the APIs, you can differentiate the areas where you can expand DIAdem. The GPI contains, for example, the variable API, with which you can extend the variables stock in DIAdem, or the file import/export API, with which you can extend DIAdem with a file filter. The GPI also contains further APIs that provide special comprehensive help functions.

 

In the section below you can find information on how to register a GPI-DLL in DIAdem.

 

The GPI toolkit offers support in the development of GPI extensions. You can download the GPI toolkit from the NI homepage in the DIAdem download area.

 

Downloading a GPI Extension in DIAdem

  1. Download the *.ZIP file to your local hard drive.
  2. Unzip the *.ZIP file. The *.ZIP file contains files and/or an addinfo folder.
  3. Copy the files and/or the addinfo folder to the DIAdem program directory, e.g. C:\Programs\National Instruments\DIAdem2012.

Note: In order to copy the addinfo folder to the DIAdem program directory, you need administrator rights.


The GPI extension is now available on your computer.
 

Registering GPI Extensions

You can use GPI extensions to expand DIAdem functionality. Follow the next steps below to register the GPI extension in DIAdem.
 
  1. Select Settings»Options»Extensions»GPI Extensions.
  2. Click Add.
  3. Select the DLL from the dialog box Select DLL for Plugin Registration, for example, the DLL GFSMME.DLL.
  4. Click Open.
  5. Click Close.
  6. Click Yes to save the GPI extension in a desktop file.
  7. For example, select the desktop.ddd file.
  8. Click Save.
  9. Click Yes to overwrite the selected desktop file. DIAdem closes and automatically restarts. If the selected GPI extension is a valid GPI DLL, you can now use this GPI extension.
Note: Depending on the operating system, only a limited number of TLS entries are available. Therefore you might not be able to register additional GPI extensions.