LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview, data socket, over phone line

I'm trying to use Labview with data socket to control a computer in a remote location. The only available comm method is over the phone line (approx 11kbps to 22kbps). The data being sent is string data only, and works perfectly when using over an ethernet (PC to PC). Even over the phone line, it works OK, though it takes about a minute to sync up and exchange data in (seemingly) real time. The problem is when the client computer closes the application sending or recieving data from the host (server) computer. The Data socket server (running on host computer) locks up. The host computer is running XP pro, with labview 7.0 run time engine. Data Socket is installed with the run time engine. Has anyone else done anything like th
is, or had (or not) the same problem?

Thanks
Andy Curda
American Superconductor
0 Kudos
Message 1 of 3
(2,698 Views)
Hi Andy,

DataSocket does some connection management before transferring data. Using TCP/IP instead of DataSocket might reduce the synch time.

As for the DS server locking up, see if you notice any change in behavior when you decrease the time-out value on the Create Listerner function of the Server VI. Also make sure that you are closing your DataSocket connections in both the Server and Client VIs after the data transfer.

Regards,
Ankita A.
0 Kudos
Message 2 of 3
(2,698 Views)
Thanks for the reply Ankita,
I'll have some more on this next week, I'm on the road right now (actually at the job site).


Andy
0 Kudos
Message 3 of 3
(2,698 Views)