Search Results

by DarkLight
Tue Oct 16, 2018 3:16 am
Forum: Python
Topic: read all digital inputs on 1012 DIO
Replies: 3
Views: 6745

Re: read all digital inputs on 1012 DIO

The problem is that I need to read all digital inputs as one, i.e. When inputs 3 and 7 are at 'HIGH' state, I expect the output to be: output = ['0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0'] Currently, I repeat the attach for each channel (attach, wait for event, ap...
by DarkLight
Wed Oct 10, 2018 7:43 am
Forum: Python
Topic: read all digital inputs on 1012 DIO
Replies: 3
Views: 6745

read all digital inputs on 1012 DIO

The example code states :"If you are unsure how to use more than one Phidget channel with this event, we recommend going to http://www.phidgets.com/docs/Using_Multiple_Phidgets for information" alas - the site is empty... [Update … The link now works] Does anyone has experience with readin...
by DarkLight
Tue Aug 14, 2018 12:11 am
Forum: Python
Topic: A simple readout from the 1136 Diffrential Pressure Sensor
Replies: 6
Views: 9132

Re: A simple readout from the 1136 Diffrential Pressure Sensor

Dear fraser,jdecoux

can you, please, send the code of your above mentioned examples?
It may seem obvious to you, but less experienced users (ahm, i.e. me) sometimes miss stupid pitfalls...
by DarkLight
Mon Aug 13, 2018 8:29 am
Forum: Python
Topic: wxPython -- who's using?
Replies: 1
Views: 5463

Re: wxPython -- who's using?

I've used the Humidity (HUM 1000_0) sensor and the differential pressure sensor (1136_0) connected to the VINT hub for the humidity/temperature # -*- coding: utf-8 -*- from Phidget22.Devices.TemperatureSensor import * from Phidget22.Devices.HumiditySensor import * from Phidget22.Net import * import ...
by DarkLight
Mon Aug 13, 2018 8:10 am
Forum: Python
Topic: A simple readout from the 1136 Diffrential Pressure Sensor
Replies: 6
Views: 9132

Re: A simple readout from the 1136 Diffrential Pressure Sensor

I did not find a simple, single read solution. yet, the following was good enough - aggregate a few seconds of results, calculate PA, min, max, mean - done. Please notice - this solution is based on a single vint hub. The 1136_0 is connected to port 1. Unlike "smarter" sensors, this one ca...
by DarkLight
Sun Aug 12, 2018 9:16 am
Forum: Python
Topic: VINT python help
Replies: 1
Views: 5976

Re: VINT python help

This is code for temperature sensor connected to VINT (actually, a humidity phidget HUM1000_0, but it should work with any temperature sensor connected to VINT...) # -*- coding: utf-8 -*- from Phidget22.Devices.TemperatureSensor import * from Phidget22.Net import * TempArray = [] i = 0 while 1: ct =...
by DarkLight
Sun Aug 12, 2018 9:02 am
Forum: Python
Topic: A simple readout from the 1136 Diffrential Pressure Sensor
Replies: 6
Views: 9132

A simple readout from the 1136 Diffrential Pressure Sensor

Hi, I wish to read the differential pressure (in Pa) from the 1136_0 https://www.phidgets.com/?tier=3&catid=7&pcid=5&prodid=109 The example given is too generic and only gives the voltage output, after a long array of questions... import sys import time import traceback from Phidget22.De...
by DarkLight
Thu Mar 22, 2018 2:30 am
Forum: Python
Topic: Read multiple humidity (HUM1000_0) sensors with python
Replies: 4
Views: 6322

Re: Read multiple humidity (HUM1000_0) sensors with python

Hi all, this is quick and dirty, and does not handle exceptions as well as the demo code. but for "fresh meats" with little code experience it's a datum from which to grow... # -*- coding: utf-8 -*- from Phidget22.Devices.TemperatureSensor import * from Phidget22.Devices.HumiditySensor imp...
by DarkLight
Thu Mar 22, 2018 12:20 am
Forum: Python
Topic: Read multiple humidity (HUM1000_0) sensors with python
Replies: 4
Views: 6322

Re: Read multiple humidity (HUM1000_0) sensors with python

In order to read multiple humidity sensors, you need to create and open multiple humidity objects. Before opening, you can specify things like channel and device serial number to make sure you know which humidity sensor is being addressed by which variable. We have a video that explains how this is...