Newbie Question - Serial Port to AMX Wiring
Krobar
Junior Member
in AMX Hardware
Hi everyone,
I have used the 9 pin 2 way ports sucessfully in the past but have not managed to get 1 way rs232 on a bare wire port working (I'm using an NI2100 connecting to a Lumagen HDP video processor).
I think I have set the port corectly:
Line 3 (23:03:20):: Command To [5001:7:1]-[GET BAUD]
Line 4 (23:03:20):: String From [5001:7:1]-[PORT 7,9600,N,8,1]
Line 5 (23:03:41):: Command To [5001:7:1]-[GET MODE]
Line 6 (23:03:41):: String From [5001:7:1]-[PORT 7 SERIAL,CARRIER,IO LINK 0]
I wired negative to Pin 5 (Ground) and positive to Pin 2 (Receive) but the device does not respond. It works fine on a 2 way port with 9pin serial cable that came with it. With LEDs enabled, the IR port light does not flash either although I do get the notification of data being sent to the port as expected.
I have used the 9 pin 2 way ports sucessfully in the past but have not managed to get 1 way rs232 on a bare wire port working (I'm using an NI2100 connecting to a Lumagen HDP video processor).
I think I have set the port corectly:
Line 3 (23:03:20):: Command To [5001:7:1]-[GET BAUD]
Line 4 (23:03:20):: String From [5001:7:1]-[PORT 7,9600,N,8,1]
Line 5 (23:03:41):: Command To [5001:7:1]-[GET MODE]
Line 6 (23:03:41):: String From [5001:7:1]-[PORT 7 SERIAL,CARRIER,IO LINK 0]
I wired negative to Pin 5 (Ground) and positive to Pin 2 (Receive) but the device does not respond. It works fine on a 2 way port with 9pin serial cable that came with it. With LEDs enabled, the IR port light does not flash either although I do get the notification of data being sent to the port as expected.
Comments
-
The port must be set to DATA instead of SERIAL.
SERIAL is wired infrared (i.e. Sony Control-S, Barco) -
Thanks Marc, I set it to data and all works fine.

I have a completely unrelated question but I'm sure it would be easy for most people here. I'm trying to use Find_String to find a End Of File character(ASCII Code 1A), I have tried the code below but it doesnt work:
X = FIND_STRING(PREPROCONTENTS,$1A, 1)
Is it possible to use Find_String to find Line Feeds, Carriage Returns etc? -
I'm trying to use Find_String to find a End Of File character(ASCII Code 1A), I have tried the code below but it doesnt work:
X = FIND_STRING(PREPROCONTENTS,$1A, 1)
Change this:
X = FIND_STRING(PREPROCONTENTS,$1A, 1)
To this:
X = FIND_STRING(PREPROCONTENTS,"$1A", 1)
You need the double quotes to satisfy the string requirement. -
Thanks Joe,
I've managed my first RS232 control loop
(It copies each command in turn from a variable that cloned the buffer and then runs conditionals on it to see what to do)
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums