LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

about Table

hi everyone
 
I have 2 questions
 
1) how can I put the results in colone and not in row
2) is there any possibility to add automaticly a Nr. for each result , like for e.g
 
     1    10       15
     2     0,25    0,236
     3     5,36    20
 
to understand what I mean plz look at the LV
0 Kudos
Message 1 of 8
(3,326 Views)

Hi dctoni,

1) use transpose 2D Array

2) see the attachment.

Mike

0 Kudos
Message 2 of 8
(3,320 Views)
Hi dctoni,

in 1D arrays is no difference between a column and a row.
In 2D arrays you have to use a different index at the "insert" or "replace" operation. When using "build array" you may use a transpose to change columns with rows.

To add a column with "Nr."-entries you simply use "build array"-node set to concatenation-mode (right-click)!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 8
(3,319 Views)

2-when i have two measures, after finishing the first one and begining to do the second, the numbers are not deleted and the count continues from where the first measure ended (see XXX)
 
hi everyone
 
Mike thank you for your reply

I succeeded to resolve thes problems i had by doing some changes in the program but I have now 2 new Problems
 
1) when I do the Mesurement and I save the Result , instead of having the number one on the measure i have the number one in the Title (see XX)
 
2) when I have two measures, after finishing the first one and begining to do the second the OLD NR. won't be replaced  with the new one on the contrary they will be added to the OLD (see XXX)
 
anyone have  an Ídea on how to solve the Problem 
 

Thank you in Advance
Download All
0 Kudos
Message 4 of 8
(3,287 Views)

Hi dctoni,

the first point is, that you have to initialize the shift register. And to solve the second point you can add an empty element to the 2D Array.

I changed this points in your example and place all functions to create the file outside the while loop.

See the example.

Mike



Message Edited by MikeS81 on 02-19-2008 06:01 AM
0 Kudos
Message 5 of 8
(3,274 Views)
thx a lot Mike
 
can you plz make a screen shot of the LV and show me whith red circle where is the shift register that u initialized
 
thanks again
0 Kudos
Message 6 of 8
(3,263 Views)
Hi Toni,

you find the SR and it's initialization (with empty array) in the lower left corner of the while loop!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 8
(3,259 Views)
ah ok
 
thank you
0 Kudos
Message 8 of 8
(3,257 Views)