LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting each column of an array of floating point numbers dynamically

Hello  all,  once again back with a question.
I have to format each of a 2D array of floating point numbers (the array  is obtained from a file of arbitrary column data of floating point numbers) dynamically. please help me out with a vi to explain this more clearly.
 thanks in advance
 regards
Renault
 
 
0 Kudos
Message 1 of 3
(2,336 Views)
Format how? Is it from DBL to string, each element differently, convert all to to one format and then convert all to a different format or what?
0 Kudos
Message 2 of 3
(2,324 Views)
You cannot use a different format for each column of a 2D array. In an array, all the elements are identical, except their value.
If you want to have a different display, for instance a different number of sign ificant digits, you should use a table instead.
See the attached vi that shows how to convert a 2D array to a 2D string table, with a different digit number in each column.
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
0 Kudos
Message 3 of 3
(2,314 Views)