Jump to content
C4 Forums | Control4

Key Digital KDHDMSW4x4X Serial not working *SOLVED*


nawty

Recommended Posts

Input 1/ output 1"SPO01SI01"

Input 2/ output 1"SPO02SI01"

Input 3/ output 1"SPO03SI01"

Input 4/ output 4"SPO04SI01"

http://www.keydigital.com/Downloads/KD-HDMSW4X4/KD-HDMSW4X4_Manual.pdf

Connection protocol is as follows:

»» Baud rate: 57,600

»» Data Bits: 8

»» Parity: None

»» Stop Bits: 1

»» Flow Control: None

»» Carriage Return: Required

»» Line Feed: Required

I have tried straight-cable, null modem cable and no luck.

It has IR but that defeats the purpose of even having RS232 available

Am I missing a carriage return? Line feed... where do I put these.

I have even tried to drop in another key digital piece and open it from the composer software.

It does not react..

Its killing me. and I just want to finish this weekend and make the wife happy.

I seem to suck at these drivers on my own system.

Link to comment
Share on other sites


Isn't there a driver for this already? I was using one in 2007 in 1.3.2 if I remember right.

You were doing HDMI switching in 2007.... damn cutting edge there....

:)

Tried these with the carriage return and line feed and nada :(

Even did both null modem and regular serial

Do I need to place this in there somehow?

<serialsettings>57600 8 none 1 none</serialsettings>

I already have created my own driver with all those settings.

Thanks for your help

Link to comment
Share on other sites

are you using the driver wizard ? Post what you have.

if you put this in for Input 1/ output 1 "SPO01SI01/r/n" in driver wizard, you should see a section like this in the .c4i

<serialdata>

<original>"SPO01SI01/r/n"</original>

<data>53 50 4f 30 31 53 49 30 31 0d 0a</data>

</serialdata>

Do you see this in the c4i ?

Link to comment
Share on other sites

No.... I just went into create new driver.....

Then into edit existing driver to make the changes.

I was just editing the serial codes on the macros for IN1 OUT1 etc.

Ive been lucky to use existing drivers and never had to get this in depth into it.

Link to comment
Share on other sites

edit the monoprice driver from the file library

after looking at the doc, I don't think the newline is necessary since it's going to be a one-way driver.

make sure to change the serial macro section

the original :

<serialcodemacro verified="False" id="0">

<commandname>SET_OUTPUT_INPUT_0_0</commandname>

<displayname>Switch output HDMI 1 to input HDMI 1</displayname>

<serialdata>

<original>$00 $ff $d5 $7b</original>

<data>00 ff d5 7b</data>

</serialdata>

</serialcodemacro>

would get changed to :

<serialcodemacro verified="False" id="0">

<commandname>SET_OUTPUT_INPUT_0_0</commandname>

<displayname>Switch output HDMI 1 to input HDMI 1</displayname>

<serialdata>

<original>"SPO01SI01/r"</original>

<data>53 50 4f 30 31 53 49 30 31 0d</data>

</serialdata>

</serialcodemacro>

for the rest convert everything from ascii to hexidecimal using this table http://www.asciitable.com/

and put it in <data>

out 1 input 2

"SPO01SI02/r"

S = 53

P = 50

O = 4f

0 = 30

1 = 31

S = 53

I = 49

0 = 30

2 = 32

/r = 0d

= <data>53 50 4f 30 31 53 49 30 32 0d</data>

_____________

<commandname>SET_OUTPUT_INPUT_0_1</commandname>

<displayname>Switch output HDMI 1 to input HDMI 2</displayname>

<serialdata>

<original>"SPO01SI02/r"</original>

<data>53 50 4f 30 31 53 49 30 32 0d</data>

</serialdata>

and make sure you change this :

<serialsettings>9600 8 none 1 none</serialsettings>

to

<serialsettings>57600 8 none 1 none</serialsettings>

Link to comment
Share on other sites

are you using the driver wizard ? Post what you have.

if you put this in for Input 1/ output 1 "SPO01SI01/r/n" in driver wizard, you should see a section like this in the .c4i

<serialdata>

<original>"SPO01SI01/r/n"</original>

<data>53 50 4f 30 31 53 49 30 31 0d 0a</data>

</serialdata>

Do you see this in the c4i ?

Correction for future reference.

When making a new driver in driverwizard, this is what you would put in for a carriage return - $0D. new line - $0A

"SPO01SI01" $0D

<serialdata>

<original>"SPO01SI01" $0D</original>

<data>53 50 4f 30 31 53 49 30 31 0d</data>

</serialdata>

If you are editing an existing RS232 driver, you only need to edit <data>. <data> is used, not <original>.

Link to comment
Share on other sites

Thank you :o:o:o For XC420

not only did he build me this driver, he took the time to build other drivers and test these as we went along.

My home system is now up and running with my new HDMI 4x4 matrix.

Also, it is a straight serial cable used for communication.

Thanks again to XC420

nawty

Link to comment
Share on other sites

  • 2 years later...

Help, I'm confused. Found your thread, and while helpful, maybe you can offer a greater explanation???

 

When creating a new one-way 232 driver, is this added to the commands field...

 

"SPO01SI01" $0D

 

...or is all of the following added into the commands field...

<serialdata>

<original>"SPO01SI01" $0D</original>

<data>53 50 4f 30 31 53 49 30 31 0d</data>

</serialdata>

 

Thanks!

Link to comment
Share on other sites

  • 1 year later...

alright im taking the dive into developing a driver myself here.

i am not able to get the some controls working, not sure if straight or null cable but problem for another day.

I am specifically looking to integrate the KD-MXA8X8Pro and i will start a new topic but this one is relevant to my question.

 

what are?

»» Carriage Return: Required

»» Line Feed: Required

what does the   $0D ? mean?

SPO01SI01" $0D

 

and will be likely a topic question but if any one wants to take a shot

the unit is capable of switch digital and analog audio, and converting them one to the other, and switching digital and analog separately.

so if i under stand it correctly i have essentially a 16x16 in the eyes of control4

16x16 analog

16x16 digital

i have an idea on how to build it but im willing to take any advice.

for now it will just be analog and digital switching together.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.