LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fake COM1 data

Hej,

I ahve a laptop. It has (as normally has only 1 COM port).

I have a Labview code getting the data from a text file and sending from
one comport and to another, and I have the cable for that. This works
good if I have a computer next two my laptop or if I have a desktop
computer with 2 com ports.

But, as I said, it does not on a single com port laptop.

Does anyone has an idea to do this simulation with a laptop which has
only 1 com port?


Thanks
0 Kudos
Message 1 of 4
(2,845 Views)
Hi,
to do it you need a "serial loopback plug". This plug conects some COM port pins in a way which allows you to send data to this port and read them using the same port. Actually this is the loop which connects "receive" and "transmit" carriers of the same port. Such loops are usually used for port testing.
You can buy this loop somewhere or you can make it yourself. Read more about loopback and how to make it here. Also there are many other places in internet where oyu can find information.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 4
(2,845 Views)
Does anyone know where to buy this in Denmark?

[Just giving it a try]

🙂


Oleg wrote:
> Hi,
> to do it you need a "serial loopback plug". This plug conects some COM
> port pins in a way which allows you to send data to this port and read
> them using the same port. Actually this is the loop which connects
> "receive" and "transmit" carriers of the same port. Such loops are
> usually used for port testing.
> You can buy this loop somewhere or you can make it yourself. Read more
> about loopback and how to make it
> HREF="http://www.passmark.com/support/loopback.htm">here
. Also
> there are many other places in internet where oyu can find
> information.
>
> Good luck.
>
> Oleg Chutko.
0 Kudos
Message 3 of 4
(2,845 Views)
Volvo JazzHouse wrote:
> Does anyone know where to buy this in Denmark?

Do you know where the hot side of a solder iron is? 😉 If so it's quite
simple to create such a plug yourself by connecting pin 2 and 3 on a
spare connector together. If you do not need to use handshaking that is
all which is needed.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 4
(2,845 Views)