LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

convert

Is there anyway to convert an int array into char array? I tried using the ConvertArrayType function but it doesn't seem to work. Any help would be appreciated.

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

If you want to convert an array of integers into an array of strings (i.e. from { 1, 2, 3, ... 618 } to { "1", "2", "3", ... "618" } ) then your only solution is to loop through array elements and sprintf the corresponding string into the array of strings.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(3,328 Views)