
25
System hardware interface channel events
2 Application Programming Interface (API)
PHD API Reference
nxs.set_heater
Event
nxs.set_heater
Event Data
Keys
Values
Description
heater_level
<0..100>
0 = 0% backlight, 100 = 100% backlight.
Direction
output
Channel
nxs
Notes
Sent by the application to adjust the heater level. The values range from 0 to 100.
The example below assumes that the Storyboard application has, based on user
interaction with a heater level control, called a Lua function called
set_heater_level
with an argument of value and a number from 0 to 100.
Lua Example
function
set_heater_level
(
mapargs
)
local
level
=
mapargs
["
value
"]
local
data
= {}
if
(
level
~=
nil
)
then
print("
Set heater level:
"..
level
)
data
["
heater_level
"] =
level
gre.
send_event_data("
nxs.set_heater
",
"
4u1 heater_level
",
data
, "
nxs
"
)
end
end
Содержание PHD28
Страница 1: ...Parker Hannifin Display PHD User Guide UG PHD 1040001 201707 010...
Страница 52: ...44 PHD Mounting the PHD 9 1 2 PHD50 Figure 18 PHD50 dimensions mm...
Страница 53: ...User Guide 45 Mounting the PHD 9 1 3 PHD70 Figure 19 PHD70 dimensions mm...
Страница 58: ...Parker Hannifin Display PHD User Guide HY33 5021 IB US...
Страница 59: ...PHD Network Interface Configuration Publ no HY33 5021 M1 UK Edition 2017 02 02...
Страница 75: ...PHD API Reference Publ no HY33 5021 M2 UK Edition 2017 02 13...