Using Bitmapped Parameters - Zektor CVS4 User Manual

High definition component video switch
Hide thumbs Also See for CVS4:
Table of Contents

Advertisement

K.I.S.S.™ (Continued)
space before the comma is optional.
Most commands can be queried for their current settings by substituting the '?' for the parameter
list, or by not supplying any parameters at all. For instance to request the current LED Intensity
settings:
LI ?<CR>
or
LI<CR>
This would cause the device to issue a LED Intensity Response, (the Response String format
is described in the section entitled: "The Response String"). The whitespace before the '?' is
optional.
Commands that can supply more than one Response String per query request, or commands
that are backwards compatible with the HDS4.2 require a '?' and will generate a parameter count
error if no parameters are given.

Using Bitmapped Parameters

Some commands accept "Bitmapped" parameters. These are decimal values that represent a
series of flags, or bits, that control, enable and/or disable different device operations.
Binary arithmetic is used to represent bitmapped parameters, it is assumed the reader has some
familiarity with binary arithmetic.
An example of a command that uses a bitmapped parameter is the "XS settings<CR>" com-
mand, which is defined like this:
XS settings<CR>
Where 'settings' is a bitmapped parameter:
Decimal Value
Bit Position
Name
Factory Settings:
AS
- 0=Master / Slave mode.
KB
- 0=Disable Front Panel.
IRE - 0=Disable IR.
IRS - 0=Turn off IR Sensor.
IRJ - 0=Turn off IR Jack.
CSE - 0=Disable CS and CRC-8 1=Append either Checksums or CRC-8 to responses.
CRC - 0=Append Checksums or, 1=Append CRC-8's to reponses.
0
- Reserved, always set to 0.
This indicates the parameter 'settings' is bitmapped parameter, followed by a description of what
each bit represents.
The 'Decimal Value' in the table's header, refers to the values added together to create the deci-
+128 +64 +32 +16
7
6
5
4
0
CRC CSE IRJ IRS IRE FP
0
0
0
1
1=Asynchronous Mode.
1=Front Panel Enabled
1=Enable IR.
1=Turn on IR Sensor.
1=Turn on IR Jack.
+8
+4
+2
+1
3
2
1
0
AS
1
1
1
0
CVS4 Component Video Switch
3

Advertisement

Table of Contents
loading

Table of Contents