Sharing phydget

Comments & issues
Post Reply
comarius
Fresh meat
Posts: 4
Joined: Mon Oct 09, 2017 9:23 am
Contact:

Sharing phydget

Post 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.
User avatar
mparadis
Site Admin
Posts: 960
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Sharing phydget

Post 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.
comarius
Fresh meat
Posts: 4
Joined: Mon Oct 09, 2017 9:23 am
Contact:

Re: Sharing phydget

Post by comarius »

Appreciate all your support.
Thank you.
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests