LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

table

Solved!
Go to solution

this is what a made now but does not work only the first time the 2 data a written to the table

in the next row they appaer but when i click the always override the second row

sry for the stupid questions

0 Kudos
Message 11 of 38
(1,982 Views)

tried now this and it works fine, the data comes each time when i pusch the add button,

but when ido empty table the table is cleared, but when i press the add button the previous dat appaers

normally i should start again from row 1 why looks the table empty and is not ?

in table property's i set empty table and reinitialse to default value.

would be greta i someone could help

0 Kudos
Message 12 of 38
(1,962 Views)

Hi drek,

 

normally i should start again from row 1 why looks the table empty and is not ?

in table property's i set empty table and reinitialse to default value.

THINK DATAFLOW!

 

The table is just an indicator. The data is stored in wires and shift registers.

So did you really delete the data (in the wire) or did you just clear the indicator?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 38
(1,948 Views)
And put the Add button where it belongs - inside the event.
0 Kudos
Message 14 of 38
(1,942 Views)

i think i just clear the indicator , gonna searc then how i can reset evrything in the wires

0 Kudos
Message 15 of 38
(1,927 Views)

Use one more event to clear the data.

 

Clear Data.png

 

Drag and drop this snippet on LabVIEW block digagram window to get the code.

Munna
0 Kudos
Message 16 of 38
(1,932 Views)

strange things happens now 🙂 here is what i did

Download All
0 Kudos
Message 17 of 38
(1,917 Views)

Hi drek,

 

what is "strange"? What happens at all?

Why don't you attach the VI? Why do you attach just images?

 

What is displayed in the table?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 38
(1,912 Views)

the data jumps each time to a different place, i can clear the table with the button but still the previous data appears,

forgot to attach the vi 🙂 so here he is 

 

0 Kudos
Message 19 of 38
(1,891 Views)

1. You have multiple shift registers on top of each other.  That could make things interesting.

2. You do not need to have waits inside of your event cases.

3. Do you really want your loop to stop when you add an item to the table?  You probably want a stop button for stopping your loop.

4. Do not use switches for commands.  Use buttons (like the OK button).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 20 of 38
(1,880 Views)