ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
12-18-2020 06:09 AM
Hello All,
I have a wired problem.
In order to control my servo I need to send an HEX string and its checksum
The checksum calculation is Correct, but after concentrating the two string, the checksum Hex Value is changed.
I am at a loss here.
How can this be explained and avoided?
Please see attached VI saved to labview 18.
Thanks very much
Gil,
Solved! Go to Solution.
12-18-2020 07:06 AM
No change at all. The concatenated string and checksum is displayed in Hex, while the checksum is displayed in Normal format.
So, the checksum E3 corresponds to hex format 4533 as expected.
12-18-2020 08:04 AM - edited 12-18-2020 08:05 AM
For any string you are not using the "normal" display on, I HIGHLY recommend you turn on the "Display Style" (right-click, Visible Items->Display Style). It will become obvious that your Checksum indicator is in normal display while all of the others are in hex.
With that said, I am fairly certain that your checksum should not be the ASCII formatting of the checksum. Use a Type Cast or Flatten To String to keep the checksum in a hex format like the rest of your data.
Slightly off topic, but there is a Add Array Elements that will eliminate the need for your FOR loop.
12-18-2020 08:11 AM
Thanks!
That solved the issue!