ImportData(Project,String,String,String,ImportMatch,Boolean) Method
In This Topic
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
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. |
BaseException | An error occurred
during the export. |
See Also