06-08-2012 12:22 PM
I am new to LabView please be patient. I have a binary number that is represented by a string. I want to shift this 16 bit number and fill the leading bits with 0's. Will I have to split this string? I know arrays can be shifted n number of times but cannot find this type of shifting for strings.
Solved! Go to Solution.
06-08-2012 12:28 PM
There are shift functions but only for actual integers not strings
06-08-2012 12:30 PM
Is there a way to split the string in uneven proportions?
06-08-2012 12:40 PM
@msmith1955 wrote:
Is there a way to split the string in uneven proportions?
Yes, there are lots of string functions available to you. Look in the string pallete and you will see there are functions to split strings. However, since you are really maniulating numbers you might find it easier to convert the string to a number, manipulate it and then format it into a string. Doing it purely in a string will be nontrivial to say the least.
06-08-2012 12:50 PM
06-08-2012 01:31 PM
Thank you for the information.