From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calling custom DLL in LabVIEW

I wrote the DLL that is attached below and am trying to call the Connect function from it. Labview give me an error that it is trying to access memory 0x0000000 that can not be read. Does anyone know where my problem lies. The DLL is created and compiled with Borland C++.

Thanks

Eugene
Download All
0 Kudos
Message 1 of 2
(2,285 Views)
Hi,

1). I can't run your dll because it need OWL library.
Attach it to your question.

2) Check what is a calling convention of your dll in LabVIEW. I think this is a problem. Set it to C convention.
0 Kudos
Message 2 of 2
(2,285 Views)