LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview call a dll generated by labwindows

I'm trying to call a dll that generated by CVI

 

CVI use  LoadLibrary to call another dll compiled by C.

==================

point = LoadLibrary("MXIO.dll");
==================

 

While I call the dll in labview,  always popup a window that show "point null " and labview break down.

 

If I use CVI call the dll, no error showed and running ok.

 

many thanks your help.

 

0 Kudos
Message 1 of 3
(2,773 Views)

错误I/O操作在函数中仅执行一次,在错误输入节点后不会执行。 如动态DLL的路径不存在,可返回错误7。 如该函数调用的外部代码包含异常,可返回错误1097。

0 Kudos
Message 2 of 3
(2,711 Views)

Hello,

 

Could you provide a screenshot of the point null you are referring to and how LabVIEW breaks down?

 

Did you specify to export the symbols in LabWindows prior to creating the DLL?

 

Best regards,

 

Ed

0 Kudos
Message 3 of 3
(2,657 Views)