Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 9 of 10

TT Advantage Programmer's Guide, pages 81 to 90

Pages 81 to 90 of 92

The original document is the PDF (976 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the HHP TT3100 and Welch Allyn TT3100

Page 81

V.A.Smoothing Sets the level of smoothing applied to captured signatures. Smoothing is used to remove unwanted lines from the signature. Average smoothing is 5. More than 10 is not recommended because it causes loss of data in signature. Parameters

Description

Values

None

RETURN VALUES None (Write only).

SEE ALSO V.A.Signature

EXAMPLE V.A.Smoothing = 5

V.A.Terminate Command Type: Method V.A.Terminate ends the current application. Parameters

Description

Values

None

RETURN VALUES None EXAMPLE V.A.Terminate

MSR The MSR object can be accessed at any point after a good swipe.

MSR.AccountNumber Command Type: Property MSR.AccountNumber returns the account number that was read off of Track 1. This property does not work with all Mag Stripe cards. The remaining data on track1 can still be accessed using MSR.Track1 property. Parameters

Description

Values

None

RETURN VALUES String

4-21

Page 82

EXAMPLE Dim AcctNum as String AcctNum = MSR.AccountNumber

MSR.AssignTrackNames Command Type: Method MSR.AssignTrackNames assigns all MSR information Track 1, Track 2 and Track 3 information: FirstName, LastName, and AccountNumber. Call MSR.AssignTrackNames before any property gets information. On a good swipe, this method gets called automatically. Parameters

Description

Values

None

RETURN VALUES None EXAMPLE MSR.AssignTrackNames

MSR.FirstName Command Type: Property MSR.FirstName returns first name information from track 1. MSR.FirstName does not work with all Mag Stripe cards. The data on Track1 can still be accessed by using MSR.Track1. Parameters

Description

Values

None

RETURN VALUES String EXAMPLE Dim FName as String FName = MSR.FirstName

MSR.LastName Command Type: Property MSR.LastName returns the last name information from Track 1. LastName does not work with all Mag Stripe cards. The data on Track1 is accessed by using MSR.Track1. Parameters None

RETURN VALUES String 4-22

Description

Values

Page 83

EXAMPLE Dim FULLName as String FULLName = Trim(MSR.FirstName) + “ ” + Trim(MSR.LastName)

MSR.Reset Command Type: Method MSR.Reset clears all MSR object properties (FirstName,Track1, etc). Parameters

Description

Values

None

RETURN VALUES None EXAMPLE MSR.Reset

MSR.Track1 MSR.Track2 MSR.Track3 Command Type: Property Returns the information from Track 1, Track 2 or Track 3. Parameters

Description

Values

None

RETURN VALUES String EXAMPLE Dim TrackOne as String TrackOne = MSR.Track1

SigBox Normally TT Advantage, V.A. Commands, and the MSR object provide all the necessary interface and controls needed to create TT3100 Series applications. If some facet of TT3100 Series terminal function is beyond the properties and methods in the V.A. and MSR objects, use the methods and properties of the SigBox object. The SigBox object contains over 140 properties and methods, and is not re-documented in detail here because of size considerations. Refer to those objects and properties in the Hand Held Products Software Developers Kit (SDK) included with TT Advantage. 4-23

Page 84

VAEvent Class Module VA Events are modifiable subroutines in the VAEvent Module governing the start-up and shutdown of TT3100 Series terminals.

A_ErrorBeforeStart Event A_ErrorBeforeStart event fires if TT Advantage fails to start or find the TT3100 Series terminal.

A_PreLoadForms Event A_PreLoadForms stores code for pre-loading graphics into the non-volatile memory of TT3100 Series terminals and fires upon start-up. Preloading images increases the speed with which the TT3100 Series terminals operate. Fetching images from memory is faster than downloading them from a host. EXAMPLE V.A.PreLoadImagesForms.Add padScreenWelcome When a preload command executes, it loads all the images on the form into memory. In the example, the command PreLoadingImagesForms command loads the images on the form called padScreenWelcome. Note: Images on a form cannot be selectively loaded. This event triggers before the splash screen is displayed.

A_PreSplashScreen Event A_PreSplashScreen fires before a splash screen is displayed on the interactive point of sale screen.

A_PreTerminate Event A_PreTerminate fires just before normal termination of a TT Advantage application. With the A_PreTerminate command, databases and files can be closed and objects freed up.

A_PreUnloadSplashScreen Event A_PreUnloadSplashScreen fires just before the splash screen is removed. Place code in the event subroutine, to connect to databases, initialize variables, etc. With this line, status line displaying text information on the Splash screen, to reflect the activities of the code, can be implemented.

4-24

Page 85

Error Messages

5

Error Messages

VB Mode Error Messages TT Advantage provides error messages that depend on the TT Advantage mode. In VB mode the TT Advantage error messages display in the same way as Visual Basic error messages. Error/Warning

Occurred while

Description

Remedy

TT Advantage

Putting new con-

This control is not a control that

This is just a warning. In VB will not be able to trols on a TT

TT Advantage can display on the

Mode many controls do not display this screen.

display on a TT3100 Series

Advantage form control screen, such as RDO controls, Timer, etc.

Timeout

Downloading

The device might have been

Check the connection of the occurred

Script disconnected while downloading.

RS232 cable.

5-1

Page 86

Script Mode Error Messages Script mode error messages display in the TT Advantage Assistant message box. Error/Warning

Occurred while

Description

Remedy

Port error

Downloading

This message usually means that Check the connection of the RS-occurred

Script the TT3100 Series terminal is not

232 cable and verify the PORT connected or VA is configured to setting in modMain. use the wrong port. Timeout

Downloading

The TT3100 Series terminal

Check the connections of the occurred

Script might have been disconnected

RS232 cable.

while downloading. TT Advantage

Putting new con-

This control is not a control that

This is just a warning. See page will not be able to trol on a VA form

TT Advantage can display on the

3-2 to see a list of valid Script display this interactive point of sale screen.

mode controls.

control. Only TT

Adding a new

In script mode, only TT

When adding a new form, be

Advantage form to your

Advantage forms, padScreens, sure to add only TT Advantage screens can be project can be used.

forms. (See TT Advantage Forms added… on page 2-5.)

Only Modules

Adding a new

In script mode, only TT and TT component to

Advantage screens and normal

Advantage your project modules can be added to a screens…

See previous remedy.

project.

padStart is a

Removing pad-

The padStart form is a required

Fundamental

Start form form in script mode projects.

Re-attach the padStart form.

component to… This form is not a Adding a form

The size of the form is incorrect.

If you must use this offending valid Script

TT Advantage requires a form of form, then change these

Designer Form a specific size.

properties for that form: ScaleWidth = 320 ScaleHeight = 240 Be sure you have the ScriptDescriber.txt file and it is not corrupted. Be sure it is located in the directory with mxVisual.dll

This is not a valid Trying to down-

The indicated parameter is not a

Use the “Show Labels” button to label. It is not the load script label.

see a list of valid labels. Labels name of a valid can only be screen or routine label or routine names.

5-2

Page 87

Error/Warning

Occurred while

Description

Remedy

ERROR!: Script

Trying to down-

The error message indicates a

Be sure that every Script mode command load script script command entered as a command begins with the

PARAMETER:… parameter to another command is command prefix (see Command is not a valid incorrect.

command.

Prefixes on page 3-10). For example, every command must begin with “TOOL”, even commands that are inside other commands, like: TOOL.Script.IfTrue _ Tool.Var.Find(“NAME”), _ Tool.Script.Bell(Success), _ Tool.Script.Bell(Fail)

ERROR!:Script

Trying to down-

The ScriptDescriber.txt file might

Be sure the ScriptDescriber.txt command load script be corrupted.

file is present, is located in the

PARAMETER:… directory with mxVisual.dll and is an invalid not corrupted.

parameter type was found in the describer file. ERROR!: Script

Trying to down-

The indicated command is not a

Check the manual for the correct command:… is load script valid script command.

spelling and syntax of the not a valid com- indicated command.

mand

5-3

Page 88

5-4

Page 89

Help Desk

6

Help Desk

If you need assistance installing or troubleshooting your software, please call your Distributor or the nearest Hand Held Products technical support office: North America: Telephone: (315) 685-2476 (8 a.m. to 6 p.m. EST) or, in the U.S.: (800) 782-4263 Fax number: (315) 685-4960 E-mail: support@handheld.com Europe: TelephoneEuropean Ofc: Int+31 40 242 4486 U.K. Ofc: Int+44 1925 240055 E-mail: support@handheld.com Asia: Telephone: Int+852-2511-3050 or 2511-3132 E-mail: support@handheld.com

6-1

Page 90

6-2