取消
显示结果 
搜索替代 
您的意思是: 

how to avoid getting the same data continuously

Hi

23.png

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

0 项奖励
1 条消息(共 24 条)
4,716 次查看

continued from here

 

 

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.

 

 

2 条消息(共 24 条)
4,689 次查看

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

0 项奖励
3 条消息(共 24 条)
4,668 次查看

@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?

0 项奖励
4 条消息(共 24 条)
4,642 次查看

yes thanks

i think that i have to duplicate the code using a different address dstp5.png

if you have any suggestion to optimize the code,i'll be glad to hear it

0 项奖励
5 条消息(共 24 条)
4,623 次查看

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 on1.png

what i have to modify in the block diagram below

 

2.png

0 项奖励
6 条消息(共 24 条)
4,565 次查看

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.

7 条消息(共 24 条)
4,547 次查看

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

0 项奖励
8 条消息(共 24 条)
4,514 次查看

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.

0 项奖励
9 条消息(共 24 条)
4,498 次查看

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 one2.png

0 项奖励
10 条消息(共 24 条)
4,471 次查看