I need to read several float variables from snap devices, perform a calculation on them, then send the calculation back to a snap device. Attached is a simplified version of the flow to illustrate the problem. I am getting NaN in msg.payload. What am I missing in this flow, I am sure the solution is easy to someone that uses node-red a lot. thanks
[{"id":"9298f268.d0e2","type":"tab","label":"Flow 3","disabled":false,"info":""},{"id":"6265ca54.0d8e34","type":"inject","z":"9298f268.d0e2","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":271.5,"y":237,"wires":[["5d550f10.7f6b6","d4249bb2.1af898"]]},{"id":"5d550f10.7f6b6","type":"pac-read","z":"9298f268.d0e2","device":"bc5622e6.56b0c8","dataType":"float-table","tagName":"HS_HHA","tableStartIndex":"1","tableLength":"1","value":"flow","valueType":"msg","topic":"","topicType":"none","name":"","x":465.5,"y":234,"wires":[["8496b64c.333448"]]},{"id":"c5ea0f66.3e27d","type":"debug","z":"9298f268.d0e2","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":841.5,"y":255,"wires":[]},{"id":"d4249bb2.1af898","type":"pac-read","z":"9298f268.d0e2","device":"bc5622e6.56b0c8","dataType":"float-table","tagName":"HS_HHA","tableStartIndex":"2","tableLength":"1","value":"pressure","valueType":"msg","topic":"","topicType":"none","name":"","x":457.5,"y":285,"wires":[["8496b64c.333448"]]},{"id":"8496b64c.333448","type":"function","z":"9298f268.d0e2","name":"","func":"var flow = msg.flow;\nvar pressure = msg.pressure;\nvar final = (flow/pressure);\nmsg.payload = final;\n\n\nreturn msg;\n\n\n","outputs":1,"noerr":0,"x":656.5,"y":255,"wires":[["c5ea0f66.3e27d"]]},{"id":"bc5622e6.56b0c8","type":"pac-device","z":"","address":"10.0.19.10","protocol":"http"}]