06-10-2019 11:06 AM
Sorry Sir, i have attached the wrong VI file here's the correct one
06-10-2019 11:50 AM - edited 06-10-2019 02:10 PM
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.
06-10-2019 12:24 PM
NO sir i am giving continuous number input and real time conversion of that number to hex format or ASCII format
06-10-2019 12:27 PM
@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".
06-10-2019 12:33 PM
This is what i am trying to do sir
06-10-2019 12:43 PM - edited 06-10-2019 12:44 PM
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?
06-10-2019 12:49 PM
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
06-10-2019 12:53 PM
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.
06-10-2019 01:44 PM
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!
06-10-2019 02:05 PM
Sorry Sir, i didn't mean to make the conversation complicated but still you helped i really appreciated that thankyou