opening 1062 phidget from 2 programs ?

Supporting Visual Studio on Windows
Ben_5763
Fresh meat
Posts: 4
Joined: Sat Apr 28, 2012 2:07 pm
Contact:

opening 1062 phidget from 2 programs ?

Postby Ben_5763 » Sat Apr 28, 2012 2:16 pm

Hello,

I use a 1062 with 2 steppers motor.

I need to see these 2 motors as 2 different devices, each one driven by 2 separate drivers which will be used by 2 different programs.

When the 1062 phidget has been opened and attached from one driver, i am unable to open it from another program/driver. I receive "duplicate exception" when I try to open it.

Is there a way to connect to the same phidget from 2 different programs ?

thks for assistance

Ben

Ben_5763
Fresh meat
Posts: 4
Joined: Sat Apr 28, 2012 2:07 pm
Contact:

Re: opening 1062 phidget from 2 programs ?

Postby Ben_5763 » Sun Apr 29, 2012 7:01 am

"Duplicated request" when I try to open directly the phidget from the 2nd driver (first driver could open without problem).

I tried to go thru remote open via webservice open(serial, localhost, port) : first driver connects without problem, but when 2nd driver tries to open the card, I receive a "timeout ecxception".

Shpuld I build a comon shared class, in order to manage connections to the phidget thru one single class ?


Heeeeellllllp !!!


Return to “VB .NET”

Who is online

Users browsing this forum: No registered users and 1 guest