07-13-2010 02:37 PM
Hi, I'm a freshman for Labview.
I want to find the start bytes in Hex string. For example, 12 1A 00 34 1A 01 23... How can I get my 3 bytes data out of the hex string which is started at '1A'?
Thank you for your help.
Solved! Go to Solution.
07-13-2010 03:11 PM
You will need to provide more information. Do you have a string that has byte values like that? In other words, do you have the string control/indicator set to "hex display mode", and what you provided is what you have? Or, do you have the string in normal display?
If it's in hex display mode, then use one of the string functions to get a string subset. Have you looked in the string palette?
If it's in normal display mode then you need to convert every 2 characters to hex values.
To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
07-14-2010 10:50 AM
I figure it out. Thanks.