psas/launch-tower-comm

Display all available sensor values

Closed this issue · 1 comments

Display all available sensor values

This is a dump of some of the types of Webservice Dictionary keys created by Phidgets

john@monk:~/code/ph-ex/Python$ python Dictionary-simple.py
Opening Dictionary object....
Dictionary connected to server 192.168.128.250
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Version -- Value: 904
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Trigger/7 -- Value: 10
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Trigger/6 -- Value: 10
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Trigger/5 -- Value: 10
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Trigger/4 -- Value: 10
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Trigger/3 -- Value: 10
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Trigger/2 -- Value: 10
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Trigger/1 -- Value: 10
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Trigger/0 -- Value: 10
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Status -- Value: Attached
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Sensor/7 -- Value: 493
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Sensor/6 -- Value: 493
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Sensor/5 -- Value: 655
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Sensor/4 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Sensor/3 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Sensor/2 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Sensor/1 -- Value: 492
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Sensor/0 -- Value: 381
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/RawSensor/7 -- Value: 2020
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/RawSensor/6 -- Value: 2018
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/RawSensor/5 -- Value: 2682
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/RawSensor/4 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/RawSensor/3 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/RawSensor/2 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/RawSensor/1 -- Value: 2016
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/RawSensor/0 -- Value: 1561
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Ratiometric -- Value: 1
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Output/7 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Output/6 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Output/5 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Output/4 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Output/3 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Output/2 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Output/1 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Output/0 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/NumberOfSensors -- Value: 8
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/NumberOfOutputs -- Value: 8
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/NumberOfInputs -- Value: 8
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Name -- Value: Phidget InterfaceKit 8/8/8
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Label -- Value: �
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/InterruptRate -- Value: 8
Connected: True
Server: 192.168.128.250:5001
Now we'll add some keys...
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Input/7 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Input/6 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Input/5 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Input/4 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Input/3 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Input/2 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Input/1 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/Input/0 -- Value: 0
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/InitKeys -- Value: 61
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/ID -- Value: 69
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRateMin -- Value: 1000
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRateMax -- Value: 16
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRate/7 -- Value: 16
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRate/6 -- Value: 16
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRate/5 -- Value: 16
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRate/4 -- Value: 16
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRate/3 -- Value: 16
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRate/2 -- Value: 16
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRate/1 -- Value: 16
Current Value -- Key: /PSK/PhidgetInterfaceKit//178346/DataRate/0 -- Value: 16
Current Value -- Key: /PSK/List/PhidgetInterfaceKit/259173 -- Value: Attached Version=707 ID=64 Label=
Current Value -- Key: /PSK/List/PhidgetInterfaceKit/178346 -- Value: Attached Version=904 ID=69 Label=
Current Value -- Key: /PCK/PhidgetInterfaceKit/178346/DataRate/7 -- Value: 16
Current Value -- Key: /PCK/PhidgetInterfaceKit/178346/DataRate/6 -- Value: 16
Current Value -- Key: /PCK/PhidgetInterfaceKit/178346/DataRate/5 -- Value: 16
Current Value -- Key: /PCK/PhidgetInterfaceKit/178346/DataRate/4 -- Value: 16
Current Value -- Key: /PCK/PhidgetInterfaceKit/178346/DataRate/3 -- Value: 16
Current Value -- Key: /PCK/PhidgetInterfaceKit/178346/DataRate/2 -- Value: 16
Current Value -- Key: /PCK/PhidgetInterfaceKit/178346/DataRate/1 -- Value: 16
Current Value -- Key: /PCK/PhidgetInterfaceKit/178346/DataRate/0 -- Value: 16
Current Value -- Key: /PCK/Heartbeat/192.168.128.50/2958 -- Value: 0
Current Value -- Key: /PCK/Heartbeat/192.168.128.50/2702 -- Value: 15
Current Value -- Key: /PCK/Client/192.168.128.50/002702/PhidgetInterfaceKit/178346 -- Value: Open