Skip to content

Commit

Permalink
Isse modelica#33: Define error handling for services not able to run …
Browse files Browse the repository at this point in the history
…several instances in parallel
  • Loading branch information
PTaeuberDS committed Aug 30, 2023
1 parent dadadc0 commit 03c7844
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ _In this case, a combination of, e.g., `structuralParameters` and `constant outp
The configuration variables are duplicated for both transport layers, TCP and UDP, as it is technically possible to have an XCP slave that uses TCP and UDP channels in parallel.
The FMU shall only provide the corresponding variables for the protocols it supports.

_[Without knowing the concrete XCP slave implementation the importer cannot know if the different protocols can be used in parallel or only exclusively._
_The FMU decides which protocol it uses in the case the XCP service is not multi-session capable and both of the variables `org.fmi_standard.fmi_ls_xcp.EnableXcpOn[Tcp|Udp]Ip` are set to `true`._
_This information may also be provided in the `documentation` directory inside the FMU.]_
Without knowing the concrete XCP slave implementation the importer cannot know if the different protocols can be used in parallel or only exclusively.
In the case the XCP service is not multi-session capable and both of the variables `org.fmi_standard.fmi_ls_xcp.EnableXcpOn[Tcp|Udp]Ip` are set to `true`, the FMU must return an error in the corresponding setter function and provide a meaningful error message.
This information may also be provided in the `documentation` directory inside the FMU.

The importer of an FMU is responsible for keeping all occurrences of the port number consistent, i.e., in both the FMU configuration and in the A2L file.

Expand Down

0 comments on commit 03c7844

Please sign in to comment.