Cancel
Showing results for 
Search instead for 
Did you mean: 

Console

Legend
Legend

Hello,

 

I have a few questions pertaining to the console of Plant Simulation.

 

When I'm printing messages with the console switched off, does this take processing time?

Is there a way to programmatically tell if the console is switched on or off?

 

closeConsole has a boolean parameter, but I can't figure out what it does, and it's not mentioned in the documentation. What does it do?

 

Thanks in advance!

1 REPLY 1

Re: Console

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello,

 

printing to the console while switched off takes some processing time but not much compared to when the console is open.

 

There is no function to query if the console is open. Using such a function before printing would probably take as much processing power as printing to a closed console.

 

The boolean parameter of closeConsole is just for backward compatibility and is no longer used. The return value of closeConsole returns if the console was opened before.

 

Regards,

Ralf

Regards,

Ralf
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.