Example Scale data packet

<< Click to Display Table of Contents >>

Navigation:  Settings > Devices > Scale > Data Packet >

Example Scale data packet

The following example discusses the data packet transmitted by the IQplus 350 digital weight indicator. This format is common to many IQ series indicators. The IQplus 350 installation manual (section 7.3) clearly describes the data packet:

 

uws10-oshawa-settings-scale-data-packet-4

 

Here is the data packet as seen in the Scale settings panel when a Port is in the Opened state:

 

uws10-oshawa-settings-scale-data-packet-3

 

ASCII control characters are shown in Caret notation (e.g. ^B).

 

From this example, we can determine:

 

The start character is ^B (STX=^B or #2)

The end character is ^J (LF=^J or #10)

 

The Start and End values can be entered as decimal or Caret values when entered into the Data Packet property editors. Using Caret notation, here is how the Data Packet properties should be set for the IQplus 350 data packet:

 

scale-display-settings-scale-data-packet-1

 

The Packet length property set to 0 it is ignored.

 

Here is an alternate representation of the data packet (on the line beginning with 00000000) showing the position of each character in decimal and value of each character in hexadecimal:

 

uws10-oshawa-settings-scale-data-packet-2

 

From this example, we can determine:

 

Each data packet is exactly 14 characters in length (characters 0-13).

The start character is 02 (^B or #2) also known as STX or Start Of Text

The end character is 0A (^J or #10) also known as LF or Line Feed

 

The alternate representation of the data packet was produced by HxD - Freeware Hex Editor.