LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

table

I am quite new in LABVIEW, I am trying to build a table which will be filled with data appended from a chip, in fact I want to read the contain of the hole memory in the chip which contains 80x8 bits data register.The table should contain 4 columns and 80 rows (adress, value in HEX, value in BIN, value in DEC), I dont know how to insert columns which will contains respectively the values in HEX, BIN and DEC?
Thanks a lot for the help.
0 Kudos
Message 1 of 13
(4,149 Views)
Hi Benio

The Table just can be filled with string-values. So you have to convert your values into strings, what shouldn't be a problem.
With these converted strings you can build an array and wire it to the table.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 13
(4,139 Views)
For a newbie, this might be a little difficult, especially converting a number into an 8 bit binary string. So here is a vi that does it all.
- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 13
(4,122 Views)
For a newbie, this might be a little difficult, especially converting a number into an 8 bit binary string. So here is a vi that does it all.
- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 13
(4,121 Views)
Really thank you very much guys, this will help me to go ahead with my program.
Cheers
0 Kudos
Message 5 of 13
(4,113 Views)
Hi tbob,hi guys
I have implemented the example in my program it is working perfectly but I couldn't succeed to send the table contain to excell sheet I have tried to sue the example from labview(write table to xls.vi) I have always error code 1 incorrect function in Set Cell value.vi,
do you know how can I solve the problem?

Thx
0 Kudos
Message 6 of 13
(4,097 Views)
I've never used Excel with Labview but if you post your code, or the part you are having problems with, someone here may be able to help.
- tbob

Inventor of the WORM Global
0 Kudos
Message 7 of 13
(4,086 Views)
Guys,
Does anybody know how to clear a table after filling it? I have a problem with my program when I am trying to fill my table for a second time with new acquired data the first row value is the the same as the previous value from first acquisition but if I redo a new acquisition it is correct, I suppose that the table values must be reseted to fill it agin with new values?
Any suggestion guys?
0 Kudos
Message 8 of 13
(4,058 Views)
Benio,

All you have to do to clear the table programmatically is wire an empty 2D string array into the table terminal (see attached picture). This works because the table is just a 2D string array with some additional meta information, as far as LabVIEW is concerned.

Take care,
John
0 Kudos
Message 9 of 13
(4,048 Views)

Hi,

I am new to LabView and am trying to clear out a table for each new acquisition of data. In searching this forum for "clearing a table" I saw Jonner's post to Benio ("re. Table"):

"All you have to do to clear the table programmatically is wire an empty 2D string array into the table terminal (see attached picture). This works because the table is just a 2D string array with some additional meta information, as far as LabVIEW is concerned."

However, that only clears the data shown in the table on the screen. When I get a new run of data, the old data in the table pops back there, and the new data is appended to the bottom of the table.

Does anyone know how to do this? (Even NI tech support was struggling with this.) Thanks.

(Also, I really don't want to loop 1000 times, but could not figure out how to (what property node to use) determine how many cells in the table are populated. The rows and columns properties just returns the number of *visible" rows and columns, not how many are actually in the table. Any ideas? Thanks again.)

Ed

0 Kudos
Message 10 of 13
(3,657 Views)