Skip to end of banner
Go to start of banner

Using the Import Shared Library Wizard

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

References

LabVIEW Manual: Using the Import Shared Library Wizard

Prerequisites

Call a Dynamic Link Library (DLL) from LabVIEW

Installation package for FlashPro-ARM, GangPro-ARM (both 32-bit and 64-bit builds)

Import Shared Library Wizard

  1. Launch LabVIEW and navigate to Tools >> Import... >> Shared Library (.dll) to launch the Import Shared Library Wizard.

  2. Select Create VIs for a shared library and then Next

  3. Input the file paths for the Shared Library (.dll) File and Header (.h) File

  4. Continue configuring each page as needed, importing your desired functions, and selecting Next.

  5. When finished with configuration, select Finish to create your LabVIEW Project library (.lvlib) file.

 

Shared Library (.dll File) path:

for 64-bit LabVIEW version

C:\Program Files\Elprotronic\ARM\API-DLL\bin\x64\FlashProARM-FPAsel.dll

for 32-bit LabVIEW version

C:\Program Files (x86)\Elprotronic\ARM\API-DLL\bin\win32\FlashProARM-FPAsel.dll

Header (.h) File path:

C:\Program Files\Elprotronic\ARM\API-DLL\include

In the "Select Functions to Convert" window, all functions are selected by default. However, if you want to export the library to LabVIEW to contain fewer VIs, you can uncheck the functions dedicated to Visual Basic.

The "Configure Project Library Settings" window will automatically enter the name of the library. The previously specified path to the dynamic library is also automatically entered.

"Error Handling mode" allows you to configure the combination of errors in the generated VIs.
Due to the fact that FPA API functions have different types of returned values, it is best to select the "Simple Error Handling" option.

After generating the library, you can view the list of created VIs in the library

In the opened Block Diagram Window you can check if the library is available in the palette:

  • No labels