LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

conversion from hex string to bytes withh out ascii

Solved!
Go to solution

how to convert hex string to byte numbers without ascii codes,then all the converted bytes should come into a packets

0 Kudos
Message 1 of 6
(3,814 Views)
Solution
Accepted by topic author rajkumar5

Your question is very ambiguous. Please explain.

 

Can you give us a Vi containing an example string and what you want out of it. What is the dataype of the "packets"?

0 Kudos
Message 2 of 6
(3,793 Views)

@rajkumar5 wrote:

how to convert hex string to byte numbers without ascii codes,then all the converted bytes should come into a packets


What people consider ASCII and Hex with strings varies so much, you pretty much need to supply an example.  The best way is to create a VI with default data in the string control and indicator (to show what you want out).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 6
(3,710 Views)

hi,

   i have a binary no eg :1010 how to do 2's complement of this no

 

 

 

 

       

 

0 Kudos
Message 4 of 6
(3,434 Views)

It's good practice that if you have different question start new thread and post.

Anyway this might help: http://digital.ni.com/public.nsf/allkb/57EC3CCB9DA0756786256649006421FF

Thanks
uday
0 Kudos
Message 5 of 6
(3,430 Views)
I saw that link,in that link they are showing binary values by changing the property type of indicator instead of numeric they are showing in binary but I want binary as my output
0 Kudos
Message 6 of 6
(3,424 Views)