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.
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.
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.
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.![]()
Sorry for the trouble but Danil can you explain it with the example given above?
@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
Thanks Yamaeda