Node-RED expects JSON?

I am working on a project that uses an Arduino connected to LabVIEW, and Node-RED. It is a smart home system, with multiple user-defined inputs and outputs. The Node-RED dashboard is able to receive all of the inputs that are sent via LabVIEW, however, when I try to send a signal back to LabVIEW, the program stops and gives an error saying "JSON Message expected". I have tried adding a JSON block before the function with no success. I have tested it with only one input node (instead of connecting multiple to the same function block), and it outputs it just fine. The issue lies when I try to have multiple things output at once. Any help would be appriciated.

Attach a debug node to the output that feeds into the labView node so you can see exactly what you are passing in.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.