ImportData(Project,String,ImportMatch) Method
In This Topic
Imports PLC data from a file. This method may be used to import PLC data in the PLC standard exchange format (.pbf files) using the PlcDcXMLExchangerUniversal converter. In order to import PLC data using specific PLC data converter, use the overloaded ImportData method together with the GetAvailableConverters method.
Syntax
Parameters
- oProject
- Project into which the PLC data will be imported.
- strFullName
- Full file name of the file to import.
- eImportMatch
- Matching criteria for PLC data import.
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 importing PLC
data could not be
created. |
BaseException | An error occurred
during the import. |
See Also