<< Click to Display Table of Contents >> Navigation: Simulations > PClient Simulation |
The PClient is the application that reads and runs the saved project. The PClient Simulation was developed to make it easy to test small changes in a project without having to transfer the project to the device. It allows to run a version of the PClient directly on the Windows PC with the currently active project from the tool. The PClient Simulation shares a lot of it's code with the version installed on the devices but since the simulation is run on a very different hardware and operating system it can not run 100% the same as on the device. Please keep this in mind and don't forget to test everything on the final hardware. Especially file operations that contain absolute paths or relative paths outside the project directory will not work on a Windows PC (e.g. changing images in JavaScript with the setProperty() functions). Additionally it is possible to start a simulation mode on the PClient running on the device. In this mode, it is possible for applications like the Variable Simulation to connect to a PClient running on the device. See Simulation Settings for details about how to enable that mode. |
It is possible to start a simulation of the currently active project using PClient: •via Simulation Toolbar •via Simulation Menu Before the simulation is started, it should be checked if the simulation settings are correct. To do that open the Simulation Menu on Simulation Settings: Important Notes: •The PClient simulation will always use the last saved version of the active project. So make sure that the project you want to simulate contains no unsaved changes. •Starting PClient Simulation on PC is not possible if the connection settings are not set to "Local PC" •Starting PClient the first time may take several seconds. Please be patient until it shows up. All following starts will be significantly faster.
|
The running PClient should behave like the "real" PClient on the device with the exception of some hardware and operating system depending functions that can not be simulated properly (yet). This includes for example that all hardware variables will not work with the simulated PClient when running on local PC.
The output of the PClient console will be printed into the Output Window of the program to make simulation debugging easier. The output will be in a separate tab in the Output Window.
|
Simply close the window like any other window or hit ALT+F4. |