Page 1 of 1

DASSource.exe cbw32.dll error

Posted: 17 Jul 2009, 14:21
by rebekahw
I just compiled the executable for using Measurement Computing DAQs. It recognizes the DAQ and compiles without any errors. However when I try to run StimulusPresentation_SignalGenerator.bat it says that it cannot find cbw32.dll or that the version I have is old. I modified cbw32_imports.cpp so that it goes directly to the file included with InstaCal. I also just downloaded the newest file from Measurement Computing's website and it still won't work. Has anyone else had this problem and is there a fix for this that I am overlooking?

Thanks in advance,

Rebekah

Posted: 21 Jul 2009, 07:52
by mellinger
Rebekah,

you need to make sure that the driver installed in the Windows system directory works together with the version of the cbw32.dll that you are using.

Removing all MMC software from your machine, and re-installing from a single source (CD or installer downloaded from the web) might help.

Regards,
Juergen

Posted: 22 Jul 2009, 15:07
by rebekahw
Juergen,

I've tried all of that a few times, using web versions, cd versions and even older versions off of our personal computers. Nothing seems to be working. I have also made sure that the cbw32.dll file is not included anywhere else. I have tested this while interfacing to both the DEMOBOARD included with instacal and the board that we are attempting to use. So far no luck. Do I need to modify any code outside of the DASSource.exe and batch file?

Thanks,
Rebekah

Posted: 23 Jul 2009, 08:22
by mellinger
Rebekah,

I don't know of anyone who had the problem you report.
Where does the message about the version appear? Is it reported by the BCI2000 operator module? If so, there is probably a mismatch between the driver installed in your Windows system directory, and the DLL loaded by your modified source module. Make sure there is only a single cbw32.dll on your machine, and that it corresponds to the driver in the Windows system directory.

HTH,
Juergen