How to access data on Phidgets USB photo sensor












0















I work for a university that has a video display sign (ucview) running Ubuntu as the OS. We have a photo sensor USB attached to (hopefully) pull relevant brightness data from the that sensor for use with a python script that will call out to the USB sensor to gather adjust the brightness of the signage. The sensor uses Phidgets drivers.



I do not know exact how to query that data.










share|improve this question

























  • Can you provide a link or product name for the sensor you have?

    – BillThePlatypus
    Jan 18 at 17:34











  • Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)

    – OSUITJrAdmin
    Jan 18 at 17:39
















0















I work for a university that has a video display sign (ucview) running Ubuntu as the OS. We have a photo sensor USB attached to (hopefully) pull relevant brightness data from the that sensor for use with a python script that will call out to the USB sensor to gather adjust the brightness of the signage. The sensor uses Phidgets drivers.



I do not know exact how to query that data.










share|improve this question

























  • Can you provide a link or product name for the sensor you have?

    – BillThePlatypus
    Jan 18 at 17:34











  • Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)

    – OSUITJrAdmin
    Jan 18 at 17:39














0












0








0








I work for a university that has a video display sign (ucview) running Ubuntu as the OS. We have a photo sensor USB attached to (hopefully) pull relevant brightness data from the that sensor for use with a python script that will call out to the USB sensor to gather adjust the brightness of the signage. The sensor uses Phidgets drivers.



I do not know exact how to query that data.










share|improve this question
















I work for a university that has a video display sign (ucview) running Ubuntu as the OS. We have a photo sensor USB attached to (hopefully) pull relevant brightness data from the that sensor for use with a python script that will call out to the USB sensor to gather adjust the brightness of the signage. The sensor uses Phidgets drivers.



I do not know exact how to query that data.







usb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 18 at 22:09









Pablo Bianchi

2,6151532




2,6151532










asked Jan 18 at 17:16









OSUITJrAdminOSUITJrAdmin

1




1













  • Can you provide a link or product name for the sensor you have?

    – BillThePlatypus
    Jan 18 at 17:34











  • Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)

    – OSUITJrAdmin
    Jan 18 at 17:39



















  • Can you provide a link or product name for the sensor you have?

    – BillThePlatypus
    Jan 18 at 17:34











  • Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)

    – OSUITJrAdmin
    Jan 18 at 17:39

















Can you provide a link or product name for the sensor you have?

– BillThePlatypus
Jan 18 at 17:34





Can you provide a link or product name for the sensor you have?

– BillThePlatypus
Jan 18 at 17:34













Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)

– OSUITJrAdmin
Jan 18 at 17:39





Yes, thank you. The sensor is [link] (phidgets.com/?tier=3&catid=2&pcid=1&prodid=4)

– OSUITJrAdmin
Jan 18 at 17:39










1 Answer
1






active

oldest

votes


















1














The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.






share|improve this answer
























  • I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.

    – OSUITJrAdmin
    Jan 22 at 17:07











  • If you installed the library correctly, it is likely a question for stackoverflow.

    – BillThePlatypus
    Jan 23 at 5:12











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110935%2fhow-to-access-data-on-phidgets-usb-photo-sensor%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.






share|improve this answer
























  • I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.

    – OSUITJrAdmin
    Jan 22 at 17:07











  • If you installed the library correctly, it is likely a question for stackoverflow.

    – BillThePlatypus
    Jan 23 at 5:12
















1














The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.






share|improve this answer
























  • I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.

    – OSUITJrAdmin
    Jan 22 at 17:07











  • If you installed the library correctly, it is likely a question for stackoverflow.

    – BillThePlatypus
    Jan 23 at 5:12














1












1








1







The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.






share|improve this answer













The phidget has an API available over python. You can install it with instructions here. Once you've done that, you can use the API, which is described lower on the product page for the specific sensor. If you're having difficulty, you can take a look at the examples.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 18 at 17:46









BillThePlatypusBillThePlatypus

6110




6110













  • I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.

    – OSUITJrAdmin
    Jan 22 at 17:07











  • If you installed the library correctly, it is likely a question for stackoverflow.

    – BillThePlatypus
    Jan 23 at 5:12



















  • I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.

    – OSUITJrAdmin
    Jan 22 at 17:07











  • If you installed the library correctly, it is likely a question for stackoverflow.

    – BillThePlatypus
    Jan 23 at 5:12

















I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.

– OSUITJrAdmin
Jan 22 at 17:07





I made use of the API and the Python script example for LightSensor. I am getting errors a plenty. I ensured that I had the library for phidget22 installed.

– OSUITJrAdmin
Jan 22 at 17:07













If you installed the library correctly, it is likely a question for stackoverflow.

– BillThePlatypus
Jan 23 at 5:12





If you installed the library correctly, it is likely a question for stackoverflow.

– BillThePlatypus
Jan 23 at 5:12


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110935%2fhow-to-access-data-on-phidgets-usb-photo-sensor%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Mouse cursor on multiple screens with different PPI

Agildo Ribeiro

Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”