LabView FrontPanel DLL Import

LabView is technically not supported by Opal Kelly but a significant number of our customers use the okFrontPanel DLL extensively with LabView. We do not own a seat for LV so cannot officially provide support.

One such customer (who prefers to remain anonymous) has provided us with some screenshots that may help you get started.

The primary take-home message from this is that you should add “_WIN32” to the Preprocessor Definitions during the Import Shared Library wizard. Everything else is just defaults.

Here are the screenshots…

[ATTACH=CONFIG]198[/ATTACH] [ATTACH=CONFIG]202[/ATTACH] [ATTACH=CONFIG]199[/ATTACH] [ATTACH=CONFIG]200[/ATTACH] [ATTACH=CONFIG]201[/ATTACH]


image005.jpg (49.3 KB)

image002.jpg (48.1 KB)

image004.jpg (31.8 KB)

image003.jpg (32.8 KB)

image001.png (24.0 KB)

And more screenshots…

[ATTACH=CONFIG]206[/ATTACH] [ATTACH=CONFIG]203[/ATTACH] [ATTACH=CONFIG]204[/ATTACH] [ATTACH=CONFIG]205[/ATTACH]


image007.jpg (40.9 KB)

image008.jpg (50.8 KB)

image009.jpg (52.0 KB)

image006.jpg (29.2 KB)

And the last bits…

[ATTACH=CONFIG]208[/ATTACH] [ATTACH=CONFIG]207[/ATTACH]


image011.jpg (28.2 KB)

image010.jpg (22.9 KB)

Hi !

I would like to know what is the Labview version and the Windows version used for this DLL import ?

Thank you for your answer.

Hi, I met a problem. When i import the dll file using Import Shared Library Wizard, the labview was freeze for GetJTAGResetProfile function.
Any ideas? Thanks.

There are four functions which cannot be imported successfully.
Which are:

  1. Get FPGA Boot Reset Profile
  2. Get FPGAJTAG Reset Profile
  3. Set FPGA Boot Reset Profile
  4. Set FPGAJTAG Reset Profile

The import shared library report is:
{The following VI cannot be created. This might indicate that the associated function contains parameters of a data type that cannot be converted directly. To work around this issue, you can create a custom control or typedef control to represent a complex structure or multidimensional array, then re-run the Import Shared Library wizard and select Update VIs from a shared library. Using the same shared library, step through the wizard again. On the Configure VIs and Controls page, assign the custom control or typedef to the associated parameter(s). Complex structures include nested structures, structures containing arrays, arrays of strings, and multidimensional arrays.}

These functions may not be used. However, it will be great that the problem can be fixed.
Any ideas?
Thanks for you response.

PS. The FrontPanel is 4.2.6 release. LabVIEW 2012.

Screenshots appear not to be visible anymore. Can Opal Kelly reload them again? Many thanks,

Nikola Krstajic

The screenshots are broken due to a data translation issue. You can fix this by replacing the domain name portion of the URL with “forums.opalkelly.com”. For example, the first screenshot is available here:

http://forums.opalkelly.com/uploads/db8772/49/5e64df1bedc15d5b.jpg

The screenshots are still broken and I can not see it.

Many thanks,
Haeyoung

3 Likes

links to uploaded images do NOT work. Please get those links fixed! Thanks!

These links broke on older posts several years ago when we migrated to a different forum software. Unfortunately, they’re not coming back. :frowning:

On the other hand, nearly all of them are stale and no longer relevant or helpful.

I just posted this implementation of the DES Tester for LabVIEW. There were some functions that didn’t import but I didn’t need them. Also, I had to make some manual tweaks to how the parameters were handled. The end result is available if you inspect the call library configuration in the VIs attached in this thread:

1 Like