background image

0

CVS4 Component Video Switch 

CVS4 Component Video Switch

CVS4 Command Reference

The CVS4 K.I.S.S.™ Command Reference

This section defines the K.I.S.S.™ commands that are available to the users of the CVS4.
Note: The CVS4 has been designed as somewhat of a drop in replacement for one of our previ-

ous products, the HDS4.2. As such, some CVS4 commands exist for backwards compatibility 

with the HDS4.2. In such cases it will be indicated that these commands are specifically for 

HDS4.2 compatibility and an alternative command should be used for new controller implemen-

tations. In most cases the newer commands will have better support for multiple output devices 

(such as matrix switches), and using the newer commands will make your drivers easier to 

update as our new products are released. It is our intent to keep the command set between our 

products as similar as possible, in an effort to make updating drivers as easy as possible.

Error Response Codes

The following are the Error Response codes that can be returned by the CVS4.

!1<CR><LF>   

Unrecognized command.

!2<CR><LF>   

A parameter was out of range.

!3<CR><LF>   

Syntax error, badly formed command.

!4<CR><LF>   

Checksum or CRC-8 error.

!5<CR><LF>   

Too many or too few parameters.

!6<CR><LF>   

System busy cannot process command.

!7<CR><LF>   

Buffer overflow.

And some more detailed descriptions of their meanings:
Error 1: The command given was not recognized as a CVS4 command. Commands are case 

sensitive and in the CVS4, all commands are upper case.
Error 2: One of the parameters given was too large, or too small, the command will be ignored.
Error 3: Something was wrong with the command's syntax. There was possibly extra data at the 

end of the line, or non-decimal data as part of a parameter. There cannot be whitespace before 

or after a checksum or CRC-8 checkcode, or this error will be returned.
Error 4: The ';' or ':' character was used to indicate a Checksum or CRC-8 Checkcode was 

appended to the command string, but the Checksum or CRC-8 Checkcode did not match the 

calculated one. The command will be ingnored.
Error 5: The number of parameters given does not match the number allowed by this command.
Error 6: To prevent conflicts between the front panel Setup Mode and the serial port settings, 

when the CVS4 is in the Setup Mode, many parameters become read only and any attempt at 

writing them will return Error 6. The “Front Panel Button Emulation” command with button code 

‘0’ can be used to exit the Setup Mode, at which point the command can be re-issued without an 

Error 6 response.

Error 7: An internal buffer has overflowed, for instance more than 16 button codes were sent as 

part of the “Front Panel Button Emulation” command.

The CVS4 Command Set

Each command will be listed in all the different ways it can be issued. Usually each command 

has two different ways of being issued. The first is used to set its value, the second as a query 

command.
If the command has an associated response string, it will also be listed.
As described in the section on the K.I.S.S.™ protocol, whitespaces and commas are optional 

in many cases. The format used here includes a single space after the command and com-

mas, with no spaces, between parameters. The format given here does not show the optional 

checksum or CRC-8 checkcodes that may be appended to all commands, nor does it show the 

required 

<CR>

 that terminates all commands.

The response strings are the actual strings returned from CVS4, which (except for the cases 

of backward compatibility with the HDS4.2) return the same format as described above. The 

format does not show the optional checksum or CRC-8 checkcodes that may be appended to 

all response strings if enabled, nor does it show the 

<CR><LF>

 that terminates all Response 

Strings.

Version Query

Query for the current firmware version and PCB type of the CVS4.

V ?       

Request version string.

V         

Request version string.

Response String:

=V CVS4 

firmware_rev pcb_type

Where:

 

firmware_rev   = Version number of the CVS4’s firmware.

 

pcb_type  

= PCB type. Used to determine firmware compatibility.

Power Control

Turn on / off, or toggle the power state of the CVS4.

P 0       

Turn off power.

P 1       

Turn on power.

CVS4 Command Reference 

(Cont’d)

Summary of Contents for CVS4

Page 1: ...Z E K T O R Home Theater Switches Digital Video Component Video Multichannel Audio Rev 2 07 25 2006 High Definition Component Video Switch CVS4 Supplement to the CVS4 User Guide...

Page 2: ...ttings 19 Control Settings HDS4 2 Version 20 Extended Control Settings 21 Checksums and CRC 8 s 24 Checksums and CRC 8 Checkcodes Defined 24 Differences between a Checksum and a CRC 8 Checkcode 24 Sou...

Page 3: ...n this case the value defaults to the current setting leaving the value unchanged The K I S S Continued space before the comma is optional Most commands can be queried for their current settings by su...

Page 4: ...wed before the and characters but NOT after them The checksum must immediately follow the character and a CRC 8 checkcode must immediately follow the character anything else including whitespace will...

Page 5: ...R LF Notice that in the first example a checksum was not appended to the LI command When issuing a command the checksum and CRC 8 codes are sent on a command by command basis Anytime a checksum or a C...

Page 6: ...ghout the com munication sequence First the LI CR command was issued by the controller While looking for an Acknowledgement or Error Response string an unsolicited Query Response is received indicatin...

Page 7: ...Checkcode did not match the calculated one The command will be ingnored Error 5 The number of parameters given does not match the number allowed by this command Error 6 To prevent conflicts between th...

Page 8: ...HDS4 2 there is no space after the command in the response string Note 3 For backward compatibility with the HDS4 2 this response string is sent in the Asyn chronous mode when a channel status has ch...

Page 9: ...Where dim Current DIM level setting bright Current BRIGHT level settings The intensities range from 0 Off to 44 Maximum brightness Note For backward compatibility with the HDS4 2 there is no space af...

Page 10: ...earn they are IR Cmd Description 1 Power Toggle 2 Select Input 1 3 Select Input 2 4 Select Input 3 5 Select Input 4 6 Discrete Power On 7 Discrete Power Off 8 Sequence Through Inputs Setting an ircmd...

Page 11: ...ess of any possible setup state it might be in The 0 button code is also device independent It use and value does not change between Zek tor devices like the other codes may and most likely will Query...

Page 12: ...ro keeps the CVS4 from responding to IR codes however the front panel sensor remains operational and any codes received can still be queried for by using the IR command Disabling the IR jack by settin...

Page 13: ...al Value 128 64 32 16 8 4 2 1 Bit Position 7 6 5 4 3 2 1 0 Name CTL LMO IRC IRR BTN LIN SEL PWR Factory Settings 0 0 0 0 0 0 1 1 PWR 1 Power State has changed SEL 1 Selection Input Output Mapping has...

Page 14: ...Checksum and a CRC 8 Checkcode A CRC is capable of finding many more and different types of errors than a checksum can A good description of its capability is described in the above referenced articl...

Page 15: ...detection characteristics So x 8 x 6 x 3 x 2 1 101001101 14D hex Ignore X 8 01001101 4D hex Reverse bit order 10110010 B2 hex define CRC8_POLY 0xB2 polynomial mask define CRC8_INIT 0xFF initial value...

Page 16: ...28 CVS4 Component Video Switch 29 CVS4 Component Video Switch This page left intentionaly nearly blank This page left intentionaly nearly blank...

Page 17: ...Z E K T O R Z E K T O R 12675 Danielson Ct Suite 401 Poway CA 92064 858 748 8250 www zektor com...

Reviews: