Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

show the text file on the server's pc when meet some situation at client's pc.

Client is mainly for generating the continuos value and then the value will save it in a text file. In the text file itself cantain the basic informatonof the client like 'name' , 'address' and so on. The text file will be save at the server side. My question is that how to show the text file in one go when the client's pc meet some mistake. how to program in that manner?
0 Kudos
Message 1 of 4
(3,175 Views)
Hi,

I'm not sure how the hole system will work here, however I feel that DataSocket can give you a hand here. You can open a DataSocket connection and start sending status messages, so when the client makes some mistake this status messages are stoped and the server can then open the required file.

You could also use DataSocket together with a simple ftp server. You could use ftp as a way to share the files between the server and client. You can have the client save the files in a folder that the ftp server makes public and then have the server connect to the ftp site to retrive the data when the status messages indicate it.

Just my 2 cents, I hope it helps.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 4
(3,175 Views)
Hi,
Thanks for reply.
Im curious on how to start the DataSocket with a simple ftp server? For now, my system is a SDI application to develop a Temperature System. In this system, I'll set the temperature limit. When the system temperature over the limit, the system will save it into a text file. Mean while, this text file wil be hsown up at the server pc. Do i need to install the measurement studio in both pc? and how to start this sytem started from the data socket?
I really need help cause im running out of time..
thanks
0 Kudos
Message 3 of 4
(3,175 Views)
Hi,

You need to have some sort of client application running in the computer where you want to show that information; however you don't need MStudio, you can just create an intaller with the components that you use and installe it in the client computer.

The idea of the ftp server will help you transfer files from 1 computer to the other, but it will not allow you to open up the text file, for that you need some sort of clien application waiting for the server app to send the command to open the file.

Good Luck.

Juan Carlos
0 Kudos
Message 4 of 4
(3,175 Views)