rharmon@sandia.gov Posted June 19, 2019 Report Share Posted June 19, 2019 I'm trying to build a Hex String to send to a piece of equipment... As you can tell by the title... Hex Strings are not my favorite things to work with... The correct output from this vi should be a hex string 0106 012C 05DC 4B36. I don't have a clue where I'm going wrong. Can someone point me in the right direction??? Please.... crc16-2.vi Setpt to String.vi Quote Link to comment
crossrulz Posted June 19, 2019 Report Share Posted June 19, 2019 (edited) You are mixing definitions of "Hex String". It appears you need a raw/binary/flat data string. So replace the Number To Hexidecimal String with a Flatten Into String. The Number To Hex String converts into an ASCII text, which you do not want. Further, since you only want 4 hex character (ie 2 bytes), you need to add a U16 conversion bullet after the multiplication. Edited June 19, 2019 by crossrulz Quote Link to comment
rharmon@sandia.gov Posted June 19, 2019 Author Report Share Posted June 19, 2019 Thank you... That works perfect... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.