Configuring an hpXMLCatalog Object

<< Click to Display Table of Contents >>

 

Configuring an hpXMLCatalog Object

After instantiating an hpXMLCatalog object, make sure to configure the properties of this object as described next.

HideDataType: Configure with the value "ScadaSource;OperatorSource;SimulationSource" (only to shorten source code)

InitialPath: Inform here the PathName of the folder to scan

OutputMode: Configure with the value 1 (one, stores the XML code generated in the xmlData property of each xfPlantFolder object)

XMLTemplate: Configure with the value 3 (three)

XRefMode: Configure with the value 1 (one)

 

These settings allow generating an XML code already optimized for use with the Faceplate Screen, which is saved in each object on the data structure that represents a device.

Was this page useful?