LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I convert single element array to integer

Hi,

 

I have extracted a single element/character from a string using "String Subset Function". I want to convert this to a number eg U8.

The output from "String Subset Function" produces a 1 character string. If I convert it to U8 it produces an array of U8 with one element.

 

How can I convert it to a non-array variable?

 

Many thanks

Andy

0 Kudos
Message 1 of 3
(2,572 Views)

U8 makes me think that you might have intended to post this question in the LabVIEW forum - while you ended up in the CVI forum 😉

0 Kudos
Message 2 of 3
(2,570 Views)

Yes your right, wrong forum.

 

Please ignore this one. I'll start again in the correct forum.

 

Many thanks

 

Andy

0 Kudos
Message 3 of 3
(2,567 Views)