LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arduino to labview float union conversion.

Solved!
Go to solution

When you show pictures of code that can't be run, and you don't identify whether the numbers showing are decimal, hexadecimal, or something else, and then start with what I assume is code in some out-moded symbolic language with operators like ++, funny punctuation, etc. that takes up far more space than the "LabVIEW Parser" code you show below it, I just sigh, and shrug my shoulders.  Let Arduino send data "as is", and let LabVIEW have the smarts to re-arrange it to make sense.  If the issue is "byte order", simply collect the bytes into an array and use Reverse Array.  If it is "These 4 bytes totaling 32 bits represent a single-precision Float", simply Type Cast them to a single-precision Float.

 

Bob Schor

 

 

0 Kudos
Message 11 of 12
(177 Views)

  Thank you for your answers. The problem was exactly as you said. I was a little confused. But now I understand the situation better.


By the way, the problem is completely solved.

0 Kudos
Message 12 of 12
(146 Views)