Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL USER MANUAL VERSIONS

Ignition 8.1
Ignition 7.9
Ignition 7.8

Deprecated Pages

Skip to end of metadata
Go to start of metadata

The following feature is new in Ignition version 8.0.4
Click here to check out the other new features
This function is used in Python Scripting.

Description

Sends print statements to the scripting console when in the Designer. When in a Session, sends print statements to the output console. This function makes scripting diagnostics easier.

Syntax

system.perspective.print([message], [sessionId], [pageId], [destination])

  • Parameters

String message - The print statement that will be displayed on the console.

String sessionId - Identifier of the Session to target. If omitted, the current Session will be used automatically. When targeting a different session, then the pageId parameter must be included in the call. [optional]

String pageId - Identifier of the Page to target. If omitted, the current Page will be used automatically. [optional]

The following feature is new in Ignition version 8.0.10
Click here to check out the other new features


String
destination - Where the message should be printed. If specified, must be "client", "gateway", or "all". Default is "client". [optional]

  • Returns

None

  • Scope

Perspective Session

Code Examples
Code Snippet - View
# Sends print statement to the console.
system.perspective.print(message="Hello World", destination="gateway")
Keywords

system perspective print, perspective.print

  • No labels