BCI2000 + USBamp error:: bci2000_v1 (gUSBamp.dll)

Forum for software developers to discuss BCI2000 software development
Locked
mike
Posts: 10
Joined: 01 Sep 2005, 09:39

BCI2000 + USBamp error:: bci2000_v1 (gUSBamp.dll)

Post by mike » 06 Sep 2007, 08:44

Hi again!

I am going back with the versions of the BCI2000 (bci2000_v1) but I always have the error:

"Cannot find the ordinal 37 in dynamic library gUSBamp.dll"

sorry for the spanish 2 english translation :-)

I have checked the instalation of the drivers of the gUSBamp and all the files seem to be in the right place... . Furthermore I have checked in two different computers and also the same error.

This post might be related to my previous post.

Thanks!

Javier

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

USBamp

Post by gschalk » 06 Sep 2007, 10:06

Javier,

The latest version of BCI2000 v1 that is on the web supports the USBamp dll that has been shipped with USBamps for the last two years. Is it possible that you have an old (or perhaps brand-new) version of the USBamp? Alternatively, is it possible that you are using an old version (i.e., > 2 years old) of BCI2000 v1?

Gerwin

mike
Posts: 10
Joined: 01 Sep 2005, 09:39

Post by mike » 07 Sep 2007, 08:54

Hi,

I have checked the USBamps and the BCI2000 version:

The gUSBamp serial numbers are (with gUSBampgetinfo):
UA-2005.02.07 and UA-2005.05.10

The BCI2000 version is the trunk version 1540.

When I use the gUSBamp.dll that come with the CD of the drivers of the gUSBamp I have the error in the DLL. When I use the gUSBamp.dll that come with the version of the BCI2000 v1540 then, after the configuration step, I have got the message:

07/09/2007 14:59:42 - BCI2000 started
07/09/2007 14:59:48 - Operator set configuration
07/09/2007 14:59:49 - Signal Processing confirmed new parameters ...
07/09/2007 14:59:49 - gUSBampADC::Preflight: Could not detect any amplifier. Make sure there is a single gUSBamp amplifier connected to your system, and switched on.
07/09/2007 14:59:49 - User Application confirmed new parameters ...

Thanks,

Javier

mike
Posts: 10
Joined: 01 Sep 2005, 09:39

Problem found

Post by mike » 08 Sep 2007, 05:25

Hi,

I think I have found the problem. There is a compatibility problem between the BCI2000_v1, BCI2000_v2 and the old gUSBamp (the one that I have on my table). This is because in the gUSBampADC.cpp function there is a call to GT_GetImpedance. This function comes with the new versions of the ampis but is not present in the old versions. Then, when you try to recompile BCI2000 with the libraries and headers of the old ampis you have a compilation error.

Javier

gschalk
Posts: 615
Joined: 28 Jan 2003, 12:37

old USBamps

Post by gschalk » 08 Sep 2007, 06:58

Javier,

In your case, you may comment out the GT_GetImpedance function calls as long as you don't turn on the impedance measurement mode in the Source tab.

In either case, you may want to contact Guger to see whether they replace the amp with a new one.

Gerv

Locked

Who is online

Users browsing this forum: No registered users and 0 guests