Install a DIAdem GPI Extension

Updated Jun 1, 2023

Environment

Software

  • DIAdem

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

For more information, refer to DIAdem Help: General Programming Interface (GPI) .

Download the GPI Development Toolkit

  1. Download the GPI 32-64 Bit device driver development kit.zip file from the Attachments section of this document.
  2. Unzip the *.zip file.
  3. Copy the files to the DIAdem program directory, e.g. C:\Programs Files\National Instruments\DIAdem2020.
Note: You will need administrator rights to do this step.
  1. Reference the installed documentation in the <National Instruments>\DIAdem2020\doc for how to develop a DIAdem extension. Once you have built the extension DLL, refer to the section below to register the extension. 
 

Register GPI Extensions

  1. Launch DIAdem.
  2. Select Settings >> Extensions >> GPI Extensions.
Graphical user interface, application  Description automatically generated
  1. In the User Extensions tab, click the Add icon.
  1. Browse for and select the DLL you want. The DLL appears under the User Extensions List. ​​​​
  2. Click Close.
  3. A dialog box appears, asking to save the settings. Click Yes.
  4. The Save As dialog box appears. Select the Desktop.ddd file and click Save.
  5. 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.