LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clarification Needed regarding Serial Port and TCP / IP port of communication between host and RT.

Hi  -  My requirement is to use the serial port of communication (RS232) between Host and RT , if the TCP / IP communication fails and need to keep on searching for TCP / IP communication establishment , if the connection has been established using TCP /IP then I don't bother about serial port communication , but when ever it fails , I need to immediately switch over to serial port communication with out any delay.

 
So in this point of time , I need to build the logic to implement the above said features. and also my question here is , whether the serial port communication would accommodate large amount of data transfer??
 
Please suggest me on the above points regards and do the needful at the earliest.
 
Thanks and Regards,
Dinesh
0 Kudos
Message 1 of 7
(4,177 Views)

You are mixing up categories here. A serial port (RS232) is a hardware device, whereas TCP/IP is a protocol, whose data transfer speed depends on the hardware layer it uses.

Typically you can achieve 115 kbit/s with RS232 and 100 Mbit / s with a LAN cable. So that is a factor of 1000. You can realize TCP /IP on a serial link as well.

 

Cheers

Edgar

0 Kudos
Message 2 of 7
(4,176 Views)

Hi - Thanks for your reply , I meant to say that , I need to use both way (RT to Host and Vice Versa) data transfer using both ways (TCP/IP and Serial Port - RS232). In this logic , I need to know , how can I accomodate the logic that is used for acquring datas through tcp/ip and if it fails ,immediately I need to switch over to serial port.

 

Here my doubt is , Suppose controller is connected with both ethernet cable as well as serial cable , when I disconnect the ethernet cable , the data should continuosly transfer through serial port cable. But it seems it not applicable to do so.

 

How can I accomplish the above said logic . Please suggest me to some good points to start up this task.

 

Please do the needful.

 

Thanks and Regards,

Dinesh

0 Kudos
Message 3 of 7
(4,170 Views)

The easiest thing might be to send the data through both connections in parallel all the time. But you have to check whether RS232 is fast enough for your application

0 Kudos
Message 4 of 7
(4,161 Views)

Hi - Thanks for your reply. Can I get me the startup code for sending / receiving the data's in parallel all the time through both RS232 and TCP/IP connections? and let me know, what would happen if the TCP/IP connection fails?

 

Awaiting your reply.

 

Thanks and Regards,

Dinesh

0 Kudos
Message 5 of 7
(4,141 Views)

Is there any updates on this please?

 

Regards,

Dinesh

0 Kudos
Message 6 of 7
(4,115 Views)

Dineshniot,

 

we are offering diverse professional programming services. If you want us to do the work for you we can provide a project proposal including budget and timeline. We need more details on the task though.

 

Cheers

Edgar

0 Kudos
Message 7 of 7
(4,108 Views)