error 5000 on laptops

cmaidhof
Posts: 6
Joined: Fri Apr 16, 2010 3:45 pm
Location: Helsinki

error 5000 on laptops

Post by cmaidhof »

Hi,

we installed ActiView on two different laptops (vista and xp, 32bit), but we get on both laptops an error 5000 when trying to start data aqcuisition. It doesn't matter whether a Mk I or Mk II is used, in both cases the same error.
The LED next to "optic link" is on, while the LED next to USB link is not.

Cables and Boxes are working correctly, because everything works when connected to another desktop pc.

We tried to turn off virus scanner/firewall, disabled "usb selective suspend" in power options, but are now running out of ideas....
Do you have any?

Thanks and best regards,
Clemens

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »

Check in the Windows device manager whether the BioSemi USB driver is properly installed.

Use the latest driver for 32-bit XP/Vista/Windows-7 available from http://www.biosemi.com/download/USB%20d ... 032bit.zip

Best regards, Coen (BioSemi)

cmaidhof
Posts: 6
Joined: Fri Apr 16, 2010 3:45 pm
Location: Helsinki

Post by cmaidhof »

Hi Coen,

thanks for getting back.
The correct (and latest) driver was correctly installed (WinUsb2 driver for BioSemi Active Two), and also after deleting and reinstalling it, the error remains.... Do you know any other solution?

Thanks and best regards,
Clemens

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »

Do you hear the "plonk" sound when you plug in, and plug out the USB connection ?

Do you see a short flash at the USB link light between the moment that you press START in ActiView, and the moment that the error pops up ?

No sound and no flash means that there is still driver problem. If the sound and flash appear, then there is another problem, probably hardware.

Best regards, Coen (BioSemi)
Last edited by Coen on Mon Apr 19, 2010 11:56 am, edited 1 time in total.

cmaidhof
Posts: 6
Joined: Fri Apr 16, 2010 3:45 pm
Location: Helsinki

Post by cmaidhof »

Hi Coen,
mixed results:

I hear the plonk sound if I'm plugging in and out, and I can see a short flash at the USB link light when I plug it in. But: I don't see a short flash between the moment that I press START and the time when the error pops up.

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Clemens,

You could try the following ...

Open a "Command Prompt" window.

"cd" to the directory containing the driver download package.

Type: cd "Developers kit\C-code"

Type: Labview_DLL_SyncTest 30

Does this program start and run for 30 seconds?

Paul

cmaidhof
Posts: 6
Joined: Fri Apr 16, 2010 3:45 pm
Location: Helsinki

Post by cmaidhof »

paul, thanks.

no, it doesn't run for 30 sec.
results are:

[i]sizeof=4
ring buffer size = 33554432
IN PipeType (3) not bulk (2)!
*** bsif_usb_write: acquisition thread not running after 1 second
usb_write for enable handshake trouble 997
Overlapped I/O operation is in progress[/i]

Clemens

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Clemens,

Is there something different about the USB on this computer.

The software expects pipe 0 to be a BULK pipe (code 2) but
the message is saying that you have an INTERRUPT pipe (code 3).

I've not seen this before.

Paul

cmaidhof
Posts: 6
Joined: Fri Apr 16, 2010 3:45 pm
Location: Helsinki

Post by cmaidhof »

hi paul,

ok, I did another test, and the program ran on the MK II for 30 secs, but not on the MK I (my last post was referring thus to the test on the MK I).

Last ouput line was "V20100224 using: MS winusb library, RAWIO, 64.05 msec stride, not sync'ing pointer calls"

Clemens

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Clemens,

That last line looks right.

So have you tried ActiView with the MKII?

Paul

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »

I assume that you are now testing with LabVIEW RTE 8.2 and ActiView 6.05. If this does not work with the Mk2 test, then please change to RTE 8.6.1 and LabVIEW 7.00 (http://ftp.ni.com/support/softlib/labvi ... 861STD.exe and http://www.biosemi.com/download/LatestA ... 0-Vari.zip).

Best regards, Coen (BioSemi)

bgerard
Posts: 2
Joined: Wed Apr 21, 2010 9:43 am
Location: Brussels

Post by bgerard »

Coen,

I got exactly the same problem as Clemens.
The system no more run when connected to some computers (as my developpement computer - WinXP SP3).

I tried different versions of actiview and labview.
With the last version (actiview 700 + Labview 2009 or earlier), the USB link led is blinking 1 or 2 times before getting the error 5000.

Benoit.

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »

Uninstall the driver (in Device Manager), and reinstall with the USB-receiver plugged into a different USB port
Make sure that the used USB port is USB2 (USB1 does not work !)
Check that the driver is listed in the Windows Device Manager (as MS WinUSB driver for BioSemi ActiveTwo under MS WinUSB driver), and that the properties shows that "this devise is working properly"
Check with Paul's Labview_DLL_SyncTest.exe as described above.

Best regards, Coen (BioSemi)

cmaidhof
Posts: 6
Joined: Fri Apr 16, 2010 3:45 pm
Location: Helsinki

Post by cmaidhof »

hi,

I just wanted to let you know that Pauls suggestion to copy the Labview_DLL.dll from the directory in which the SyncTest*.exe is to the directory in which ActiView is (thus replacing the dll in the Actiview directory) worked fine for me.

Thanks again for all your help.

best,
clemens

bgerard
Posts: 2
Joined: Wed Apr 21, 2010 9:43 am
Location: Brussels

Post by bgerard »

hi,

The USB driver is properly installed.

The Paul's test result:

sizeof long = 4
ring buffer size = 33554432
IN PipeType (3) not bulk (2)!
*** bsif_usb_write: acquisition thread not running after 1 second
usb_write for enable handshake trouble 997
Overlapped I/O operation is in progress.

I Replace the Labview dll as mentionned by Clemens.

None of that solutions worked for me.

Thanks for your help.
Benoît

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Hi Benoît,

Did some previous version of the software work on this computer?

In Settings->Control Panel->System->Hardware->Device Manager,
do you see "MS WinUsb2 Driver"?

When you expand the "Universal Serial Bus Controllers", does it
mention "USB 2.0"?

Paul

marialaura
Posts: 17
Joined: Mon Apr 21, 2008 10:58 pm
Location: Italy

Post by marialaura »

Hi guys, I run into the same problem. As just Paul said

In Settings->Control Panel->System->Hardware->Device Manager,
I see "MS WinUsb2 Driver",

what does it mean? How I fix this problem in order to recognize the USB receiver?

Any help is very appreciate. Thanks in advance.

ML

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Hi Marialaura

The "MS WinUsb2 Driver" means that you've loaded the latest BioSemi driver software.

1. When you say you have the same problem is it,

a) error 5000 in ActiView

b) This error in Labview_DLL_SyncTest:

IN PipeType (3) not bulk (2)!
*** bsif_usb_write: acquisition thread not running after 1 second
usb_write for enable handshake trouble 997
Overlapped I/O operation is in progress[/i]

c) both of the above.


2. What operating system are you using?

3. Did some previous version of the BioSemi software work on this computer in the past?

4. Does your computer have USB2?
In Settings->Control Panel->System->Hardware->Device Manager,
when you expand "Universal Serial Bus Controllers", does it
mention "USB 2.0"?


Paul

marialaura
Posts: 17
Joined: Mon Apr 21, 2008 10:58 pm
Location: Italy

Post by marialaura »

Hi Paul, thanks very much for the quick answer.

1) I experienced the error you mentioned in a.

2) Windows xp

3) Yes, in the past I run other version of Biosemi but I also format it after I got a virus.

4) Yes it does. But what is strange is that Biosemi is not under USB controller tab but is mentioned as 'MS WinUsb2'.

what is wrong? :cry:

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Hi Marialaura

> But what is strange is that Biosemi is not under USB controller tab but is mentioned as 'MS WinUsb2'.

It is for me too so this is OK.

Could you try the following ...

Open a "Command Prompt" window.

"cd" to the directory containing the driver download package.

Type: cd "Developers kit\C-code"

Type: Labview_DLL_SyncTest 30

Does this program start and run for 30 seconds?

Paul

marialaura
Posts: 17
Joined: Mon Apr 21, 2008 10:58 pm
Location: Italy

Post by marialaura »

I did this as it was suggested. Nothing happend. The program neither run neither give error message.

Could be the problem a virtual USB port installed? I mean to create the parallel port on my laptop I used a USB-parallel converter it recognize it as 'MS WinUsb2'.
How it is possible that it do the same with biosemi?! I tried to disinstall it and do the installation of the receiver01. no results.

thanks for your help
ML

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Hi Marialaura,

>I did this as it was suggested. Nothing happend. The program neither run >neither give error message.

Nothing! Did it just hang? And you had to Ctrl-C to abort it?

>Could be the problem a virtual USB port installed? I mean to create the .parallel port on my laptop I used a USB-parallel converter it recognize it as >'MS WinUsb2'.
>How it is possible that it do the same with biosemi?! I tried to disinstall it >and do the installation of the receiver01. no results.

Did you have this USB-parallel converter installed in the past when you
were able to run ActiView successfully?

Can you try things without the converter installed?

The "MS WinUsb2" should only appear when you plug in the BioSemi usb cable and disappear when you unplug it.

Paul

marialaura
Posts: 17
Joined: Mon Apr 21, 2008 10:58 pm
Location: Italy

Post by marialaura »

>> Nothing! Did it just hang? And you had to Ctrl-C to abort it?

yes, exactly!

>> Did you have this USB-parallel converter installed in the past when you
were able to run ActiView successfully?

No, I installed it few days ago and after I start to install Biosemi.

>> Can you try things without the converter installed?

I am doing it. I completely unstall it and clean all the drivers related to it.

Thanks for all your effort,
ML

marialaura
Posts: 17
Joined: Mon Apr 21, 2008 10:58 pm
Location: Italy

Post by marialaura »

Hi Paul,

I just want to tell you that I fixed the problem. It seemed that there was a conflict between to Labview.dll. In the Directory of actiview software there is a copy of 49 KB while the copy in the USB Windows 32 bit->Developers kit->C-code path is 42 KB I copy the small file in the same path of Actiview and everything works now!!!

but I don't know why... :oops:

Thanks again
ML

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Hi Marialaura,

Great detective work!

The new BioSemi software uses MS's WinUsb driver and must be used with the 42 KB Labview_DLL.dll file which would be dated 2009 or 2010.

My guess is that you were mixing this new MS WinUsb driver with an older
ActiView that included the 49 KB Labview_DLL.dll dated before 2009.

Ciao
Paul

tomek
Posts: 5
Joined: Mon May 24, 2010 11:44 am
Location: Tokyo
Contact:

trouble on a desktop and laptop

Post by tomek »

Hello,

I have the same trouble with a driver on a XP desktop and a laptop. I tried all possible solutions from this forum and still I end up with a result of:

labiew_dll_synctest 30


****************************************
Parameters can be, in any order:
Time to run, in seconds:
default is 600 seconds (10 minutes)
0=unlimited

Ring buffer size, in 512 byte units,
must have a 'b' or 'B' prefix:
default is B65536 for 32 MBytes

Ring buffer extra bytes beyond the 512 multiple,
must have a '+' prefix and be a multiple of 4:
default is +0 for no extra bytes


Hit any key to quit
****************************************
sizeof long = 4
ring buffer size = 33554432
IN PipeType (3) not bulk (2)!
*** bsif_usb_write: acquisition thread not running after 1 second
usb_write for enable handshake trouble 997
Overlapped I/O operation is in progress.

Any help?

Cheers,
Tomek :(

pmac
Posts: 70
Joined: Thu Jan 21, 2010 2:51 pm
Location: Canada

Post by pmac »

Tomek,

I think your software has been installed correctly.

There is something different about your USB interface.

In Settings->Control Panel->System->Hardware->Device Manager,
when you expand the "Universal Serial Bus Controllers", does it
mention "USB 2.0"?

Paul

tomek
Posts: 5
Joined: Mon May 24, 2010 11:44 am
Location: Tokyo
Contact:

Post by tomek »

Paul,

I tested installations on two Dell desktops, ThinkaPad laptop and VMware Fusion running XP on a MacBook PRO and everywhere exactly same test result as in my previous post. All machines have USB2 and your driver is listed as:

MS WinUsb2 Driver -> MS WinUsb2 driver for BioSemi Active Two

(not in "Universal Serial Bus controllers" category actually).

The driver version is 1.0.0.0 from 11/5/2009 by BioSemi

FYI we have:

ActiveTwo Receiver USB-1-Mk2
ActiveTwo model ADC-06 with S/N ADC6-06-86
LabVIEW runtime engines 8.2 and 8.6.1 installed

On the other hand everything works fine on a very old laptop (which now we are even afraid to upgrade) with a any old "BioSemi USB Receiver" driver.

...and now a very last update. I managed to remove the new driver and forced to install that "old" driver from a directory "USB_drivers_V1.0" and suddenly everything works perfectly including ActiView605 and ActiView70, so I guess we have any old receiver, right?

Now the working driver version is 1.0.0.0 from 7/30/2003 by BioSemi

...unfortunately on XP emulator VMware Fusion on MacOS error 5002 popups now probably due to USB speed limit of VMware, so my question now is whether would there be any chance to become a beta-tester for a genuine ActiView for Mac (which supposed to be available on request)??? :wink:

Cheers,
Tomek :D

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »

I am doing some final fine-tuning on the Mac version, I will post a first download within the coming weeks. Sorry for the delay.

Best regards, Coen (BioSemi)
Last edited by Coen on Tue May 25, 2010 5:19 pm, edited 1 time in total.

tomek
Posts: 5
Joined: Mon May 24, 2010 11:44 am
Location: Tokyo
Contact:

Post by tomek »

Coen,

Great news! Looking forward and keeping finger cross for a download version soon!!!

Thnx,
Tomek

Post Reply