Hi,
I'm using VB6 and Measurement Studio 6 with NIDAQ 7.4 and a PCI-6013 device.
I've written an application which accesses the daq card, but also will open another seperate VB6 application which needs to access the daq card. Before the first application accesses the daq card, it resets the daq card using the cwdaqtools control with the following command: CWDAQTools1.ResetDAQDevice (1).
I then unload the form which referenced the daq card, and then open the second application. When the second application opens, I get the attached error message: #10459 was generated by cwdaq. The NI-DAQ DLL could not be called due to an interface error.
This doesn't happen when I run the first application from VB6 in debug mode. It also doesn't happen if I run the compiled applications with VB6 just open.
Can anyone shed some light or offer any suggestions as to what is going on here, and how to solve the issue.
Additionally, due to the fact that I'm using Measurement Studio 6 I need to be using the traditional daq drivers. NiDAQ 7.5 doesn't have the traditional daq driver, so I'm forced to use NiDAQ 7.4.
Thanks for any help.
Regards,
Max