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.
04-10-2014 03:40 PM
Hi
as you see when i enter data i don't see them once in the table in the server..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
04-10-2014 06:08 PM - edited 04-10-2014 06:18 PM
If you have a fixed number of clients, initialize a 2D array of the correct size in the shift regsiter, and then use "replace array subset" to substitute new data in the right row depending on the client.
04-10-2014 08:20 PM - edited 04-10-2014 08:21 PM
if we consider that i have 2 clients.could you modify the vi,or just a printscreen of what i have exactly to do .i'm really confused about the fixation of the number of clients and removing the cluster that is just indicator
04-11-2014 12:14 AM
@achfire wrote:
... and removing the cluster that is just indicator
Just select it and press delete. Right?
How does the program know what client sent the data?
04-11-2014 03:50 AM
yes thanks
i think that i have to duplicate the code using a different address dstp
if you have any suggestion to optimize the code,i'll be glad to hear it
04-21-2014 10:32 PM
i still didn't get any result ,i don't know what to do to get result stocked in the 2nd row then 3rd one and so on
what i have to modify in the block diagram below
04-21-2014 11:29 PM
You still have complete misunderstanding of dataflow. Even if these controls change, they will never get read by the code except at program start. If the controls should be read regularly, they belong inside the loop!
Apparently you now use databinding to update the controls. Here's how the code would look like after a minor cleanup. see if this works for you. It still requres a lot of cleanup and finetuning.
04-22-2014 06:17 PM
no no i get the point,i understand that they belong inside the loop.by the way you are a great master of cleaning VIs
but i still have the same problem,the 2nd data replaces the 1st one.that's the main problem
04-22-2014 10:21 PM
It does?
What I see is the first set of data replacing the first row.
The second set of data (a cluster) replacing the second row.
The thrid set of data (also a cluster) replacing the third row.
04-23-2014 03:32 AM
yes it does,i'm talking just about the 1st set of data,because normally other clusters are for other clients.the 1st set of data is for one client but whenever the user changes,the new one will enter new data but i don't want that it remplaces the 1st one.if there is any way to stock each data so i don't lose the old one