07-28-2022 12:10 PM
@Manik981211 wrote:
Because I need to write in a hex format in visa write.
Again, what do you mean by "hex format"?
An ASCII string that only has characters 0 through 9 and A through F? For a U16, this will be 4 bytes long.
A raw/binary/hex value that has the same raw value as the U16? This will be 2 bytes long.
This is why I emphasis giving clear examples.
There was a recent thread on this subject that I would recommend you give a good read to figure out exactly what you want: Complete String Conversion Tutorial
07-28-2022 12:36 PM
Thanks for sharing these tutorial with me😊