Discussion:
Question (table)
(too old to reply)
dctoni
2008-04-01 13:10:04 UTC
Permalink
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 


Unbenannt 11.vi:
http://forums.ni.com/attachments/ni/170/312704/1/Unbenannt 11.vi
Jorge Amaral
2008-04-01 14:10:05 UTC
Permalink
Hi,
You have the Table property node for that. See the vi in attach


Unbenannt%2011[1].vi:
http://forums.ni.com/attachments/ni/170/312719/1/Unbenannt%2011[1].vi
dctoni
2008-04-01 14:40:07 UTC
Permalink
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)
 
 


Mappe1.xls:
http://forums.ni.com/attachments/ni/170/312729/1/Mappe1.xls
Jorge Amaral
2008-04-01 15:10:05 UTC
Permalink
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?
dctoni
2008-04-02 08:40:10 UTC
Permalink
You want to fill the header for the col and row programatically? yes, programaticallyin 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 


Pic.JPG:
Loading Image...
parthabe
2008-04-02 09:10:07 UTC
Permalink
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. :smileywink:
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. :smileyhappy:
dctoni
2008-04-02 09:10:08 UTC
Permalink
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
parthabe
2008-04-02 09:40:07 UTC
Permalink
See the attached VI.


Build Table.vi:
http://forums.ni.com/attachments/ni/170/312969/1/Build Table.vi
parthabe
2008-04-02 09:40:10 UTC
Permalink
Sorry for the updation.


Append Table.vi:
http://forums.ni.com/attachments/ni/170/312976/1/Append Table.vi
dctoni
2008-04-02 12:40:09 UTC
Permalink
Hi Partha
 
thanks for the e.g . . I have work with your e.g and that of Jorge but still have a small Problem with the header column .
 
the Problem is that i can see just the last Nr. of the steps . what should i do to see all the Numbers.
 
Toni


Unbenannt 11[1].vi:
http://forums.ni.com/attachments/ni/170/313033/1/Unbenannt 11[1].vi
Vikas K
2008-04-01 14:10:05 UTC
Permalink
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.VikasThere goes the solution by Jorge.. :smileywink: Message Edited by Vikas K on 04-01-2008 08:50 AM
RPJ
2008-08-07 21:40:06 UTC
Permalink
Try this. It will at least give you an idea. The solution ads now numbers in the row headers. (I used LabView 8.5)


UnbenanntSuggestion.vi:
http://forums.ni.com/attachments/ni/170/347689/1/UnbenanntSuggestion.vi
Continue reading on narkive:
Loading...