ALIAS - Device Unit Types (DUT)

Overview

Type:

ALIAS (DUT)

Available as of:

V1.0.0.0

Inherits from:

Description

The ALIAS RequestWstring and UserData combines complex data structures into a data type to help simplify the user interface.

RequestWstring

Name

Data type

Description

RequestWstring

ARRAY [1..GPL.Gc_uiMaxRequest] OF WSTRING(GPL.Gc_uiRequestWstringLength)

The RequestWstring is an ALIAS for an array of WSTRINGS. The request STRING contains the SQL query request.

Any SQL request must be divided into individual strings that do not exceed a length of 200 characters each.

Adapt the size of the global parameters Gc_uiMaxRequest and Gc_uiRequestWstringLength according to the length of the SQL requests that you use in your application.

UserData

Name

Data type

Description

UserData

ARRAY [1..GPL.Gc_uiMaxRows, 1..GPL.Gc_uiMaxColumns] OF WSTRING(GPL.Gc_uiTableWstringLength)

The UserData is an array of WSTRING that must be available on the controller for storing the SQL data read from the database.

Adapt the size of the global parameters Gc_uiMaxRows, Gc_uiMaxColums, and GPL.Gc_uiTableWstringLength according to the maximum of size of UserData to receive in your application.