background image

ApplicationMngt

SECTION 3 Class Reference

13

3-2

ApplicationMngt

Allows the client to retrieve Application level information and manage the
running application.

3-2-1

GetErrorString

This method returns the error string corresponding to a specific error code
generated by CXSupervisor in response to a method call on the custom
interface.

GetErrorString(ByVal dwError As Integer, ByRef pString As

Object)

3-2-2

Restart

Causes the CX-Supervisor runtime to be restarted. If a path to a .SR2 file is
specified then this is run upon restart.

Restart(ByVal szFile As String)

3-2-3

GetProjectName

Returns the name of the running CX-Supervisor application project.

GetProjectName(ByRef pName As Object)

vtDataTypeF
ilter

Data type filter. One of:

0 - All types

11 - Boolean

3 - Integer

5 - Real

8 - String

pPoints

Receives an array of strings representing the names of all the 
points that pass the filters

Parameters Description

Parameters Description

dwError

A valid component specific error code that the client had 
returned from an interface function from the component. For 
which the client application is requesting the server’s textual 
representation

pString

Receives a string error message

Parameters Description

szFile

Optional path of the SCS application to run.

Parameters Description

pName

Receives the name of the project

Summary of Contents for CX-Supervisor 3.1

Page 1: ...CX Supervisor Software Cat No W15E EN 01 NET Interface Software Release 3 1 Reference...

Page 2: ...wise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained herein Moreover because OMRON is constantly striving to improve i...

Page 3: ...Copyright Notice 2...

Page 4: ...ts 11 3 1 3 SetValue 11 3 1 4 GetValue 11 3 1 5 IsValidPoint 12 3 1 6 IsValidGroup 12 3 1 7 GetPointData 12 3 1 8 BrowsePoints 12 3 2 ApplicationMngt 13 3 2 1 GetErrorString 13 3 2 2 Restart 13 3 2 3...

Page 5: ...Table of Contents 4 3 4 ScriptMngt 17 3 4 1 ExecuteScript 17 3 4 2 ListScripts 17 3 4 3 GetScriptParameters 17 3 5 ErrorMngt 17 3 5 1 GetErrorLog 17 Revision history 19...

Page 6: ...Table of Contents 5...

Page 7: ...Table of Contents 6...

Page 8: ...CX Supervisor using well defined interfaces to access specific areas of functionality The interface can be divided in to the following areas of functionality Point monitoring and data gathering Appli...

Page 9: ...Referencing the DLL SECTION 1 Introduction 8...

Page 10: ...string errors string list use error log 2 2 C NET declare variables CPointMngtClass pointMngr new CPointMngtClass object list get list of points pointMngr ListPoints out list convert list to string a...

Page 11: ...VB NET and ASP NET SECTION 2 Examples 10...

Page 12: ...More than allowed maximum the value returned in the retVal parameter will differ from that specified and represent the actual value the point was set to SetValue ByVal szName As String ByVal varValue...

Page 13: ...Value As Object 3 1 8 BrowsePoints This method retrieves a filtered list of the points contained within a CX Supervisor application BrowsePoints ByVal szFilter As String ByVal szGroup As String ByVal...

Page 14: ...As String 3 2 3 GetProjectName Returns the name of the running CX Supervisor application project GetProjectName ByRef pName As Object vtDataTypeF ilter Data type filter One of 0 All types 11 Boolean 3...

Page 15: ...nt s instance s App ID IsValidAppId ByVal szAppId As String ByRef retVal As Integer 3 2 8 IsValidUser This method determines whether the given username and password matches a configured CXSupervisor r...

Page 16: ...ef pDescription As Object ByRef pPriority As Object ByRef pStatus As Object ByRef pDateTime As Object ByRef pMessage As Object Parameters Description pGroups Receives an array of strings representing...

Page 17: ...e time message and status information The list matches the order of entries in the log GetAlarmLog ByRef pAlarmLogEntries As Object 3 3 8 GetActiveAlarms Retrieves a list of all the currently active a...

Page 18: ...tParameters ByVal szName As String ByRef pParamList As Object 3 5 ErrorMngt Allows the client to access to the error log 3 5 1 GetErrorLog Get a list of all the error log entries GetErrorLog ByRef pEr...

Page 19: ...ErrorMngt SECTION 3 Class Reference 18...

Page 20: ...log number on the front cover of the manual The following table lists the changes made to the manual during each revision The page numbers of a revision refer to the previous version Cat No W15E EN 01...

Page 21: ...Revision history 20...

Page 22: ...5E EN 01 Note Specif cations subject to change without notice Authorized Distributor Printed in Europe Cat No I55E EN 01 CJ1W MCH72 Programmable Controller SYSMAC CJ series Motion Control Unit OPERATI...

Reviews: