LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Printing 2d array in Table indicator

Hi, I am beginner in LabView. Please help me!

 

I have 3 values in event structure (triggered by a button press). I want to show them in a table indicator. Every time the event is triggered it should append in the table.

Table indictor wants 2d array and i am not able to make one without a loop. 

0 Kudos
Message 1 of 4
(972 Views)

Hi the Table is a 2D array of string, you need to convert hte numbers to String . I used a Property node "Value" from Table control  to read the current 2d array and append the latest 1D array from the controls on your front panel and write back into the Table control

 

LVNinja_0-1685818251240.png

 

LVNinja_1-1685818288336.png

 

 

0 Kudos
Message 2 of 4
(926 Views)
  • Your table should be an indicator, not a control.
  • Just keep the table data in a shift register and update accordingly.
  • None of your local variables are needed.
  • Terminals of latch action booleans should be inside their respective event case
  • There is no need for a timeout event.
  • Your chart should be an xy graph.
0 Kudos
Message 3 of 4
(910 Views)

See if this can give you some ideas...

 

altenbach_0-1685823751454.png

 

0 Kudos
Message 4 of 4
(904 Views)