Data Words - Barco BarcoReality SIM6 Ultra R9040150 User Manual

Barcoreality sim6 ultra series/ serial communications basic
Hide thumbs Also See for BarcoReality SIM6 Ultra R9040150:
Table of Contents

Advertisement

1. Serial Communications Basics
1.2

Data Words

msb
The most significant byte, is the byte with the greatest weight (value).
lsb
The less significant byte, is the byte with the smallest weight (value).
Description
A word contains more than one byte, the first byte is the msb, the last byte is the lsb.
Examples of Data Words
The projector runtime parameter is described using an unsigned double word where 2 bytes (msb ...lsb) represent the value of
the runtime in seconds.
How to calculate the value of a word ?
Lets take the example of a double word returned by the "projector runtime, read" commando.
returned data = Data[0]....Data[3]
value = Data[0]*256
3
8
+ Data[1]*256
+ Data[2]*256 + Data[3].
2
R5976538 BARCOREALITY SIM6 ULTRA SERIES 08/06/2005

Advertisement

Table of Contents
loading

Table of Contents