Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hi,
I'm trying to use Integrity Modeler (v8.2.13) for code generation for the first time and I've run into an issue. I have made a simple class and and state machine and have used ACS to generate the code sucessfully. When I compile the project in Visual Studio however I get a linker error because the extern for the Simulation port number is not defined (referenced from SimParams.cpp).
From reading I am supposed to see the definition of the port and address in the advanced tab of the ACS settings like below;
However what I actually see is is missing those options like below.
Q: Can someone please enlighten me as to how to make these options appear?
I tried writing them in by hand on the Visual Studio side (see below) , but the simulation crashed after one step through the state machine (which may not be unexpected).
extern int gSimPortNumber = 15777; extern char* gSimMachineAddress = “localhost”;
Sincerely, Paul.