Open Automation Software
 

OPC Systems.NET
OPC Client.NET
OPC Controls.NET
OPC Mobile.NET
OPC Web Controls
OPC Trend.NET
OPC Web Trend
OPC Alarm.NET
OPC Web Alarm
OPC Database.NET
OPC Recipe.NET
OPC Report.NET
OPC Route.NET

Download
Purchase
Versions
Smart Client
HMI
Networking
Licensing
Component
Symbols

 

Main Products Sales Services Case Studies Downloads Information Contact Us 請選擇你的語言 Deutsch

OPC Systems.NET Programmatic Interface Component

The OPC Systems.NET Programmatic Interface Component allows developers to build applications easily that can communicate and configure both local and remote OPC Systems Services.  The component is free to use with any licensed OPC Systems Service.

Smart Client Deployment

bulletAll OPC Systems.NET components are Smart Client compatible.
bullet

Application execution on remote systems without installing the application on the remote systems.

bullet

Better user experience than web browser applications.

bullet

Application updates to one directory and all remote systems are updated automatically.

bullet

Tighter security control than web browser applications using built in .NET Framework security.

bullet

Refer to OPC Systems.NET help file for Smart Client Deployment steps.

Examples of each of the methods and properties listed below can viewed in the Example application that installs with OPC Systems.NET.

General

OPCSystemsComponent.GetFullyLicensed Method

The GetFullyLicensed Function returns the license status of an OPC Systems Service. Returns -1 if service is not reachable. Returns 0 if the service is not yet fully licensed, running in demo mode or disabled. Returns 1 if the service has been licensed. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetFullyLicensed( _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int GetFullyLicensed(

string NetworkNode

);

 

OPCSystemsComponent.GetLicenseString Method

The GetLicenseString Function returns a string of the OPC Systems Service license. Returns OPC Systems Service Not Reachable if service is not reachable. Returns the license string if successful. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetLicenseString( _

ByVal NetworkNode As String _

) As String

 

[C#]

public string GetLicenseString(

string NetworkNode

);

 

OPCSystemsComponent.GetListOfOPCServers Method

The GetListOfOPCServers Function returns a list of Registered OPC Servers from the Network Node as a String Array. Returns empty String Array if no Registered Servers are found or if the OPC Systems Service is not reachable. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetListOfOPCServers( _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetListOfOPCServers(

string NetworkNode

);

 

OPCSystemsComponent.GetOPCBranches Method

The GetOPCBranches Function returns a list of Branches from the OPC Servers as a String Array. Returns empty String Array if no Branches are found or if the OPC Systems Service is not reachable. OPCServer is the name of the OPC Server to browse. ReferencePath is a string of the branches path to browse. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetOPCBranches( _

ByVal OPCServer As String, _

ByVal ReferencePath As String, _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetOPCBranches(

string OPCServer,

string ReferencePath,

string NetworkNode

);

 

OPCSystemsComponent.GetOPCItems Method

The GetOPCItems Function returns a list of Items from the OPC Servers as a String Array. Returns empty String Array if no Items are found or the OPC Systems Service is not reachable. OPCServer is the name of the OPC Server to browse. ReferencePath is a string of the branches path to browse. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetOPCItems( _

ByVal OPCServer As String, _

ByVal ReferencePath As String, _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetOPCItems(

string OPCServer,

string ReferencePath,

string NetworkNode

);

 

OPCSystemsComponent.GetNetworkNodes Method

The GetNetworkNodes Function returns a list of Network Nodes from the local system as a String Array. Returns empty String Array if no Network Nodes are found.

 

[Visual Basic]

Public Function GetNetworkNodes() As String()

 

[C#]

public string[] GetNetworkNodes()

OPCSystemsComponent.GetVersion Method

The GetVersion Function is useful for an easy check if the OPC Systems Service is started and reachable. Returns -1 if service is not reachable. Returns positive number of current version if successful. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetVersion( _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int GetVersion(

string NetworkNode

);

 

OPCSystemsComponent.InRuntime Method

The InRuntime Function returns the Runtime Status of an OPC Systems Service. Returns -1 if service is not reachable. Returns 0 if service is not in Runtime. Returns 1 if service is in Runtime. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function InRuntime( _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int InRuntime(

string NetworkNode

);

 

OPCSystemsComponent.StartRuntime Method

The StartRuntime Subroutine Starts the OPC Systems Service Runtime Mode. If the Service is already in Runtime Mode no method occurs. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Sub StartRuntime( _

ByVal NetworkNode As String _

)

 

[C#]

public void StartRuntime(

string NetworkNode

);

 

OPCSystemsComponent.StopRuntime Method

The StopRuntime Subroutine Stops the OPC Systems Service Runtime Mode. If the Service is not in Runtime Mode no method occurs. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Sub StopRuntime( _

ByVal NetworkNode As String _

)

 

[C#]

public void StopRuntime(

string NetworkNode

);

 

 

Groups

OPCSystemsComponent.AddGroup Method

The AddGroup Function adds a Group to the existing Tag configuration. Returns -1 if service is not reachable. Returns 1 if successful. Returns 0 if the Group already exists or adding the Group failed. Group is the name of the Group to add. ReferenceGroup is a string of the Group path to add the Group to. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function AddGroup( _

ByVal Group As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int AddGroup(

string Group,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.GetGroupNames Method

The GetGroupNames Function returns a list of Groups in the specified ReferenceGroup path. Returns Empty String Array if service is not reachable. Returns a String Array of Groups in the ReferenceGroup. ReferenceGroup is a string of the Group path to retrieve the Groups from. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetGroupNames( _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetGroupNames(

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.RemoveGroup Method

The RemoveGroup Function removes a Group from the existing Tag configuration. Returns -1 if service is not reachable. Returns 1 if successful. Returns 0 if the Group does not exist or removing the Group failed. Group is the name of the Group to remove. ReferenceGroup is a string of the Group path to remove the Group from. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function RemoveGroup( _

ByVal Group As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int RemoveGroup(

string Group,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.RenameGroup Method

The RenameGroup Function renames an existing Group in the Tag configuration. Returns -1 if service is not reachable. Returns 1 if successful. Returns 0 if the Old Group does not exist, the New Group already exists, or renaming the Group failed. OldGroup is the name of the existing Group to rename. NewGroup is the name to change the Group to. ReferenceGroup is a string of the Group path to rename the Group in. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function RenameGroup( _

ByVal OldGroupName As String, _

ByVal NewGroupName As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int RenameGroup(

string OldGroupName,

string NewGroupName,

string ReferenceGroup,

string NetworkNode

);

 

Tags

OPCSystemsComponent.AddTag Method

The AddTag Function adds a Tag to the existing Tag configuration. Returns -1 if service is not reachable. Returns 1 if successful. Returns 0 if the Tag already exists or adding the Tag failed. Tag is the name of the Tag to add. ReferenceGroup is a string of the Group path to add the Tag to. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function AddTag( _

ByVal Tag As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int AddTag(

string Tag,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.DeleteAllTags Method

The DeleteAllTags Function removes all Tags from the existing Tag configuration. Returns -1 if service is not reachable. Returns 1 if successful. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function DeleteAllTags( _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int DeleteAllTags(

string NetworkNode

);

 

OPCSystemsComponent.GetParameter_Property_Strings Method

The GetParameter_Property_Strings Function returns an array of Strings containing all property types available for each Parameter. Returns Empty String Array if service is not reachable. Returns a String Array of property types for all Parameters. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetParameter_Property_Strings( _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetParameter_Property_Strings(

string NetworkNode

);

 

OPCSystemsComponent.GetTag_Parameter_Strings Method

The GetTag_Parameter_Strings Function returns an array of Strings containing all Parameter Types available for each Tag. Returns Empty String Array if service is not reachable. Returns a String Array of Parameter Types for all Tags. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetTag_Parameter_Strings( _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetTag_Parameter_Strings(

string NetworkNode

);

 

OPCSystemsComponent.GetTag_Parameter_Value Method

The GetTag_Parameter_Value Function returns an object value for the Tag.Parameter.Property specified. Returns nothing if service is not reachable. Parameter is a String of the Parameter Type desired of the Tag. PropertyType is a String of the Property Type desired of the Parameter. TagName is a String of the Tag desired. ReferenceGroup is a String of the Group(s) where the Tag is to be contained. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetTag_Parameter_Value( _

ByVal Parameter As String, _

ByVal PropertyType As String, _

ByVal TagName As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Object

 

[C#]

public object GetTag_Parameter_Value(

string Parameter,

string PropertyType,

string TagName,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.GetTag_Parameter_Values Method

The GetTag_Parameter_Values Function returns an array of object values for the Tag.Parameter specified. The order of the array corresponds with the GetParameter_Property_Strings Function order. Returns empty array if service is not reachable. Parameter is a String of the Parameter Type desired of the Tag. TagName is a String of the Tag desired. ReferenceGroup is a String of the Group(s) where the Tag is to be contained. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetTag_Parameter_Values( _

ByVal Parameter As String, _

ByVal TagName As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Object()

 

[C#]

public object[] GetTag_Parameter_Values(

string Parameter,

string TagName,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.GetTagNames Method

The GetTagNames Function returns a list of Tags in the specified ReferenceGroup path. Returns Empty String Array if service is not reachable. Returns a String Array of Tags in the ReferenceGroup. ReferenceGroup is a string of the Group path to retrieve the Tags from. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetTagNames( _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetTagNames(

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.LoadTagConfiguration Method

The LoadTagConfiguration Subroutine saves the current Tag configuration to the specified file path. ConfigurationFilePath is the file path to load in reference to the OPC Systems Service. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Sub LoadTagConfiguration( _

ByVal ConfigurationFilePath As String, _

ByVal NetworkNode As String _

)

 

[C#]

public void LoadTagConfiguration(

string ConfigurationFilePath,

string NetworkNode

);

 

OPCSystemsComponent.RemoveTag Method

The RemoveTag Function removes a Tag from the existing Tag configuration. Returns -1 if service is not reachable. Returns 1 if successful. Returns 0 if the Tag does not exist. Tag is the name of the Tag to remove. ReferenceGroup is a string of the Group path to remove the Tag from. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function RemoveTag( _

ByVal Tag As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int RemoveTag(

string Tag,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.SaveTagConfiguration Method

The SaveTagConfiguration Subroutine saves the current Tag configuration to the specified file path. ConfigurationFilePath is the file path to save in reference to the OPC Systems Service. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Sub SaveTagConfiguration( _

ByVal ConfigurationFilePath As String, _

ByVal NetworkNode As String _

)

 

[C#]

public void SaveTagConfiguration(

string ConfigurationFilePath,

string NetworkNode

);

 

OPCSystemsComponent.SetTag_Parameter_Value Method (String, String, Object, String, String, String)

The SetTag_Parameter_Value Function sets an object value for the Tag.Parameter.Property specified. Returns -1 if service is not reachable. Returns 1 if the function was successful. Parameter is a String of the Parameter Type desired of the Tag. PropertyType is a String of the Property Type desired of the Parameter. Value is the desired value to set. TagName is a String of the Tag desired. ReferenceGroup is a String of the Group(s) where the Tag is to be contained. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Overloads Public Function SetTag_Parameter_Value( _

ByVal Parameter As String, _

ByVal PropertyType As String, _

ByVal Value As Object, _

ByVal TagName As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int SetTag_Parameter_Value(

string Parameter,

string PropertyType,

object Value,

string TagName,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.SetTag_Parameter_Value Method (String[], String[], Object[], String, String, String)

The SetTag_Parameter_Values Function sets an object value for the Tag.Parameter.Property specified. Returns -1 if service is not reachable. Returns 1 if the function was successful. Parameters is a String array of the Parameter Types desired of the Tag. PropertyTypes is a String array of the Property Type desired of the Parameter. Values is an Object array the desired values to set. TagName is a String of the Tag desired. ReferenceGroup is a String of the Group(s) where the Tag is to be contained. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Overloads Public Function SetTag_Parameter_Value( _

ByVal Parameters As String(), _

ByVal PropertyTypes As String(), _

ByVal Values As Object(), _

ByVal TagName As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int SetTag_Parameter_Value(

string[] Parameters,

string[] PropertyTypes,

object[] Values,

string TagName,

string ReferenceGroup,

string NetworkNode

);

 

Trend Points

OPCSystemsComponent.GetHistoryTagNames Method

The GetHistoryTagNames Function returns a list of Field Names in the Data Logging Group. Returns Empty String if service is not reachable. Returns a String Array of Field Names in the Data Logging Group. Group is a string of the Data Logging Group path to retrieve the Field Names from. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetHistoryTagNames( _

ByVal Group As String, _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetHistoryTagNames(

string Group,

string NetworkNode

);

 

 

OPCSystemsComponent.GetTrendPointGroupNames Method

The GetTrendPointGroupNames Function returns a list of Groups in the specified ReferenceGroup path that contain Tags that are enabled for trending. Returns Empty String if service is not reachable. Returns a String Array of Groups in the ReferenceGroup that have Tags that are enabled for trending. ReferenceGroup is a string of the Group path to retrieve the Groupss from. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetTrendPointGroupNames( _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetTrendPointGroupNames(

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.GetTrendPointParameterNames Method

The GetTrendPointParameterNames Function returns a list of Parameters of a Tag in the specified ReferenceGroup path that is enabled for trending. Returns Empty String if service is not reachable. Returns a String Array of Tags in the ReferenceGroup that are enabled for trending. TagName is a string of the tag name to query. ReferenceGroup is a string of the Group path to retrieve the Tags from. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetTrendPointParameterNames( _

ByVal TagName As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetTrendPointParameterNames(

string TagName,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.GetTrendPointTagNames Method

The GetTrendPointTagNames Function returns a list of Tags in the specified ReferenceGroup path that are enabled for trending. Returns Empty String if service is not reachable. Returns a String Array of Tags in the ReferenceGroup that are enabled for trending. ReferenceGroup is a string of the Group path to retrieve the Tags from. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetTrendPointTagNames( _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetTrendPointTagNames(

string ReferenceGroup,

string NetworkNode

);

 

 

Data Logging

OPCSystemsComponent.AddDataLoggingGroup Method

The AddDataLoggingGroup Function adds a Data Logging Group to the existing Data Logging configuration. Returns -1 if service is not reachable. Returns 1 if successful. Returns 0 if the Group already exists or adding the Group failed. Group is the name of the Group to add. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function AddDataLoggingGroup( _

ByVal Group As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int AddDataLoggingGroup(

string Group,

string NetworkNode

);

 

OPCSystemsComponent.GetDataLogging_Parameter_Value Method

The GetDataLogging_Parameter_Value Function returns an object value for the Data Logging Group and Parameter specified. Returns nothing if service is not reachable. Parameter is a String of the Parameter Type desired of the Data Logging Group. Group is a String of the Data Logging Group desired. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetDataLogging_Parameter_Value( _

ByVal Parameter As String, _

ByVal Group As String, _

ByVal NetworkNode As String _

) As Object

 

[C#]

public object GetDataLogging_Parameter_Value(

string Parameter,

string Group,

string NetworkNode

);

 

OPCSystemsComponent.GetDataLogging_Parameter_Values Method

The GetDataLogging_Parameter_Values Function returns an array of object values for the Data Logging Group specified. The order of the array corresponds with the GetDataLoggingParameterStrings Function order. Returns empty array if service is not reachable. Group is a String of the Data Logging Group desired. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetDataLogging_Parameter_Values( _

ByVal Group As String, _

ByVal ReferenceGroup As String, _

ByVal NetworkNode As String _

) As Object()

 

[C#]

public object[] GetDataLogging_Parameter_Values(

string Group,

string ReferenceGroup,

string NetworkNode

);

 

OPCSystemsComponent.GetDataLoggingNames Method

The GetDataLoggingNames Function returns a list of the Data Logging Groups. Returns Empty String Array if service is not reachable. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetDataLoggingNames( _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetDataLoggingNames(

string NetworkNode

);

 

OPCSystemsComponent.GetDataLoggingParameterStrings Method

The GetDataLoggingParameterStrings Function returns an array of Strings containing all property types available for each Data Logging Group. Returns Empty String Array if service is not reachable. Returns a String Array of property types for all possible Parameters for a Data Logging Group. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function GetDataLoggingParameterStrings( _

ByVal NetworkNode As String _

) As String()

 

[C#]

public string[] GetDataLoggingParameterStrings(

string NetworkNode

);

 

OPCSystemsComponent.LoadDataLoggingConfiguration Method

The LoadDataLoggingConfiguration Subroutine saves the current Data Logging configuration to the specified file path. ConfigurationFilePath is the file path to load in reference to the OPC Systems Service. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Sub LoadDataLoggingConfiguration( _

ByVal ConfigurationFilePath As String, _

ByVal NetworkNode As String _

)

 

[C#]

public void LoadDataLoggingConfiguration(

string ConfigurationFilePath,

string NetworkNode

);

 

OPCSystemsComponent.RemoveDataLoggingGroup Method

The RemoveDataLoggingGroup Function removes a Data Logging Group from the existing Data Logging configuration. Returns -1 if service is not reachable. Returns 1 if successful. Returns 0 if the Group does not exist or removing the Group failed. Group is the name of the Group to remove. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function RemoveDataLoggingGroup( _

ByVal Group As String, _

ByVal NetworkNode As String _

) As Integer

 

[C#]

public int RemoveDataLoggingGroup(

string Group,

string NetworkNode

);

 

OPCSystemsComponent.SaveDataLoggingConfiguration Method

The SaveDataLoggingConfiguration Subroutine saves the current Data Logging configuration to the specified file path. ConfigurationFilePath is the file path to save in reference to the OPC Systems Service. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Sub SaveDataLoggingConfiguration( _

ByVal ConfigurationFilePath As String, _

ByVal NetworkNode As String _

)

 

[C#]

public void SaveDataLoggingConfiguration(

string ConfigurationFilePath,

string NetworkNode

);

 

OPCSystemsComponent.SetDataLogging_Parameter_Value Method

The SetDataLogging_Parameter_Value Function sets an object value for the Data Logging Group and Parameter specified. Returns -1 if service is not reachable. Returns 0 if the Group does not exist or the value did not get set correctly. Returns 1 if the function was successful. Parameter is a String of the Parameter Type desired of the Data Logging Group. Value is the desired value to set. Group is a String of the Data Logging Group desired. NetworkNode is the name of the network node of the OPC Systems Service to connect to.  Leave blank for localhost connection.

 

[Visual Basic]

Public Function SetDataLogging_Parameter_Value( _

ByVal Parameter As String, _

ByVal