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.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Labwindows DLL and Excel VBA

Here is XLS and DLL that work.  Click the blue button to activate the VBA, or run directly from the VBA screen.

0 Kudos
Message 11 of 13
(1,629 Views)

I tried your dll and the VBA script and I keep getting an error.

 

 

We are still looking into the issue with passing a struct with a CVI 2013 dll.

Jesse S.
Applications Engineer
National Instruments
0 Kudos
Message 12 of 13
(1,616 Views)

Hi ruskin1,

 

I was able to run your VBA script from Old_DLL.zip, but the dialog returned an error "data\WW5DB.wdb".  Do you still have the source code for ww5_DLL.dll, and if you do, would you be able to provide that?  I used the source you provided for Test_DLL_VBA.prj, built it in LabWindows/CVI 2012, and ran TESTCVI_DLL_VB.xls in Excel 2010, causing a crash.   

 

Can you verify that you are currently able to use a version of Test_DLL_VBA.prj, compiled in LabWindows/CVI 2012, which does not crash Excel?

 

Thanks,

Daniel

Daniel Dorroh
National Instruments
0 Kudos
Message 13 of 13
(1,606 Views)