From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error when indexing an array

HI

i uses the LV string to unicode string.vi to convert a string to a numeric array. After this is done i want to index this num. array to get the first two elements, but only the first element will be displayed, not the second!!, the seconde is always "0".

for a better understand please have a look at my screenshot

LV PDA 8.2
Win PocketPC 2003



sincerely
timo


---
0 Kudos
Message 1 of 2
(3,651 Views)
Hi Timo,
I didn't find the "string to unicode.vi" on my system, but I know, that unicode stores every character in 16bits. I suppose, if you index the next element in the array, you would get the expected 50. I think it would be more convenient to output an U16- Array in the "string to unicode.vi".
The intention of unicode was to put several character- codepages into one single chartype.
Greets, Dave
Greets, Dave
0 Kudos
Message 2 of 2
(3,632 Views)