Adjusting Display Brightness; Outputting An Audio Signal - B&R Power Panel T80 User Manual

Table of Contents

Advertisement

Software

7.4.2 Adjusting display brightness

Necessary function of 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 [%]:
Example
pcmdLine: dim 75
The display brightness is set to 75%.
Implementation
In the VNC-based HMI application, a button is assigned a corresponding function that calls RfbExtStartProcess() with the correspond-
ing parameters. The application can take the display brightness from an input field that 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
"Configuration" on page
In contrast to the setting option on service page Screen, dim can be used to set the entire brightness range of the
display from 0 to 100% (see

7.4.3 Outputting an audio signal

Necessary function of 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
duration
If a value is not specified, the default setting is used.
Example
pcmdLine: beep 880 400
An audio signal with 880 Hz and 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 audio signal setting is configured on service page Audio or in Automation Studio (see section
uration" on page
36).
Information:
Emitting an audible tone with beep is always done independently of the setting on service page Audio
(see
"Service page Audio" on page
76
Valid range: 0 - 100
36).
"Service page Screen" on page
... Frequency of the audio signal in hertz [Hz].
Valid range: 10 - 15000
... Duration of the audio signal in milliseconds [ms].
Valid range: 10 - 500
48).
46).
Power Panel T80 User's manual V1.03
"Config-

Advertisement

Table of Contents
loading

Table of Contents