pass serial data from one port to another
postich
Posts: 10
is there a built in way to pass data coming into one serial port on a master to another?
0
Comments
I have a Tandberg cam port connected to port 1 of the master and the camera on port 2. i want the Tandberg to think its connected to the camera so that it can control it and i also want to be able to control the camera directly
may, or may not, do what you want. I experimented with it a long time ago without success, but maybe that was just me.
Netlinx keyword help has this to say on the subject... but what dose it mean? That makes no sense.
Never tried it so I cannot tell you anything about it. Sounds like it should work, though.
Otherwise, capture the strings from the one device in a string event, then send the captured string out with a send_string to the other device.
redirect_string(1,5001:1:0,5001:2:0)
results in all strings "from" port 2 going "to" port 1 and visa versa.
Haven't experimented with various baud rates to see if it could be tripped up.
Here's a thread from a couple years ago that discusses redirect_string() and various other ideas about the question you are asking:
http://www.amxforums.com/search.php?searchid=255211
You mean this? Doing it yourself would give you a lot more flexibility. You could choose to disable/enable he feature as you need, modify strings if need be and you'd not have any issues if he baud rates needed to be different or some reason.
If I understand you correctly, cisco has a wire diagram of a Y cable that will allow that; the new c-20 codecs require this setup because they only have a single serial port and unless you're using ethernet control, you have to go this route or use the AMX to control your camera separate of codec.
Not sure if this is helping you, I didnt read the entire thread. Eitherway, knowledge for the furture.