cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Integrity Modeler 8.2 ACS config - missing port settings

Paul_Matthews
2-Guest

Integrity Modeler 8.2 ACS config - missing port settings

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).

 

SimParams.cpp snippet

 

From reading I am supposed to see the definition of the port and address in the advanced tab of the ACS settings like below;

 

What I'm supposed to see...

 

However what I actually see is is missing those options like below.

What I'm actually seeing....

 

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.

 

0 REPLIES 0
Announcements


Top Tags