04-07-2014 10:26 PM
Hi ,i really don't know how to resolve this problem.i want to link datasocket read to a table in order to get my data stocked in this table
04-07-2014 10:38 PM
04-07-2014 10:49 PM
thanks for your answer i want to enter data "numero simulateur-candidat-numero du candidat"in a vi called "emetteur. vi" and then get them in a table in "recepteur.vi" using datasocket.the problem is that i don't know how to remove the error that i talked about in the 1st post.
.for the vi below launch ds server to get it you have just to open find examples in labview and in earch for datasocket then open the example"DS reader"and just copy past the icon of the vi below
04-08-2014 05:31 PM
The problem is that you were trying to read a single string from your data, and connect it to a table that only accepts a 2d array of strings. You either need to tell your data reader that it's reading an array of strings, as shown below, or read your data, and then put it into a 2d array.
04-08-2014 06:57 PM
i tried your solution but i don't get data in the table.i figured a new way to do it.
the only problem i have is when i enter the 2nd data i lose the 1st one like if i coudn't stock anything in my table
04-08-2014 07:00 PM
You need to build your table in a shift register. There are plenty of examples in the forum.
Please attach your actual code (not pictures!) if you want moe detailed help.
04-08-2014 07:00 PM
Question moved to new thread here.
http://forums.ni.com/t5/LabVIEW/when-i-enter-the-2nd-data-it-replaces-the-1st-one/td-p/2809444