Page 1 of 1

Sharing phydget

Posted: Wed Oct 18, 2017 8:24 pm
by comarius
Hi,

Question 1
We are using 2/2/2 phidget with the for digital outputs.
There are 2 separate applications which needs to open the
phidget, one for writing, the other one for reading,
unfortunately the second application fails to attach the
device. Is there a workaround or the resource is one/process.


Question 2
On a side to get around of above issue we would use 2 phidgets,
but the example and API's code does not specify how to differentiate
between the 2 devices ? I was looking at digital read/write samples.

Thank you.

Re: Sharing phydget

Posted: Thu Oct 19, 2017 7:44 am
by mparadis
You can open the same Phidget with two different computers if you open it remotely over the Phidget Network Server in both cases.

You can use multiple Phidgets or multiple channels of the same type by addressing them based on their properties such as Device Serial Number, Channel, isHubport, isRemote, etc. You can see a video of this in action here.

Re: Sharing phydget

Posted: Thu Oct 19, 2017 11:01 am
by comarius
Appreciate all your support.
Thank you.