Test and Measurement Forum

Labview import shared library

Post your LabVIEW discussions here

Labview import shared library

Postby mikaellindgren » Fri Jan 26, 2018 4:42 pm

LabView recommends to import the dll-file: (from help file)
Importing Functions from a Shared Library File
Use the Import Shared Library wizard to create or update a LabVIEW project library of wrapper VIs for functions in a Windows .dll file

When I try this I need the header-file (*.h) also. I use the ps3000a.dll but there was no header file in the SDK. I tried the ps3000aWrap.dll which had a h-file but it did not work?
mikaellindgren
Newbie
 
Posts: 0
Joined: Fri Jan 26, 2018 4:35 pm

Re: Labview import shared library

Postby Martyn » Fri Jan 26, 2018 5:37 pm

Have you checked for ps3000aapi.h in C:\Program Files\Pico Technology\SDK\inc
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2971
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Labview import shared library

Postby mikaellindgren » Sat Jan 27, 2018 3:41 pm

Thanks, I found it.

However, I get this reply from LV:
The shared library contains 74 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.

The same applies if I try the ps3000aWrap version.
mikaellindgren
Newbie
 
Posts: 0
Joined: Fri Jan 26, 2018 4:35 pm

Re: Labview import shared library

Postby mikaellindgren » Sun Jan 28, 2018 10:29 am

LV(64-bit) complains about a missing header file: stdint.h see attachment.
LV Import shared library-1.pdf
(84.35 KiB) Downloaded 37 times

Several such files are available on C: but I do not know which to use? Why is it not supplied by Pico in the SDK?
mikaellindgren
Newbie
 
Posts: 0
Joined: Fri Jan 26, 2018 4:35 pm

Re: Labview import shared library

Postby Martyn » Mon Jan 29, 2018 7:13 am

Have you tried using our LabVIEW examples

I would also suggest emailing support@picotech.com as you have posted a number of questions regarding LabVIEW development using our drivers, which can be handled directly by a specialist.
Martyn
Technical Support Manager
Martyn
Site Admin
Site Admin
 
Posts: 2971
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests