PhidgetSBC4 3003_0

Comments & issues
Post Reply
neamul
Fresh meat
Posts: 2
Joined: Wed Jan 06, 2021 7:41 am
Contact:

PhidgetSBC4 3003_0

Post by neamul »

Hello,
I am new to Phidget. My os in ubuntu 20.04. I have installed libusb-1.0-0-dev and all the other libraries. My problem is When I run the 'Helloworld.c' it stuck and shows these three lines:
''Opening...
Phidget Simple Playground (plug and unplug managers)
Press Enter to end anytime...''

I tried with the web interface, Did not work. Although I install all the packages. And in the control panel, my Humidity sensor seems to work.

Thanks in advance.
User avatar
mparadis
Site Admin
Posts: 959
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: PhidgetSBC4 3003_0

Post by mparadis »

Did you run Helloworld.c as root? You need to either use sudo on all programs that use Phidgets, or set up your udev rules as outlined here:
https://www.phidgets.com/docs/OS_-_Linu ... nformation
neamul
Fresh meat
Posts: 2
Joined: Wed Jan 06, 2021 7:41 am
Contact:

Re: PhidgetSBC4 3003_0

Post by neamul »

mparadis wrote:Did you run Helloworld.c as root? You need to either use sudo on all programs that use Phidgets, or set up your udev rules as outlined here:
https://www.phidgets.com/docs/OS_-_Linu ... nformation
Thank you for your answer. Yes I run as root, I copied the Udev rules to rules.d, But nothing worked. Do you have any other suggestions ?
User avatar
mparadis
Site Admin
Posts: 959
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: PhidgetSBC4 3003_0

Post by mparadis »

I just noticed the thread title- If you're trying to access Phidgets connected to the PhidgetSBC from your linux machine, it means you'd be opening remotely (and helloworld.c just lists local Phidgets). You can modify helloworld.c by adding code as described on the Network Server page and starting the network server though the SBC's admin page.
Post Reply

Who is online

Users browsing this forum: tyboshaw and 23 guests