controlx-io / logic-prover-support

Support page for PLC Logic Prover
9 stars 0 forks source link

Test runs successfully on PC but failing on VM #4

Closed alex-controlx closed 3 years ago

alex-controlx commented 4 years ago

App version: 0.1.10 Occurrence: Constant presence on VMs with Windows 7 and Windows 10. However no issues on a computer with Windows 10 and on MacOS 10.15.4.

Description: When running the test on VM it fails randomly with TIMEOUT errors and sometimes shows negative values on action duration. Running the same Project on a computer passes all the actions and tests.

alex-controlx commented 4 years ago

Timing in this application is very critical. It includes initiation and completion of Action Units, internal steps of Action Unit execution with its communication requests to PLC. On CPU capped Virtual Machines lack of computing power results nuisance errors during the test execution.

The app has no delays between PLC communication writes and reads, and no delays between execution of actions.

In v0.1.11 it will be added a config with adjustable delays.