Questions tagged [phidgets]

For questions relevant to the Phidgets APIs and devices

For questions relevant to the Phidgets APIs and hardware:

10 questions
2
votes
1 answer

How to specify sampling interval (10 seconds) on Phidget 8/8/8 board

I'm using Phidget 8/8/8 board to acquire temperature and RH signal from a sensor. I would like to have a 10-second sampling interval, but I only can specify the interval as 1ms up to 1000ms by the statement setDataInterval(). What I want is 10…
Damao
  • 31
  • 6
1
vote
3 answers

Python code run while I stop it by using Keyboard

I have a PhidgetBridge which is connected to 2 gauge strain. I got the signal and make the calibration using this code. But when I run it, it displays me only one print, or I'd like to have many prints (with this code, I'd like the data to be…
RogerLM
  • 35
  • 6
1
vote
1 answer

Coffee roasting program, how do I write a program that sorts samples of temperature readings and only return an average of the lowest 10?

I am using Python to build a script for a program to be ran by Artisan-Scope roasting software. The program already works with my device (the Phidgets 1045_1B) but I need to do more filtering on the temperature readings. I would like the program to…
1
vote
1 answer

Catch DllNotFoundException not working with Phidget API

I need to reference a dll to instantiate an object. There are cases where the dll will not exist because the Phidget drivers are not installed on those systems. In those cases I just want to catch the DllNotFoundException, but it's not working. I…
Karmacon
  • 3,128
  • 1
  • 18
  • 20
1
vote
0 answers

Phidget API 22 : libusb deadlock

I currently have a thread of the Phidget API which deadlocks; here is a stack trace of my main thread: 1 __lll_lock_wait 0x7ffff5b3173c 2 __lll_lock_elision 0x7ffff5b343c7…
Jean-Michaël Celerier
  • 7,412
  • 3
  • 54
  • 75
0
votes
0 answers

how to write on a RFID card using a phidget RFID SUT1024?

I'm trying to write a value into a RFID card using the Phidget RFID SUT 1024. Unfortunately, I wasn't able to find a working code for this reader and chatGPT didn't give me a working code either. The only thing I was able to do is to read the…
LeZ
  • 1
  • 1
0
votes
0 answers

Robot Framework - Phidget support

I'm currently trying to use robot framework to automate a test involving a solenoid. I'm doing this through custom keywords with the following python code to control the phidget def click(): solenoid = DigitalOutput() solenoid.setChannel(0) …
0
votes
1 answer

Cross Compile Phidget library arm

I'm trying to cross compile some C code in order to execute it on a Phidget SBS4 - 3003. I already succeed to cross compile a simple .C file (printf("hello world");) and execute it on the SBC using arm-linux-gnueabihf-gcc toolchain for the cross…
Julie96
  • 331
  • 1
  • 15
0
votes
1 answer

How to plot an external device output into a graph?

I have a Phidgets differential pressure sensor device connected to Python and used a template code to output the pressure. I've got it to work and it's outputting pressure values into the console. However, I'm looking to graph the output values and…
0
votes
2 answers

time.sleep inside a while loop seems to not working correctly

I am using the phidget bridge 4 input to read load cell. I am trying to acquire the data at 1 Hz so I am using time.sleep(1) inside a while loop to read the data every second as needed. To be sure I am at 1 Hz, I am printing my value while the…
RogerLM
  • 35
  • 6