Hello to the group,
Here's my dillemma...
I'm interested in a specific output from my device. The expected output is 256 values, as a row of 512 byte (Hex). To simplify communication, I used the LabVIEW Serial VI and added a terminal at the "Read String". This outputs a string (when displayed as "Hex Display") like 0200 0200 ... ... 0200 0100. I wired that output into the "String" input of a Hexidecimal String to Number conversion. Then, I am using a Build Array, wired into the single element. Finally, the appened array terminal is wired to the "Data Array" input of a VI which is designed to do a number of calculations on the output from the device.
When I run the program, I can probe the output from the LabVIEW Serial and though the window is filled with squares (Is there a way to display hex in a probe?) it appears to be passing 256 squares. Unfortunately, that's where the chain breaks, as the output from the Hexadecimal String to Number conversion remains a solitary 0 and the output of the calculations is NaN (see attached jpg. Read String is probe 26, 25 is the output from the conversion and 27 is the output of the calculation MSE).
Suggestions?
Cheers,
Stephen