Search Results

by atthe
Fri Jul 12, 2019 4:46 am
Forum: General
Topic: HUB5000 custom scripts
Replies: 1
Views: 22668

HUB5000 custom scripts

Hello, do we have some possibility to operate on HUB5000 autonomously? I have a scenario in which some script on HUB5000 works by it's own schedule or through requests to server and manage digital outputs. So is it possible with some injecting of scripts/programs to HUB5000 or some other options exi...
by atthe
Wed Mar 07, 2018 12:41 pm
Forum: General
Topic: problem with writing label to SBC4's VINT HUB
Replies: 2
Views: 8154

Re: problem with writing label to SBC4's VINT HUB

Thank you, Patrick, code like this works fine (errors checking removed for simplicity): PhidgetHubHandle hub_handle; PhidgetHub_create(&hub_handle); Phidget_setDeviceSerialNumber((PhidgetHandle)hub_handle, serialNumber); Phidget_openWaitForAttachment((PhidgetHandle)hub_handle, 3000); Phidget_wri...
by atthe
Mon Mar 05, 2018 9:28 am
Forum: General
Topic: problem with writing label to SBC4's VINT HUB
Replies: 2
Views: 8154

problem with writing label to SBC4's VINT HUB

Hello,

I tried python and C manager samples with SBC4. In 'attach' callback I try to write label to attached device, but this call simply hang the code flow. And label is never changed.

Can label of VINT HUB of SBC4 be changed at all?
If 'yes' then 'how?'

Thanks
by atthe
Fri Nov 10, 2017 4:42 am
Forum: General
Topic: video on SBC4
Replies: 1
Views: 6750

video on SBC4

Hello, we starting work with SBC4 and we have questions regarding it's video subsystem. Installed xserver from repository and glxgears works with 10 fps using all cpu resources at 1024x768 resolution. What video subsystem is used in SBC4? What special drivers need to be installed? We want to try to ...
by atthe
Thu Jul 06, 2017 3:12 pm
Forum: Python
Topic: getAttachedDevices in Phidget22
Replies: 2
Views: 3764

Re: getAttachedDevices in Phidget22

ok, found that 'Segmentation Fault' is absent on older Debian platform and present only on Ubuntu 16.04 - probably my fault with compilation (not sure how I was able to miss something with ./configure; make). And listening of all 'attached' events after starting of Manager seems can provide all info...
by atthe
Thu Jul 06, 2017 10:55 am
Forum: Python
Topic: getAttachedDevices in Phidget22
Replies: 2
Views: 3764

Re: getAttachedDevices in Phidget22

Tried to find all attached devices using OnAttached event, but this code is crashed: import time from Phidget22.Devices.Manager import Manager from Phidget22.Phidget import Phidget manager = Manager() def attached(manager, sensor): print "something attached: %s at channel: %s" % (str(manag...
by atthe
Thu Jul 06, 2017 9:09 am
Forum: Python
Topic: getAttachedDevices in Phidget22
Replies: 2
Views: 3764

getAttachedDevices in Phidget22

Hello,

this is not really Python question but rather Phidget22 API, but I use python for coding so question is here. I used to get list of Phidgets devices with Manager's getAttachedDevices() function and can't see how to do that now with new API. Please advice correct way.

Thank you.