Chapter 3 : Creating a Project

Data to Receive

This function is automatically active and

 

 

cannot be unchecked. This allows your

 

 

printer to receive and interpret the data

 

 

from the weight scale. The following

 

 

options allow you to indicate to your label

 

 

program the format of the data coming

 

 

from the weight scale. Check your weight

 

 

scale manual for message formatting

 

 

details.

ƒ

Start with

ƒ

Set the “start of text character”

 

 

 

the label program will look for as

 

 

 

the start of a valid data stream

 

 

 

from the scale

ƒ

End With

ƒ

Your label program can

 

 

 

determine that it has received

 

 

 

all the data from the scale in

 

 

 

one of two ways—by looking for

 

 

 

an “end of text” character(s) in

 

 

 

the data stream from the scale,

 

 

 

or by receiving a specified

 

 

 

number of characters after the

 

 

 

STX has been received. Select

 

 

 

the appropriate “end of text”

 

 

 

character(s), or select <Number

 

 

 

of char>. If you select this

 

 

 

option, enter in the

 

 

 

accompanying property box the

 

 

 

exact number of characters to

 

 

 

be received from the weight

 

 

 

scale.

Extract from

Check the checkbox beside this option if

Received Data

you wish to extract only a specific set of

 

 

characters from the received data

ƒ

From Position

ƒ

Set the starting position for the

 

 

 

extraction

ƒ

To Position

ƒ

Set the ending position of the

 

 

 

extraction

 

 

 

For example, if you set From

 

 

 

Position 4 and To Position 6, you

 

 

 

will extract “555” out of 0005550

Validation Mode

Set the mode with which the data

 

 

received from the weight scale should be

 

 

validated. For example, you can select to

 

 

only validate an input after having

 

 

received two consecutive identical weight

 

 

measurements from the weight scale

Repeat Sequence

If you have set the Validation Mode to

 

 

validate only after having received the

 

 

same data twice, you should specify the

 

 

delay (in seconds) you want to wait

 

 

between accepting consecutive inputs

 

 

from the scale. This will allow you to

 

 

eliminate any bounce from the scale and

 

 

be confident that the weight

 

 

measurement you receive is accurate.

Result Variable

Select the variable in which the input

 

 

from the weight scale should be stored

Output Format

Set the format you want to use when

 

 

saving the weight data from the scale.

 

 

Several options are available such as fill

blank on left, fill zeros on left, replace leading zeros with blanks, etc. Select the appropriate format for your program design.

October 2007

Page 74

www.mcl-collection.com

Copyright © 2007 • MCL Technologies • All Rights Reserved

 

 

Page 74
Image 74
Datamax v1.1x Creating a Project Data to Receive, Cannot be unchecked. This allows your, Details, Start with, Extract from