Software-specific information • RFB extension
92
Power Panel T30 User's manual V1.42 - Translation of the original documentation
6.4.2 Starting touch screen calibration
Required function in library
AsRfbExt
:
RfbExtStartProcess()
Function
RfbExtStartProcess()
is used to call the touch screen calibration process
touch-calib
. Here, parameter
pcmdLine
is used to call the command line process as follows:
Call syntax
touch-calib [timeout
]
Parameter
timeout
... Touch screen calibration timeout in seconds.
Valid range: 1 - 300
If
touch-calib
is called without a parameter, then touch screen calibration runs without a timeout.
Example
pcmdLine:
touch-calib 10
Touch screen calibration runs with a timeout of 10 seconds.
Implementation
The VNC-based HMI application must have a button that has been assigned a corresponding function, which calls
RfbExtStartProcess()
with the appropriate parameters.
6.4.3 Adjusting display brightness
Required function in library
AsRfbExt
:
RfbExtStartProcess()
Function
RfbExtStartProcess()
is used to adjust the display brightness process
dim
. Here, parameter
pcmdLine
is
used to call the command line process as follows:
Call syntax
dim brightness
Parameter
brightness ... Brightness of the display in percent [%]:
Valid range: 0 - 100
Example
pcmdLine:
dim 75
The display brightness is set to 75%.
Implementation
The VNC-based HMI application includes a button that has been assigned a corresponding function, which calls
RfbExtStartProcess()
with the appropriate parameters. The application can get the display brightness from an input field, which has also been defined in the
HMI application.
The display brightness set with
dim
changes the current display setting, but does not change the default setting
used after restarting the device.
The default display brightness setting is configured on service page
Screen
or in Automation Studio (see section
).
Unlike the setting option on service page
Screen
,
dim
can be used to set the total brightness range of the display
from 0 to 100% (see
"Service page Screen" on page 63
).
6.4.4 Audio signal output
Required function in library
AsRfbExt
:
RfbExtStartProcess()
Function
RfbExtStartProcess()
is used to start the
beep
process and output an audio signal on the Power Panel.
Here, parameter
pcmdLine
is used to call the command line process as follows:
Call syntax
beep [frequency] [duration]
Parameter
frequency ... Frequency of the audio signal in Hertz (Hz).
Valid range: 10 - 15000
duration
... Duration of the audio signal in milliseconds [ms].
Valid range: 10 - 500
If a value is not specified, the default setting is used.
Example
pcmdLine:
beep 880 400
An audio signal with 880 Hz and a duration of 400 ms is output.
Implementation
The VNC-based HMI application can output an audio signal using function
RfbExtStartProcess(),
in order to clearly illustrate certain
states or actions.
Calling
beep
with specific parameters does not change the default setting for the device.
The default setting for the audio signal is configured on service page
Audio
or in Automation Studio (see section
).
Information:
Emitting an audible tone with
beep
is always done independent of the setting on service page
Audio
(see
"Service page Audio" on page 66
).