10-06-2025 07:50 PM
Hey, i kinda new in the labview, basicly i have a program that read data from hardware using labview and sending the processed data into database with mqtt protocol. I have a problem that when i pubblish from the labview, it add another byte into the payload that likely to be the name of payload and the byte count of the payload. I'm using a basic mqtt publish from the library. is it possible to excluding that from my payload?
i attached the screenshot of the mqtt publish program, the payload structure and the published payload
10-07-2025 02:06 AM
If you are flattening the data yourself, use Publish (Raw Payload).vi.
Alternatively, you could create your own Serializer object that flattens data to e.g. JSON.