I want to multiply both of the above by 30 and then send into Influx2. However, I am getting the error shown below. I have tried various other ways, such as Feedrate: msg.data.weight_dispensed*30 and Feedrate: flow.data.weight_dispensed*30 and nothing seems to get past this error.
flow.get("property")
the second input (data in your case) is the context store to use.
So data would need to be the name of the store you want to use, but you have not defined data. So you do not need data and the flow.get() would use the default context store.
Thank you. That eliminated the error, but now I am getting NaN, even though it would appear to me that I am sending a number to Influx. Any ideas for how to address this issue?