07-20-2012 12:47 AM
I have a VI which performs some calculations and gives the answers and logs the answer in an excel file in the same computer.
Now if I want to log those answers in an excel file in another or rather a Server or main computer, what can I do? How can it be done?
There might be 'N' number of clients or user who will be performing the experiment and will log there answer sheets in the Main computer.
Solved! Go to Solution.
07-20-2012 01:19 AM
Hi Sunny,
You can Use TCP.Have a look at the TCP/IP examples shipped with labview.In the N number of systems you just provide the IP address of the system where the server VI is residing.
Hope this helps.
07-23-2012 12:14 AM
Hi Danil
Attached is a simple VI to write some values in the excel sheet when you press the submit button.
Now when submit button is pressed it should log the data in an excel file in other PC.
How to work with Tcp/Ip for this.
07-23-2012 12:40 AM
Hi Sunny,
See the simple Data Client.vi and Simple Data Server.vi Examples shipped with LV2011.And simply try it with your VI.It will work.
07-23-2012 02:28 AM
Sorry for the trouble but Danil can you explain it with the example given above?
07-23-2012 02:59 AM
@Sunny1290 wrote:
I have a VI which performs some calculations and gives the answers and logs the answer in an excel file in the same computer.
Now if I want to log those answers in an excel file in another or rather a Server or main computer, what can I do? How can it be done?
There might be 'N' number of clients or user who will be performing the experiment and will log there answer sheets in the Main computer.
The easiest is to save the file to a network drive, better to add some client info in filename so they save to separate files, or added to each row if using a common file.
Apart from that you can push results to a common database, or use TCP/IP to send it, as mentioned, and have 1 computer listen and write all results.
/Y
07-27-2012 01:57 AM
Thanks Yamaeda