Products > CueCore, QuadCore, IoCore, TimeCore & B-Station
Control Christie projector and Atlona switch with RS232 IoCore
Dennis_mav:
Hello,
I want to control a Christie projector and an Atlona video switch using RS232 with an IoCore, I've been trying a lot, but it doesn't work.
What I have:
Visual Productions IoCore2
Atlona SW-52ED 4K/UHD Five-Input HDMI Switcher
Christie DWU599-GS projector
I've been testing the devices separately from each other by wiring the RX to the TX port en the TX to the RX port. And off coarse the ground to the ground.
The settings in every device are the same:
Serial Port Baud Rate: 115200
Serial Port Echo: off
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
For example I'm sending the following messages from the IoCore:
RS232, Send String, Set
To the projector:
Param1: (PWR 1)
Param2: 5
(what does Param2 do?)
To the switch:
Param1: PWON
Param2: 4
In the IoCore monitor I see the command has been send, but the projector as well the switch won't respond on my actions.
Do I need to send an start command, or maybe I've to separate it in more than one command?
In the attachment you can find the documents off the projector and switch.
What am i doing wrong? Can someone please help me!
Guido Visser:
Hello Dennis,
About the projector message.
I think the message that is send to the projector may not work because of param2. Which indicates the number of characters to send. The message you want to send to the projector is "(PWR 1)". Which has 7 characters. Count the brackets and the space as well. Could you try to change param 2 from 5 to 7.
About the switch.
When reading the manual it seems that all commands have to end with Carriage return.
The carriage return is not automatically added to end of a message. You will have tell the IoCore2 to send the carriage return. You can do this in two ways.
The first option is to add a second task which sends the carriage return.
Task 1: RS-232 -> Send String -> Set -> PWON -> 4
Task 2: RS-232 -> Send Bytes -> Set -> 0D0A -> 2
The two tasks should both be in the same action.
The second option is to combine the two tasks into one task:
Task: RS-232 -> Send Bytes -> Set -> 50574F4E0D0A -> 6
I have translated the message PWON (the ascii text) to hexadecimal which the task send bytes uses.
And then i have appended the carriage return.
Please let me know if this works.
Best regards,
Guido
Dennis_mav:
Thank you Guido.
Nothing of this works.
It looks like the IoCore isn't sending the right commands or it will not reach the devices.
I've tested with Send Bytes in one Hex string, I've separated the command ( PWON / 50574F4E ) and the Carriage return ( CRLF / 0D0A ) in two tasks.
In the attachment you see the output message window. The 0D0A is displayed as "??" Is that normal?
I've tested the switcher to the projector with RS232, that works a bit. But if I can't reach the switcher with RS232 I also can't reach the projector.
Maybe you have soms other things to try?
Dennis_mav:
I've been sending the command (PWR 1) (and many others) from the IoCore (see the attachment) to the software 232Analyzer.
In the other attachment you see the result of the information the software is receiving.
I also tested to send the commands from the software to the projector and switcher. This is working.
The projector as well the switcher is going on and off.
So I think the problem will be in the IoCore.
Guido Visser:
Hello Dennis,
The monitor page can not show all characters. If there are characters it can not show it will replace them with a ?.
However I have been testing it. And I found that there is a bug in the IoCore2 firmware which causes the baud rate 115200 to not work. I will update you when the update is ready.
Best regards,
Guido
Navigation
[0] Message Index
[#] Next page
Go to full version