[IDLE] CLUG : Cambridge LabVIEW User Group (UK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using pointers in DLLs with Labview

Here are 2 useful links I had come across for dealing with pointers in DLLs:

There are a few hidden subVIs mentioned in the links to help with pointers in DLLs which reside here:

<LabVIEW>\vi.lib\Utility\importsl

These proved very useful when trying to work with a DLL which required a void pointer to be passed into it so the DLL could populate it with data based on the type of info that is requested (void * pvInfoGet as shown in the example below - that VI was generated using the Import Shared Library Wizard)

context help.png


I used these subVIs as shown in the example below

Sample code.png

Hope this info is helpful!

Message 1 of 2
(6,297 Views)

Great stuff Kewal, thanks for taking the time to find and share these!

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 2
(5,437 Views)