Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66935

Calling a C++ DLL on RT PXI

$
0
0

Hi!

 

We have an ticket # running with NI support regarding this, but I figured I would try the forums as well.

 

We are trying to package a C++ dll of ours so that it can be use on a PXI Real-Time system.

 

However, we are experiencing problem when trying to call it from a VI in LabVIEW running on the target device.

 

When trying running everything on the local pc, it works as expected.

The numeric on the VI display `43' which is the test return value we expect from our DLL.

 

However, when running on the RT target, we get the following:

err.png

 

We have build the C++ DLL strictly following the instruction here (using MSVC 2010), and validated it using the utility from that same page.

 

I have included both the project of our DLL as well as the VI in which we are trying to use it.

 

What could be wrong ?

 

 

Thank you very much for any help,

 

Kind regards,

 

 

Germain


Viewing all articles
Browse latest Browse all 66935


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>