
33
CAN channel events
2 Application Programming Interface (API)
PHD API Reference
CAN channel events
canX.info
Event
canX.info
Event Data
Keys
Values
Description
version
<version string>
A string containing the DCP CAN version information.
Direction
input
Channel
canX
Notes
Received by the application to read the CAN version information.
The X in the event and channel name is a number representing the CAN bus,
numbered starting from 1.
The example below assumes the Storyboard application is set up to call Lua function
caninfo_receive
when the
canX.info
event occurs. Event data is available through
the
mapargs
argument.
Lua Example
function
caninfo_receive
(
mapargs
)
local
ev
=
mapargs
.context_event_data
local
version
=
ev
["
version
"]
("
Received version:
"..
version
)
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...