06-23-2015 01:38 AM
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
06-23-2015 02:51 AM
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
06-23-2015 03:02 AM
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?
06-23-2015 03:17 AM
06-23-2015 03:36 AM
i think i just clear the indicator , gonna searc then how i can reset evrything in the wires
06-23-2015 03:46 AM
Use one more event to clear the data.
Drag and drop this snippet on LabVIEW block digagram window to get the code.
06-23-2015 04:46 AM
strange things happens now 🙂 here is what i did
06-23-2015 04:48 AM
06-23-2015 06:13 AM
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
06-23-2015 07:00 AM
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).