How can I write to the memory address(es) of a serial COM port? I would like to send data from one serial COM port to another in a manner similar to the that of the 'Simple Data Client' and 'Simple Data Server' vi examples. This must sound strange since this is exactly what a null modem cable will do, externally. I would like to eliminate the cable connection between COM ports that exsit in the same PC and communicate between them, internal to the PC, somehow.
Currently, I am using a LabVIEW vi to read a serial message on COM1, translate it, send the trsanslation out on COM2, so that a separate windows program (no .DLLs to interface with LabVIEW) can read the message on COM 3. COM 2 and COM 3 are connected by a null-modem cable. This requires three COM ports, and two serial cables. I realize that I can use a physical loop-back jumper on COM2, for instance, where I send and read the translated message on COM2, but I still wonder if there is a method for doing this in memory, or something. Is there a way to accomplish the same objective with one cable (into COM1), no loop-back jumpers, and only two serial ports? In summary, I want to read on COM 1, translate in LabVIEW, then write directly to another COM port, internally, without using a serial cable. Can the 'IN PORT' or 'OUT PORT' vi's apply here? Are these tools only for parallel ports?
Hope this is not too confusing.... It seems like I am always trying to do something with LabVIEW that was not meant to be done....
Thanks.