LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Send ASCII File over TCP/IP

I want to send a complete ascii-file over tcp/ip from one application to another. Is this possible in CVI 6.0?
0 Kudos
Message 1 of 6
(4,550 Views)
Isn't FTP already does that? Why re-invent.

stke wrote:
> I want to send a complete ascii-file over tcp/ip from one application
> to another. Is this possible in CVI 6.0?
0 Kudos
Message 2 of 6
(4,550 Views)

Hi stke,

These are a few documents and examples of how to create Client/Server TCP connections.

Also, you could try using the DataSocket technology that is provided. Here is an overview of DataSocket.

Hope this helps! Good Luck!

Jeremy L.
National Instruments

Jeremy L.
National Instruments
0 Kudos
Message 3 of 6
(4,550 Views)
Hi Jeremy L,

thank you for your answer, but i know these examples. We have already applications which sends strings from one to another. Now the requirements for these applications have been extended and we have to send an ascii file from one to the other application. I have tried to implement this, but I always got an error when sending from the server to the client. Now I look for an example where this task is solved.
0 Kudos
Message 4 of 6
(4,550 Views)

Hi stke,

I found an example of how to send ASCII text files over Datasocket. Hopefully this is what you are looking for. Also, what error are you getting when you attempt to send from server to client? Maybe we can figure out what's going wrong from that error code. Thanks!

Jeremy L.
National Instruments

Jeremy L.
National Instruments
0 Kudos
Message 5 of 6
(4,550 Views)
Hi Jeremy L,

your answer was very helpful and solved my problem.
Thanks!
0 Kudos
Message 6 of 6
(4,550 Views)