Second Opinion on RS232 Pinouts
cheekytigerapps
Posts: 37
I am connecting a device with a very non-standard serial pin out. I have included it below. Based on the NI serial ports I have come up with a pinout. I am wondering if this will be correct.
http://s29.postimg.org/d9748zjpz/LEAFRS232.png
My Pinout
http://s29.postimg.org/d9748zjpz/LEAFRS232.png
My Pinout
0
Comments
Don't use 7 & 8.
The funny thing is thay have Control4, Cre$tron and RTI modules/drivers but nothing for AMX.
AMX can do whatever any of those other guys can do and AMX does it better. Don’t let anyone tell you otherwise.
Could someone create a sample command for me based on this information Leaf emailed me so that I can test it out as I think I am not formating it correctly.
I can't speak to the formatting but whenever I see the TX/RX light up simultaneously its usually because of a loopback in the wiring. The command is going out but then looping back around into RX. Make sure no wires are connected but 2, 3, 5 if that isn't the case.
Paul
Following up on what Paul said: Unplug the cable from the Leaf side. If you still get RX when you TX then you know for sure you have a short. I’ve seen that happen plenty of times. You can also turn on Notifications and see if you’re getting an echo. Or maybe the RX is a just hair after the TX and what you are seeing is a valid. Maybe the response is just quick. You really need a copy of the protocol to know for sure.
Also, make sure you are setting the baud rate in the data_event and not define_start. You can do a GET BAUD to confirm that the baud rate is correct.
https://dl.dropboxusercontent.com/u/60305083/interface_spec_140510_09.pdf
Also I never knew about doing baud as a DATA_EVENT
I made a mistake I was using SEND_COMMAND not SEND_STRING.
I was in a hurry when i made my the program.
That's why I always ask people to post their code if they want help.
Paul