phidgets through SBC

Supporting Visual Studio on Windows
Post Reply
uknod
Fresh meat
Posts: 1
Joined: Thu Jul 13, 2017 1:55 pm
Contact:

phidgets through SBC

Post by uknod »

I am running 4 phidget devices through one USB. All 8.8.8's But I would like to use an sbc via a network cable, as the PC can then be placed far away.
When I plug in to the SBC I cannot control the boards with the code I was using when they wer ein the usb.
In essence I was using your code example interface_kit. Also the manager program does not see the phodgets, the only way to see them is by using the bonjour tag under web. All I need is the initial code to access the phidgets phidgetIFK.open(serial number) does not work.
User avatar
mparadis
Site Admin
Posts: 959
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: phidgets through SBC

Post by mparadis »

If you're running the program on your computer which is talking to the SBC over the network, you'll need to open the Phidgets remotely instead of locally. This is done using the openRemote function, (or an overloaded version of open in the case of C#) which takes an IP address as a parameter. Have a look at the API for your language (in the Phidget21 documentation if you're still using Phidget21) for more details.
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests