PhidgetSBC4 3003_0

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

PhidgetSBC4 3003_0

Postby neamul » Wed Jan 06, 2021 8:00 am

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: 769
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: PhidgetSBC4 3003_0

Postby mparadis » Wed Jan 06, 2021 8:54 am

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_-_Linux#Advanced_Information

neamul
Fresh meat
Posts: 2
Joined: Wed Jan 06, 2021 7:41 am
Contact:

Re: PhidgetSBC4 3003_0

Postby neamul » Thu Jan 07, 2021 10:21 am

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_-_Linux#Advanced_Information

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: 769
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: PhidgetSBC4 3003_0

Postby mparadis » Thu Jan 07, 2021 11:20 am

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.


Return to “General”

Who is online

Users browsing this forum: No registered users and 5 guests