¿ªÔÆÌåÓý

Locked Getting started with scripting


 

Hello. I'm continuing setting up for automation and controlling from PanelPro, very satisfying, fun,? and thanks for all the help. Have managed to run 2 trains from the computer, have gone through the PanelPro tutorials, am acquiring some NCE hardware for turnouts and detectors, and now am trying scripting.?
Tried the very basic step of printing "hello world" and am getting unexpected results in the Script Output window.?
Script Entry:
print "hello world"
print 1+2
Script Output
>>> print "hello world"
... print 1+2

Any ideas?
?


 

Make sure that you have selected python and not ECMAScript.

Dave Sand

On Jun 29, 2019, at 7:36 AM, haltz@... wrote:

Hello. I'm continuing setting up for automation and controlling from PanelPro, very satisfying, fun, and thanks for all the help. Have managed to run 2 trains from the computer, have gone through the PanelPro tutorials, am acquiring some NCE hardware for turnouts and detectors, and now am trying scripting.
Tried the very basic step of printing "hello world" and am getting unexpected results in the Script Output window.
Script Entry:
print "hello world"
print 1+2
Script Output
print "hello world"
... print 1+2

Any ideas?


 

thanks, that did it!