Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

these commands silence the different reporting channels

ierr = psspy.promptoutput(islct = None) ierr = psspy.reportoutput(islct = None) ierr = psspy.progressoutput(islct = None) ierr = psspy.alertoutput(islct = None)

these commands re-enable them

ierr = psspy.reportoutput(islct = 6) ierr = psspy.progressoutput(islct = 6) ierr = psspy.alertoutput(islct = 6) ierr = psspy.promptoutput(islct = 6)

they behave weirdly when I run them right scripts from Idle. But from within PSSE they work.

usually I create an echo method which shuts all reporting off but switches it back in for any output I need.

these commands silence the different reporting channels

ierr = psspy.promptoutput(islct psspy.prompt_output(islct = None)
ierr = psspy.reportoutput(islct psspy.report_output(islct = None)
ierr = psspy.progressoutput(islct psspy.progress_output(islct = None)
ierr = psspy.alertoutput(islct psspy.alert_output(islct = None) 

None)

these commands re-enable them

ierr = psspy.reportoutput(islct psspy.report_output(islct = 6)
ierr = psspy.progressoutput(islct psspy.progress_output(islct = 6)
ierr = psspy.alertoutput(islct psspy.alert_output(islct = 6)
ierr = psspy.promptoutput(islct psspy.prompt_output(islct = 6)

6)

they behave weirdly when I run them right scripts from Idle. But from within PSSE they work.

usually I create an echo method which shuts all reporting off but switches it back in for any output I need.

these commands silence the different reporting channels

ierr = psspy.prompt_output(islct = None)
ierr = psspy.report_output(islct = None)
ierr = psspy.progress_output(islct = None)
ierr = psspy.alert_output(islct = None)

these commands re-enable them

ierr = psspy.report_output(islct = 6)
ierr = psspy.progress_output(islct = 6)
ierr = psspy.alert_output(islct = 6)
ierr = psspy.prompt_output(islct = 6)

they behave weirdly when I run them right scripts from Idle. But from within PSSE they work.

usually I create an echo method which shuts all reporting off but switches it back in for any output I need.