About the ISCP Command Format

All values are in hex format unless otherwise noted.

When you call ITCSCAN GetConfigInfo or ITCSCAN SetConfigInfo, you must specify an ISCP command byte array in the rgbCommandBuff parameter. An ISCP command is composed of three or more bytes formatted as:

<SG><FID><parameters>

where:

SG = setup group

FID = function ID

(ITC_SetConfigInfo only) parameters = one or more configuration value bytes depending on the configuration:

Example 1

The byte array you use to get the current state of Code 39 decoding is:

42 40

where:

42 = setup group, corresponding to Code 39.

40 = function ID, corresponding to "Code 39 Active".

Since you are trying to get the current state, you do not need to include any parameters in the byte array.

Example 2

The byte array you use to enable Code 39 decoding is:

42 40 01

where:

42 = setup group, corresponding to Code 39.

40 = function ID, corresponding to "Code 39 Active."

01 = parameter, corresponding to "Enabled."

Example 3

The byte array you use to get the current timeout between identical consecutive codes is:

71 80

where:

71 = setup group, corresponding to Decoding Security.

80 = function ID, corresponding to "Timeout between identical consecutive codes."

Example 4

The byte array you use to set a 2550 ms timeout between identical consecutive codes is:

71 80 09 F6

where:

71 = setup group, corresponding to Decoding Security.

80 = function ID, corresponding to "Timeout between identical consecutive codes."

09 F6 = parameter. 2550 ms is represented by 0x09 0xF6 and this value is 2 bytes long.

Example 5

The byte array you use to get the current global preamble is:

60 C0

where:

60 = setup group, corresponding to Message Format.

C0 = function ID, corresponding to Preamble.

Example 6

The byte array you use to set a global preamble to abc is:

60 C0 00 03 61 62 63

where:

60 = setup group, corresponding to Message Format.

C0 = function ID, corresponding to Preamble.

00 03 = the number of characters in the desired preamble (3). This value is 2 bytes long.

61 62 63 = characters in the preamble, corresponding to abc.

More Information

ITCSCAN GetConfigInfo

ITCSCAN SetConfigInfo