API Help
Eplan.EplApi.HEServices Namespace / PlcService Class / ExportData Method / ExportData(Project,String,String,String,String,Boolean) Method
Project which the PLC data will be exported from.
The name of the PLC configuration data set to export. It must be one of the strings returned by the GetPLCConfigurationProjects function.
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.
Language used during the export operation, e.g. de_DE, en_EN, etc.
Full file name of the output file. The file name should have correct extension according to the converter used.
If the output file already exists, this parameter specifies whether it should be overwritten.

In This Topic
    ExportData(Project,String,String,String,String,Boolean) Method
    In This Topic
    Exports PLC data using the specified converter. Use the GetAvailableConverters method to get the list of registered PLC data converters.
    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.
    bOverwrite
    If the output file already exists, this parameter specifies whether it should be overwritten.
    Exceptions
    ExceptionDescription
    Thrown in case of missing parameters.
    Thrown in case of invalid arguments, e.g. the given Project does not exist or isn't valid.
    \Internal interface for exporting PLC data could not be created.
    An error occurred during the export.
    Remarks
    If the given directory in the full file name does not exist, it will be created.
    See Also