OpenFile Function

Help Contents

Introduction

Displays an external file using the default application for the file.

Informal Syntax:

OpenFile( FileName )

Formal Syntax:

OpenFile( FileName:=Expression )

Parameters

ParameterTypeDescription
FileName ANY_STRING The name of the external file to display.

The OpenFile function opens a file using the default application for the file type.

Return Value

None.

Examples

Displays the PDF file '\\DOCSVR\Files\Diagram.pdf':

OpenFile( "\\DOCSVR\Files\Diagram.pdf" );

Further Information

Operator Actions

To learn where you can use this function.

Structured Text Function Call

To learn about calling a function from IEC 61131-3 structured text.

IEC 61131-3 Expressions

To learn about the different types of expression to use as function parameters.

Graphic Page Tag

For information about the tag used to store graphic pages in Fernhill SCADA.

Glossary

For the meaning of terms used in Fernhill SCADA.