beautypg.com

Grass Valley XSwitch Feb 08 2006 User Manual

Page 40

background image

40

XSWITCH Installation and Operation Manual

Appendix A — Remote Activation

2.

command string = “2,S”

LEN = 3

input string for CRC = Chr$(4)+Chr$(254)+Chr$(LEN)+com-
mand string

CRC program returns:

complete CRC string = “FFFFC67F”

LSB needed from CRC = “7F”

MSB needed from CRC = “C6”

packet string = Chr$(4)+Chr$(254)+Chr$(LEN)+command
string+Chr$(&HLSB)+Chr$(&HMSB)

3.

command string = “2, S”

LEN = 3

input string for CRC = Chr$(4)+Chr$(254)+Chr$(LEN)+com-
mand string

CRC program returns:

complete CRC string = “12E4”

LSB needed from CRC = “E4”

MSB needed from CRC = “12”

packet string = Chr$(4)+Chr$(254)+Chr$(LEN)+command
string+Chr$(&HLSB)+Chr$(&HMSB)

4.

command string = “2,R,61,20”

LEN = 9

input string for CRC = Chr$(4)+Chr$(254)+Chr$(LEN)+com-
mand string

CRC program returns:

complete CRC string = “FFFF8758”

LSB needed from CRC = “58”

MSB needed from CRC = “87”

packet string = Chr$(4)+Chr$(254)+Chr$(LEN)+command
string+Chr$(&HLSB)+Chr$(&HMSB)

5.

command string = “2,3,131,20”

LEN = 10

input string for CRC = Chr$(4)+Chr$(254)+Chr$(LEN)+com-
mand string

CRC program returns:

complete CRC string = “FFFFA78D”

LSB needed from CRC = “8D”

MSB needed from CRC = “78”

packet string = Chr$(4)+Chr$(254)+Chr$(LEN)+command

string+Chr$(&HLSB)+Chr$(&HMSB)