Simulator mode detection using scripting
Posted: Wed Mar 13, 2019 6:09 am
Hi all,
I was wondering if there is a way in iX developer to determine if the project is in the simulator mode.
Use case: Automatically change the com port number to another defined COM port if the simulator is launched. The com port numbers differ between PC and Beijer terminal.
P.S. I currently use a define to select the simulator mode but that is still a manual process to change between simulator and real terminal.
Cheers and thanks in advance,
Pepijn Hogervorst
I was wondering if there is a way in iX developer to determine if the project is in the simulator mode.
Use case: Automatically change the com port number to another defined COM port if the simulator is launched. The com port numbers differ between PC and Beijer terminal.
P.S. I currently use a define to select the simulator mode but that is still a manual process to change between simulator and real terminal.
Cheers and thanks in advance,
Pepijn Hogervorst