Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How labview sends floating-point numbers to MCU through serial port
How labview sends floating-point numbers to MCU through serial port
Use this function to process data in math-number-data.

But you have to pay attention to the format of floating point number received by single chip microcomputer, whether it is float or double. The default floating-point number in labview is double, accounting for 64 bits. If the floating-point number of the microcontroller is 32 bits, you must change the representation of "value" to SGL.

There is also the problem of big end and small end. If the numbers collected by your microcontroller are completely wrong, you can consider changing the alignment.