Levels; Module - AMX I!-PCLINK WEB Instruction Manual

Integration!solutions
Table of Contents

Advertisement

Channels (Cont.)
PCL_CHNL_WINDOW_NORMALIZE
PCL_CHNL_WINDOW_MAXIMIZE
PCL_CHNL_WINDOW_MINIMIZE_ALL = 45
PCL_CHNL_BROWSER_ACTIVE
PCL_CHNL_BLACKOUT_ACTIVE
PCL_CHNL_KEY_CAPSLOCK
PCL_CHNL_KEY_NUMLOCK
PCL_CHNL_KEY_SCROLLLOCK
PCL_CHNL_VOLUME_MUTE

Levels

i!-PCLink/Web supports the following control levels (master to PC).
Levels
PCL_LVL_MOUSE_X
PCL_LVL_MOUSE_Y
PCL_LVL_BROWSER_SCALE
PCL_LVL_DISPLAY_RESOLUTION_X = 5
PCL_LVL_DISPLAY_RESOLUTION_Y = 6
PCL_LVL_VOLUME_MASTER

Module

You can program the i!-PCLink/Web application directly using the commands and strings or you
can use the supplied module and accept the functionality it offers. Both methods have their place so
using one or the other depends or your situation. For instance, if you are building a kiosk
application then sending strings of the files or URL's you need to open may be all that is required.
In this instance, there is no need to have file navigation from the touch panel so the module is of
little use.
You can use a combination of the module and your own programming if you prefer. To assist you in
your own programming, the module code is supplied as open source. You can use this is a start to
create custom programming or use it as-is for the standard functionality.
To include the module in your program, you must first compile the supplied module code. This will
create the "i!-PCLinkWeb2Mod.tko". Then, define an instance of the module in your program using
a DEFINE_MODULE line like the example below (normally, DEFINE_MODULE statements are
listed following the DEFINE_START section):
DEFINE_MODULE 'i!-PCLinkWeb2Mod' mdlWEB(dvPCLinkWeb,
Where: mdlWEB is a unique module name
i!-PCLinkWeb
= 43
= 44
= 50
= 51
= 60
= 61
= 62
= 70
= 1
//get/set the X axis (horizontal) of the computer mouse :: <0-255>
= 2
//get/set the Y axis (vertical ) of the computer mouse :: <0-255>
= 3
= 7
dvPCLinkWeb is the device number of the i!-PCLink/Web application as setup in the
device section of the control panel.
dvTP is the touch panel device array that i!-PCLink/Web application will communicate
with.
//normalize current active window
//maximize current active window
//minimize all windows
//hide/show internal web browser
//hide/show the blackout screen
//get/set caps lock state
//get/set num lock state
//get/set scroll lock state
//get/set computer volume
//get/set the i!-PCLink/Web internal web browsers scale :: <0-255>
//get the computers horizontal resolution (i.e. 800 pixels)
//get the computers vertical resolution (i.e. 600 pixels)
//get/set the computers master volume
dvTP,
dvKB)
Programming i!-PCLink/Web
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents