LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga

 How i can pass a FPGA handle from a dll written in c to LabView? I know you can define it as a global in c and pass it through multple files but i dont know the process to pass it in labvew from C.   The issue is that when we call a read or write function within the dll in order to get a handle we have to open and close the board.These functions are called multiple times and in the past this worked really well for us but recently we noticed a memory leak when we opened and closed the board multiple times. This is bad, so any help will be greatly appreciated. 

 

0 Kudos
Message 1 of 2
(2,241 Views)

So you are "opening" the (custom?) FPGA board with a call to a DLL. But the DLL doesn't pass a reference out to the caller (LabVIEW)?

 

If you want the DLL to pass the reference (handle) then you have to modify the DLL. Who wrote the DLL? This is not LabVIEW FPGA, right?

0 Kudos
Message 2 of 2
(2,238 Views)