From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-09-2014 10:15 AM
@john7 wrote:
may be in the same topic i can ask another question - how to assemble the resulting array 1 01 00 02 with dots - like 1.1.0.2 ?
SInce you also want to eliminate leading zeroes, you should convert to U8, then use "array to sreadsheet string" using a period as delimiter and a %d as format.
01-09-2014 10:39 AM - edited 01-09-2014 10:40 AM
@john7 wrote:
Kinda trite topic, but...
I have a string say 1010002. I need to split it itno two digits groups - 1 01 00 02, if it's uneven - so MSB stands alone.
Thanks in advance. 🙂
Can we get clearer specification?
What is the maximum string lenght? what is the miminum string length? Are all characters decimal digits or can there be other characters?
Later you eliminated leading zeroes from each group. Is that what you really want?
For example if the string is always 7 or 8 decimal (or even hex) characters, the following would do.
01-12-2014 10:11 AM
i'm not sure but suppose the string has a fixed lenth. the last one real nice! Well done altenbach! 🙂
01-12-2014 11:26 AM
'I'd go into vi.lib under advanced string and use join strings with "." as the delimiter
07-06-2014 11:16 AM - edited 07-06-2014 11:18 AM
@meetjack wrote:
is there any example code for this ?
You are posting at the end of a long thread that discusses several things, and shows quite a bit of example code already.
So please explain what you mean by "this". Thanks.
(Since this thread is marked as solved, and you apparently want a different solution, you should maybe start a new thread instead).