CreateControllersFromFile¶
-
void ISystem.CreateControllersFromFile(string filename)¶
Creates simulated controllers from an XML system description stored in file.
- Parameters
filename – Name of file containing XML system description.
- Throws
InvalidFormatException– Invalid XML contents (see exception message for details).InvalidConfigException– Simulator service cannot start/locate the simulator executable.OutOfResourcesException– Maximum number of controllers or pipes reached (limited by simulator service platform hardware resources).TimeoutException– Simulator service communication timeout.AccessDeniedException– Unable to open file for reading.ReadErrorException– Error while reading from the specified file.CommunicationErrorException– Protocol error.