LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hexadecimal Big String to Decimal Numbers

Solved!
Go to solution

Sorry Sir, i have attached the wrong VI file here's the correct one

0 Kudos
Message 21 of 30
(1,231 Views)

Sorry posting by phone, cannot look at your code.

 

Both functions have their inverse, so that should be trivial to do. What is your starting point?

 

Starting  with the comma delimiter string, use string to byte array, then array to spreadsheet string with %02x as format and space as delimiter.

Message 22 of 30
(1,222 Views)

NO sir i am giving continuous number input and real time conversion of that number to hex format or ASCII format 

0 Kudos
Message 23 of 30
(1,214 Views)

@Anjaney wrote:

NO sir i am giving continuous number input and real time conversion of that number to hex format or ASCII format 


I don't know what you mean by OR. You also don't define highly ambiguous words such as "continuous", "real time", "hex format" and "ASCII format".

0 Kudos
Message 24 of 30
(1,212 Views)

This is what i am trying to do sir

Capture1.PNG

0 Kudos
Message 25 of 30
(1,209 Views)

Try to understand my code and you'll immediately notice that your code makes no sense. Hex format is only defined for integers. Also, casting gives you a generic string. ASCII defines mapping of bytes to characters, irrelevant here. What defines your loop rate?

0 Kudos
Message 26 of 30
(1,195 Views)

Here Loop rate is not defined sir it keeps on running untill i press stop i did this because i want to change the values while code is running

0 Kudos
Message 27 of 30
(1,189 Views)

What Altenbach is saying is that you have a CPU burner of a loop there.  It will run as fast as the CPU allows it.

 

Put a small wait statement in there and you won't hear the fan in your PC spin up super high trying to keep your CPU cool.

0 Kudos
Message 28 of 30
(1,187 Views)

Here is one possibility. You probably need to adjust the first format (current %f) to something that gives you the right number of significant digits. I don't know the specs.

 

Still, that entire communication seems very convoluted. What were these guys thinking!

 

RevHex.png

Message 29 of 30
(1,172 Views)

Sorry Sir, i didn't mean to make the conversation complicated but still you helped i really appreciated that thankyou Smiley Embarassed

0 Kudos
Message 30 of 30
(1,162 Views)