Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   how to avoid getting the same data continuously (http://www.chiefdelphi.com/forums/showthread.php?t=129026)

achfire 22-04-2014 22:37

how to avoid getting the same data continuously
 
as you see when i enter the 2nd data it remplaces the 1st one ..if you can tell me what to do to see just data that i enter in the client,and the 2nd data in the 2nd row and so on.

thanks a lot

here is the blockdiagram of the client where i can see the result in a table

Greg McKaskle 27-04-2014 18:37

Re: how to avoid getting the same data continuously
 
I'm not certain I know exactly what you are going for, but the key concept is that the table itself doesn't append data. That means the diagram needs to append new data to the older data.

The typical approach is to use a shift register or feedback node to keep the table. Then you have an event or button to add the new row and update the table. It is also possible to use the table itself to store the data. I can't post code at the moment, but I'll try to do it a bit later.

Greg Mckaskle

achfire 27-04-2014 19:11

Re: how to avoid getting the same data continuously
 
thanks ,i'll try ur solution


All times are GMT -5. The time now is 08:57.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi