31 image files, 1 file, write, Image files – Barco RS232 User Manual

Page 69

Advertising
background image

2. Basic Commands

Command

Command [0]

\x63

Data

Data[0] = unsigned byte

data value: 1= lamp1 ; 2=lamp2

Returned Data

string = Pascal-language string.

2.31 Image files

2.31.1

File, write

Description

This command writes an image file to the projector, this can be used to write to the projector a previously backed up file (on PC)
which has been read with the “file, read” command.

The string used to represent the filename is of the C-string type.

Command

Command [0]

\xbe

Data

strFilename = string of the C-string type representing the filename: Example of filename : [email protected]

By default the file will be selected in the Custom directory. If the necessary file is a standard file then strFile-
name should be /Standard/[email protected].

FileData = data (ASCII coded) in XML format representing the file.

Example of FileData for the [email protected] file :

<?xml version="1.0" encoding="UTF-8" ?>

<ImageFile>

<FileSelection>

<InputLayer />
<SourceType />
<LineDuration Discrepancy="220" Unit="ns">14840</LineDuration>
<TotalLines Discrepancy="1">1118</TotalLines>
<Interlaced>no</Interlaced>

</FileSelection>
<ImageDefinition>

<TotalPixels>2536</TotalPixels>
<ActivePixels>1920</ActivePixels>
<PixelStart>380</PixelStart>
<ActiveLines>1080</ActiveLines>
<LineStart>31</LineStart>
<AspectRatio>16:9</AspectRatio>
<ColorSpaceFormat>ITU.BT-601</ColorSpaceFormat>

</ImageDefinition>

</ImageFile>

The data must be XML “valid” i.e. all the rules (for example for opening/closing tags) must be respected.

R5976884 RLM SERIES 04/04/2006

67

Advertising