Kramer Electronics WP-501 User Manual
Page 55

50
K-Config - The Driver Manager
– Getting Started
Fill in the Query LampHour Details:
Feature
Function
Command Syntax
Type in the query in HEX/Decimal/ASCII format according to the protocol of the specific
projector
Select response
Parse if message from device contains a certain syntax or Parse if the message arrives within a
certain time period
Parse if message from device contains: to ensure that the system will parse only the relevant
serial replies, type in the syntax that will always be included in the reply.
For example, the lamp hour response should always include: #LMP_HR”
Parse if message arrives in time: the system will accept the first message received within the
predefined time period. This can be used when the response cannot be defined by content
Parse Reply
Check Parse Reply if you want the system extract relevant information (text, number and so on)
from the complete serial reply
Begin in Byte:
Set the byte from which the relevant information starts: to start with the
first byte, select, to start from the second byte, select 2, and so on.
The number selected can be considered as the number (characters that
should be ignored: 1) from the beginning of the response
End Parsing by:
End of Reply: the information ends with the final character in the packet
Specific Char: a certain character will define the end of the information
bits
(for example, “A”)
Counting Bytes: the response will always have a set number of
characters
Stop Value:
Type in the characters that define the end of the response
Answer Format
Select the answer format according to the device protocol format:
Text (the answer appears as text)
Number as Text [“4567”]
Hex number as Text [“11D7”]
Number
– Bytes value (Highest value in first byte – 0x11,0xD7)
Number
– Bytes value (Highest value in last byte – 0xD7,0x11)
Response Units
The response units for all answer formats except Text:
Hours/None
Minutes [will be divided by 60 to get Hours]
Seconds [will be divided by 36000 to get Hours]
Response definition
table
This table defines the response ranges and their names.
Result Name
The result name will appear when the command data in the query reply
complies to the condition stated
Operator
The operator is the condition and is set according to the answer format.
For example, if the answer format is text, the Operator will be “= Equal
To”.
Other answer formats have the following operators: > Not Equal To, >
greater than, < Less Than, >= Greater Than or Equal To, <= Less Than
or Equal To, >< Between
Command Data
The Command Data is the part of the data that represents the condition
Max Lamp Hour
Set the maximum lamp hours (according to the projector manufacturer's data sheet.
Clear
Clear the table
Apply Query
Changes
Save the table data (see
).
Once the table is saved, the text command area appears:
Testing the
command
To test the command, connect to the machine and select the port. The command syntax
appears automatically in the Request line. Click the Test Command button and check that the
response complies with the answer format
Parse by Query
Rules
After receiving the device's response, the "Parse by Query Rules
” button appears:
You can click the button to test the parsing rule against the reply and see if it gives the expected
result and select the correct result from the table