Search Results

by dirkiepower
Tue Jul 12, 2022 7:31 am
Forum: Python
Topic: Sensor only works once.
Replies: 4
Views: 22916

Re: Sensor only works once.

For everyone encountering this issue:

Solution:
Reset usb phidgets device by calling the python script from the following link: https://askubuntu.com/a/988297

Phidgets are working as expecting now.

(My platform is Jetson Orin Jetpack 5 Ubuntu 20.04.4 LTS)
by dirkiepower
Thu Jul 07, 2022 2:12 am
Forum: Python
Topic: Sensor only works once.
Replies: 4
Views: 22916

Re: Sensor only works once.

Phidget channels can only be opened in one program or process at any given time, so it seems like for some reason your python script is still running after it closes. You can test this by using the ps command before and after running the python script for the first time. Tested this, and this is no...
by dirkiepower
Tue Jul 05, 2022 1:33 am
Forum: Python
Topic: Sensor only works once.
Replies: 4
Views: 22916

Sensor only works once.

We use the Nvidia Jetson Orin with Ubuntu 20.04.4 LTS. After a reboot I can succesfully establish a connection with the HumiditySensor using the following script. from Phidget22.Devices.HumiditySensor import * Phidget.resetLibrary() #serial: 627720 def onHumiditySensor0_Attach(self): print(f"At...