Hi. using node-red to facilitate connection to Phidget 1046.1 load cell interface, with 3 load cells connected. Is there a way to programatically close specific channels? I want only listen to one loadcell/channel at a time. With all 3 enabled I'm maxing bandwidth and missing reads.
There isn't currently functionality to close Phidget channels mid-flow in node-red. As far as I can tell the channels only close when the flow is stopped. You could probably add close functionality by adding support for a 'close' message in phidget22-voltageratioinput.js (in the switch statement in Phidget22VoltageRatioInputNode() )
Ok thanks. I tried to dynamically setDataInterval high on the non active sensors but it didn't seem to work. Once I disabled those sensor objects in node-red then it did, but that isn't a solution for this scendario. I'll take the easy way out for now and add a 2nd phidget device for the pesky load cell that requires the low data interval that is causing my issues.