ExportData(Project,String,String,String,String) Method
In This Topic
Exports PLC data using the specified converter.
Syntax
Parameters
- oProject
- Project which the PLC data will be exported from.
- strConfigurationProject
- The name of the PLC configuration data set to export. It must be one of the strings returned by the GetPLCConfigurationProjects function.
- strConverterID
- ID of the PLC data converter to use. The IDs of the registered PLC converters together with their full names may be obtained by calling the GetAvailableConverters method.
- strLanguage
- Language used during the export operation, e.g. de_DE, en_EN, etc.
- strOutputFileName
- Full file name of the output file. The file name should have correct extension according to the converter used.
Exceptions
Exception | Description |
ArgumentNullException | Thrown in case of
missing parameters. |
ArgumentException | Thrown in case of
invalid arguments,
e.g. the given
Project does not
exist or isn't
valid. |
ApplicationException | \Internal interface
for exporting PLC
data could not be
created. |
Eplan.EplApi.Base.BaseException | An error occurred
during the export. |
See Also