API Help
Eplan.EplApi.HEServices Namespace / PlcService Class / ImportData Method / ImportData(Project,String,String,String,ImportMatch,Boolean) Method
Project which the PLC data will be imported to.
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 import process, e.g. de_DE, en_EN, etc.
The input file name in the format corresponding to the converter used.
Matching criteria for PLC data import.
Shows compare dialog when true.

ImportData(Project,String,String,String,ImportMatch,Boolean) Method
Imports 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 imported to.
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 import process, e.g. de_DE, en_EN, etc.
strInputFileName
The input file name in the format corresponding to the converter used.
eImportMatch
Matching criteria for PLC data import.
bShowCompareDlg
Shows compare dialog when true.
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.
See Also