LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question (table)

Hallo
 
I need a favor if some body know how to put the name of the choosen Axes in 1 st row (header) and the number of steps in 1 st column (header), there are 4 axis (X-Y-Z-W).
I can write the name of the axis manual but that is not a solution coz  I have to do a lot of tests and each time I have to start with a new axis 
 please see attachment
thnak you in advance
TOni 
0 Kudos
Message 1 of 12
(3,467 Views)

Hi,

You have the Table property node for that. See the vi in attach

Software developer
www.mcm-electronics.com





PORTUGAL
Message 2 of 12
(3,449 Views)
Have you tried using a property node? Right click on the table on the front panel>>create>>property node>>column headers[ ].
Once created change it to write by right clicking on it.  You can then wire any string you want to the property node for the column header.

Vikas

There goes the solution by Jorge.. Smiley Wink


Message Edited by Vikas K on 04-01-2008 08:50 AM
Message 3 of 12
(3,447 Views)

Thanks guys for the reply

Jorge in your code , I have to write the name of the headers and that's exactly what I want to avoid it , coz  like I said , I am working with Axis and each Axes has a name and I am not always beginning my tests with the same Axes.

e.g if i choose X-Axis the first and than Y-Axis so I  expect to see instead Col1  X-Axis and instead Col2 Y-Axis and instead header1&2 the Nr. 1 & 2 (see attachment please)

 

 

0 Kudos
Message 4 of 12
(3,429 Views)
Hi, Sorry but i can't understand what you want.
 
You want to fill the header for the col and row programatically? When? only at start?
 
Where do you have the information for the header of the col?
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 5 of 12
(3,422 Views)
You want to fill the header for the col and row programatically?
 
yes, programatically
in the header row I would like to put the name of the selected axes. and in the 1st column(header) the number of measurments (steps) ( like in  Mappe1 .xls)
 
When? only at start?
 
yes.
I have to do many  tests and each time i have to select different axes..
 
Where do you have the information for the header of the col?
 
at the beginning I select the name of the axes, and here is the problem, I don't know how can I connect this with the header of the column.
That's why i need  the Help from a profi
 
see please the Pic maybe it helps you to understand what I want 
 
Thank you 
Toni
 
0 Kudos
Message 6 of 12
(3,396 Views)

Hi Toni,

I think what you re asking is not about headers, but writing those data into the corresponding columns of the table.

A table is a fancy 2D Str Arr, thats all. Everything remains similar to that. Smiley Wink

So, what you ve to do is just build those data elements into an array & convert it into an array of fractional strings using any of the functions in the Strings--> Conversion palette, and then write it into the 1st row of the3 table, thats it. Smiley Happy

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 7 of 12
(3,392 Views)
Hi Partha
 
thank you for the information . Would you please give a small e.g to know how should i do it
Thank you in advance
TOni
0 Kudos
Message 8 of 12
(3,387 Views)
See the attached VI.
- Partha ( CLD until Oct 2027 🙂 )
Message 9 of 12
(3,384 Views)
Sorry for the updation.
- Partha ( CLD until Oct 2027 🙂 )
Message 10 of 12
(3,378 Views)