Search Results

by jnbastoky
Tue Nov 05, 2024 7:38 pm
Forum: Javascript
Topic: Node-RED digitaloutput node missing break statement.
Replies: 0
Views: 1934

Node-RED digitaloutput node missing break statement.

In the Node-RED library phidget22-digitalout.js is missing the break; statement at the end of case 'setState' (line 46). This is causing the default case to get executed even through setState matches and is therefore generating an incorrect error.
by jnbastoky
Tue Sep 27, 2022 2:17 pm
Forum: All Other Phidgets
Topic: Unable to upgrade PhidgetBridge Firmware to V102
Replies: 1
Views: 25216

Unable to upgrade PhidgetBridge Firmware to V102

I'm unable to upgrade the firmware of a 1046_0 PhidgetBridge to v102. The PhidgetBridge is report v101: $ phidget22admin -d phidgetsbc - (293371) PhidgetBridge 4-Input v101 (293371//0) Bridge Input (293371//1) Bridge Input (293371//2) Bridge Input (293371//3) Bridge Input No upgradable devices are f...
by jnbastoky
Thu Sep 08, 2022 7:27 am
Forum: InterfaceKits
Topic: Failsafe for PhidgetInterfaceKit 0/0/4
Replies: 2
Views: 25218

Re: Failsafe for PhidgetInterfaceKit 0/0/4

Excellent. Thanks
by jnbastoky
Sat Aug 13, 2022 3:24 pm
Forum: InterfaceKits
Topic: Failsafe for PhidgetInterfaceKit 0/0/4
Replies: 2
Views: 25218

Failsafe for PhidgetInterfaceKit 0/0/4

What is the likelihood that the failsafe feature will be added to the PhidgetInterfaceKit 0/0/4 firmware?
by jnbastoky
Sat Jun 25, 2022 6:31 pm
Forum: Python
Topic: REL1100 Error Handler Callback Description Datatype
Replies: 1
Views: 19410

REL1100 Error Handler Callback Description Datatype

The description data type in the error handler for the REL110 will return different data types at different times. Sometimes I get a str . Other times it's bytes . It seems to alternate between the two Here's the callback handler. I'm printing the data type of the description callback parameter to c...
by jnbastoky
Sun Sep 19, 2021 12:34 pm
Forum: Python
Topic: Calling getAttached() in attach handler
Replies: 1
Views: 22002

Calling getAttached() in attach handler

I was troubleshooting an issue with setting the RTD type of a temperature sensor in the attach handler. In the process I discovered calling getAttached() on the channel gives a False result. If the attach handler is called then the channel should be attached, right? It appears that maybe the attache...
by jnbastoky
Sat Sep 18, 2021 1:39 pm
Forum: Python
Topic: open() timeout
Replies: 2
Views: 21731

Re: open() timeout

That make sense. I've landed on calling openWaitForAttachment() initially then in the exception handler when it timesout calling open() in case it connects later. try: self.io_channel.openWaitForAttachment(2000) except PhidgetException as e: self._error(self.io_channel, e.code, e.description) self.i...
by jnbastoky
Sat Sep 18, 2021 1:26 pm
Forum: Python
Topic: Result data type in async callback
Replies: 0
Views: 29940

Result data type in async callback

The details parameter in the AsyncHandler callback for Phidget22.Devices.VoltageOutput.setVoltage_async() and Phidget22.Devices.DigitalOutput.setState_async() is returned as Python type bytes instead of type string . Printing the value returned by the AysncHandler result value gives a byte string: b...
by jnbastoky
Sun Aug 15, 2021 1:56 pm
Forum: Python
Topic: open() timeout
Replies: 2
Views: 21731

open() timeout

Why doesn't the open method eventually generate a timeout? I like being able to call open() instead of openWaitForAttachment() so that I don't have to wait for attachment in sequential order of several channels. I'd still expect the channel to eventually timeout and call the error function.
by jnbastoky
Sun Feb 21, 2021 2:16 pm
Forum: General
Topic: SBC2 Firmware 1.1.1 install showing 1.0.1
Replies: 2
Views: 34764

Re: SBC2 Firmware 1.1.1 install showing 1.0.1

Kernel version:

Linux version 3.2.66 (patrick@debian) (gcc version 4.9.2 ( 4.9.2-10) ) #5 PREEMPT Tue Aug 4 12:04:27 MDT 2015