phidgets through SBC

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

phidgets through SBC

Postby uknod » Thu Jul 13, 2017 2:00 pm

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 number) does not work.

User avatar
Site Admin
Posts: 609
Joined: Fri Oct 28, 2011 12:17 pm

Re: phidgets through SBC

Postby mparadis » Thu Jul 13, 2017 2:18 pm

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.

Return to “C#.NET”

Who is online

Users browsing this forum: No registered users and 1 guest