§
loop
A description of the commands can be found in the chapter Multimedia Player .
·
Value
A value can be set for the set volume and set position command.
Open For Input
With the open for input action it is possible to open one object on the current page for input
so that the user can directly edit it without the need to navigate to it.
Properties:
·
Object ID
The ID of the object that shall be made open for input
Open PDF Reader
It is possible to show PDF documents in a separate application. With this action the
external PDF reader can be opened.
Consequently the PDF reader has to be closed before one can see the project again. Even
alarms will be hidden behind the PDF reader on i.MX 6 based devices.
Properties:
·
PDF File To Open
A PDF file can be selected that will be copied to <project
directory>/terminal_files/additional_files. The PDF reader on the device will then
show this file when opening.
·
Show file open button
The PDF reader can show a "File Open Button" that enables the user to open other
PDF files from the file system or external media. If this button shall be shown, this
property has to enabled. This property only has an effect if the PDF reader is opened
with a file. If it is opened without a PDF file, the "File Open Button" is always shown.
Notes about viewing PDFs:
Handling of PDFs may need a lot of CPU power and may consume a lot of memory
(especially when loading a new page). To improve the user experience the following points
should be taken into consideration:
·
All fonts used in the PDF should be embedded in the document so the PDF reader
does not have to search for a matching system font.
·
If the PDF document contains embedded graphics, they should be saved in the same
resolution (DPI) as the display of the target device.
·
The whole PDF document should already have the correct size to display at 100% on
the target device so that the user does not need to zoom in or out.
·
If your system needs very fast response times on the CAN bus, it should be tested if
these response times can be kept while displaying a PDF or switching pages in the
PDF reader.
Note that the PDF reader does not work in the PClient simulation.
Set Media Player Command
The available actions for the Media Player are described here.
Toggle Video Display
This action is currently not supported and has no effect at runtime.
Temporarily Display Video