Question: Labview: Develop a VI to encode or decode words using a secret code. To encode a word in this code, first separate the word into
Labview:
Develop a VI to encode or decode words using a secret code. To encode a word in this code, first separate the word into two substrings one with the first half of the original word, and one containing the second half. If there is an odd number of letters in the word, then split it so that the first substring has one more letter than the second one. Create the encoded word by concatenating the first half of the word onto the end of the second half of the word, inserting the second letter of the original word in between these two halves. For example, the word gravity would be encoded as ityrgrav and the word master would be encoded as teramas. Place a string control on the front panel and a Boolean switch allowing the user to select whether the input is to be decoded or encoded. Display the output on a string indicator. I am stuck on this one overall since I am not sure how to unevenly divide them correctly.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
