From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-06-2014 05:44 AM
What to do to delete historical data from a table.even when i turn of clients,and i re start the server,in the table the last value entered in a client showed up
05-06-2014 07:16 AM - edited 05-06-2014 07:17 AM
Dear achfire,
try
Select the Table (in Front Panel) -> Data operation > Empty table, then
Select the Table (in Front Panel) -> Data operation > Make current value default
Cheers,
Note1: you do not need the for-loo named "Maybe data beyond first column". Remove it. The "equal" and "all" will adjust accordingly.
Note2: do not (over-)use local variables. Just wire the i variable of the for-loop to the "NrOrdreSuivant" through the wall of the case-structure.
05-06-2014 07:46 AM
thanks for the advice
about your solution i already used it,but it doesn't give me any result.the moment i run the Vi i get data in 6eme row(the last data i entered in a client),it doesn't matter which row but one row show up filled with data.
maybe some invoke node or spmething else i don't know,i think it's a shared variable problem
05-06-2014 08:14 AM
05-06-2014 08:38 AM
what to do to avoid that
05-06-2014 08:41 AM
I never used that feature on my own, but I guess you can read values by direct access to the shared variable engine (SVE).
Then you would also gain access to a timestamp telling you the time the data was created and so you may differ between old and new data…
05-06-2014 02:12 PM
@achfire wrote:
What to do to delete historical data from a table.even when i turn of clients,and i re start the server,in the table the last value entered in a client showed up
Your Vi is full of race conditions because of local variable misuse. Fix that first.
05-06-2014 02:22 PM
@altenbach wrote:
@achfire wrote:
What to do to delete historical data from a table.even when i turn of clients,and i re start the server,in the table the last value entered in a client showed up
Your Vi is full of race conditions because of local variable misuse. Fix that first.
Achfire:
I told you about the local variable problem yesterday. http://forums.ni.com/t5/LabVIEW/check-if-a-row-is-empty-in-a-table-using-shared-variable/m-p/2837632... How come you haven't fixed that yet?
05-06-2014 02:32 PM
You also need to stop writing to indicators and their local variables in parallel. Both operations are equivalent so only writing to the terminal is all you need. Obviously you don't fully understand what a local variable is.
Before continuing with this project, you need to complete all LabVIEW tutorials first (e.g. here). Your current state of training is not suitable for what you are trying to do.
05-06-2014 03:04 PM
thanks;i'll try your advices
unfortunately;i don't have time to check thoses tutorials,because i have to complete the project quickly.it's a race condition