Instantiate a new instance of the FMU.
Automatically adds the instance to
Instances.
Namespace:
Emulate3D.FMI.V2
Assembly:
Emulate3D.FMI (in Emulate3D.FMI.dll) Version: 18.04.00
Syntaxpublic Instance Instantiate(
string name,
InstancePlatform platform,
InterfaceType interfaceType,
bool loggingOn = true,
int receiveTimeout = 2000
)
Parameters
- name
- Type: SystemString
Instance name. - platform
- Type: Emulate3D.FMIInstancePlatform
Instance platform. - interfaceType
- Type: Emulate3D.FMI.V2InterfaceType
Interface type. - loggingOn (Optional)
- Type: SystemBoolean
If true, debug logging is enabled. - receiveTimeout (Optional)
- Type: SystemInt32
IPC receive timeout (ms).
Return Value
Type:
InstanceA new instance of the FMU.
See Also