R S 2 3 2 C PORT CO NTRO L
Preset data format
The CVI configuration for each Preset is stored as 2 5 8-bit
bytes. Using the
Load/Save Preset
comma nds, this data is
transmitted as 50 ASCII cha racters.
The packed data format of these 25 bytes is given below. The
maximum va lues, given in decimal, must not be exceeded as they
will cause a Processor Crash in the CVI.
Bytes
1 - 1 0:
Values for ten sliders. Byte
I
=
HUE, Byte 1 0
=
ZOOM.
Value range 0 to 255.
Byte
1 1 :
Status of 8 switches.
1
=
on,
0
=
off. From most-significant
bit to least significant bit: FREEZE, PRESET, MENU, STOP,
DRAW, DRAW LOCK, INVERT STENCIL, USE STENCIL.
Byte
1 2:
Sta tus of 8 switches.
1
=
on,
0
=
off. From most-significa n t
b i t t o least significa nt bit: TITLE, PICK COLOUR, WIPE
STENCIL, WIPE COLOUR, USE TEXTURE, DRAW STENCIL,
DRA W COLOUR, COLOURIZE.
Byte
1 3 :
Most significant nybble (4 bits): Paint Type selection. Max
value 5 .
Least significant nybble: Colour Type selection. Ma x value 8 .
B y t e
1 4:
Brush Shape selection. Max value 53. Value
=
2 5 5 selects user
definable brush
Byte
1 5:
Textures selection. Max value 53. Value
=
2 5 5 selects user
definable texture.
Byte
1 6:
Most significant nybble: Stencil Wipes selection. Ma x value 8.
Least significant nybble: Colour Wipes selection. Ma x value
7.
Byte
1 7:
Most significant nybble: Paint Method selection. Max value 9.
Least significant nybble: Symmetry selection. Ma x value 8.
Byte
1 8 :
Most significant nybble: Stencil Source selection. Max value 3.
Least significant nybble: Colourize Type selection. Max value
7.
B y te
1 9 :
Five least significant bits: Display Control selection. Max
value 1 9.
Bit
7
(MSB): Stencil Draw/Erase fl a g.
Bit 6: Dejag enable flag.
-
SOFTWARE UPDATE
Summary of Contents for CVI
Page 1: ...r e User Manual Computer Video Instrument...
Page 4: ...Startea 2 Video Melius...
Page 102: ...33 Quad mirror Slow scan across L J _J...
Page 103: ......
Page 104: ...56 Under over stencil 57 Under over catch up 58 Push to freeze...
Page 105: ...60 L J _JI L...
Page 106: ...80 Under over texture wipe L J _J...
Page 107: ...L J _Jd r...
Page 197: ...RS232C Port ControI 1 Rev 7 Software Update 1...
Page 268: ...Glossary 1 Index 5...
Page 282: ......