07-05-2010 05:11 AM
sorry I didn't see your last answer. see the attached VI, hope it's what you need
07-05-2010 05:17 AM
OK, so maybe we don't really understand what you nee ! 🙂
If you need to extract each character of the hexadecimal string, see attached below...
07-05-2010 05:18 AM
Thanks for the Reply.
-mfp
07-05-2010 06:28 AM
One more Question.
Please see the attachment.
How shall i remove that wire error?
-mfp.
07-05-2010 06:37 AM - edited 07-05-2010 06:37 AM
07-05-2010 06:41 AM
You should use the index array function (in array palette)
look at the linked exemple
07-05-2010 08:06 AM
when i use index array to get an element, getting a wrong value.
but when i put an indicator at the substring, getting the correct one.
i need the value in hex format itself to fill into the cluster.
what shall i do for that?
-mfp.
07-05-2010 08:13 AM
Hi Favas,
sorry, my fault. (Partly yours, as attaching a VI could have helped...)
You take a string subset of two chars. Those two chars form one hex value. To get that value you have to use "Hexadecimal String To Number" instead of "String to U8 array"...
07-05-2010 08:34 AM
okay.
thanks for the support.
-mfp
07-05-2010 02:04 PM
@Favas wrote:
when i use index array to get an element, getting a wrong value.
but when i put an indicator at the substring, getting the correct one.
i need the value in hex format itself to fill into the cluster.
what shall i do for that?
This is a ridiculously long and winding thread with tons of guesses and ambiguities, as well as weird rube goldberg replies, one marked as "solution" before the discussion even gravitated to a consensus.
Can we start from scratch! Don't post code images! Only post actual VIs.
Make a simplified version containing the desired data in controls (the data you have) and indicators (the results you want), make the current values defaults, save, and attach the VI.
Thanks! 😄