Section 5. Example Applications

If Err.Number <> 0 Then

'Process error using Err.Description

'contains error description for the demo,

'we'll just display it

txtInfo.Text = Err.Description

'Reset the error handling

On Error GoTo 0

'exit this sub

Exit Sub

End If

'reset the error handling

On Error GoTo 0

'send the command to get the port number

Put #1, , "/get port_name" + Chr$(10)

'get the response from driver which should contain the

'com port number

Get #1, , buf$

'Expected response:

'(character position in the response string)

'11111111112222222222

'12345678901234567890123456789

' e.g. "/get port_name COM14"

'+=========================================+

'

IMPORTANT: CLOSE THE DEVICE

DRIVER

'

BEFORE TRYING TO

REOPEN

IT

'+=========================================+

Close #1

' Make sure we got back a valid response.

This checks that we have received a “/get” response and that

“port_name” and “COM” are present and in the right locations.

If Left(buf, 4) = "/get" _

And InStr(buf, "port_name") = 13 _ And InStr(buf, "COM") = 25 Then

'Just for information, display the com port number txtInfo.Text = "Opening Serial IO on port " & Mid(buf, 25, 5)

'Get the port number value from character position 28

'(and 29 if two digits long) of the response

PortNumber = Val(Mid(buf, 28, 2))

'+------------------------------------+

'

open the driver as a serial device

'+

------------------------------------+

'make sure the on_comm function will be

'triggered by the device driver by setting

'the receive threshold to 1 (one)

MSComm1.RThreshold = 1

129

Page 132
Image 132
Elo TouchSystems 1525L manual 129, If Err.Number 0 Then

1525L specifications

The Elo TouchSystems 1525L is a highly regarded touch screen monitor that combines advanced technology with user-friendly design. Featuring a 15-inch display, this monitor is the ideal solution for a diverse range of applications, from retail point-of-sale systems to interactive kiosks and industrial control setups.

One of the standout features of the Elo 1525L is its intuitive touch technology. The monitor employs Elo's patented surface wave technology, which allows for precise touch response and true multi-touch capabilities. This ensures that users can interact with the screen effortlessly, whether they are using their fingers or a stylus. The result is a highly responsive and engaging user experience, making it an ideal choice for environments that require frequent user interaction.

The display offers a bright and vibrant LED-backlit screen with a resolution of 1024 x 768 pixels. The 5-wire resistive touchscreen provides excellent optical clarity and durability, making it perfect for high-traffic areas. Additionally, the anti-glare surface minimizes reflections and enhances visibility under various lighting conditions, ensuring that content remains clear and legible.

In terms of connectivity, the 1525L boasts considerable flexibility with a range of interfaces including USB, VGA, and HDMI options, allowing it to easily integrate with existing systems. This versatility makes it adaptable for a variety of applications, whether in retail, hospitality, or industrial settings.

Durability is a hallmark of the Elo 1525L, with a rugged design that includes a scratch-resistant surface and a robust casing. It is engineered to withstand the rigors of everyday use, prolonging its lifespan and ensuring reliability in demanding environments. The monitor also has a sealed design that protects against dust and spills, which is especially important in food service and industrial applications.

Furthermore, the Elo TouchSystems 1525L is designed with ergonomics in mind. It offers various mounting options that include VESA compatibility, enabling easy integration into different setups while ensuring comfort and ease of use for operators.

In conclusion, the Elo TouchSystems 1525L is a versatile, durable, and highly responsive touch screen monitor that serves a multitude of professional applications. With its advanced touch technology, robust build quality, and wide array of connectivity options, it stands out as a reliable choice for businesses looking to enhance interactivity and user engagement.