9.1.6.4 AddDataSetWriter Method (Deprecated)

This deprecated Method is used to add a new DataSetWriterType Object to an instance of the WriterGroup. A successful creation of the DataSetWriter shall also create a Reference from the related PublishedDataSet Object to the created DataSetWriter.

The Client should be authorized to modify the configuration for the PubSub functionality when invoking this Method on the Server.

Signature

	AddDataSetWriter (
		[in]	DataSetWriterDataType 	Configuration,
		[out]	NodeId			DataSetWriterNodeId
		);
	
Argument Description
ConfigurationConfiguration parameters for the DataSetWriter. The parameters and the DataSetWriterDataType are defined in 6.2.3.10.5.
DataSetWriterNodeIdThe NodeId of the new DataSetWriter Object.

Method Result Codes

ResultCode Description
Bad_InvalidArgumentThe Server is not able to apply the name. The name may be too long or may contain invalid characters.
Bad_DataSetIdInvalidThe DataSet specified for the DataSetWriter creation is invalid.
Bad_BrowseNameDuplicatedAn Object with the name already exists in the group.
Bad_ResourceUnavailableThe Server has not enough resources to add the DataSetWriter.
Bad_UserAccessDeniedThe Session user does not have rights to create the DataSetWriter.

Table 277 specifies the AddressSpace representation for the AddDataSetWriter Method.

Table 277 – AddDataSetWriter Method AddressSpace definition
Attribute Value
BrowseNameAddDataSetWriter
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
HasPropertyVariableOutputArgumentsArgument[] PropertyTypeMandatory
ConformanceUnits
PubSub Model Base