LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using function pointers with labview

My problem: passing a C function pointer from the "calling application" (C program) into a VI, and letting the VI to initiate that call once in a while (it's a progress callback if you need to know).

Currently, it seems the only way to do this would be to have a 'dummy' DLL for the VI, with a single function s.a. "call what's behind this pointer". Sounds clumsy - is there really no built-in way in LV to do this?
0 Kudos
Message 1 of 2
(2,628 Views)
I believe that is the "built-in way".

I will watch for other answers. There may be a way of getting at the "rundll" that could help.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 2
(2,628 Views)