Opened 9 years ago
Last modified 7 years ago
#3485 new defect
Parameter records are not displayed and cannot be modified in OMEdit GUI
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Frontend | Version: | |
Keywords: | Cc: |
Description
If a model uses parameter records, these records are displayed in the OMEdit GUI as regular parameter entry fields. I attached a sample model of a DC machine to describe the issue using an example. However, the following behavior occurs when double clicking on the DC machine model:
- Switch to "Losses" and enter "brushParameters(V=1)" in the field brushParameters. Click OK
- The following code is then inserted
...dcpm(...,brushParameters = brushParameters(V = 1))
: this is syntactically incorrect Modelica code - When re-opening the DC machine parameter GUI the brushParameters do no appear
- Remove
,brushParameters = brushParameters(V = 1)
from the code - Add syntactically correct in the code
...dcpm(...,brushParameters(V = 1))
- The model checks fine but again, the no brushParameters appear in the GUI
To summarize my investigations, the GUI seems not to be able to handle and display records properly.
Attachments (1)
Change History (6)
by , 9 years ago
Attachment: | DCPM_Start.mo added |
---|
comment:4 by , 8 years ago
Milestone: | 1.11.0 → 1.12.0 |
---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:5 by , 7 years ago
Milestone: | 1.12.0 → Future |
---|
The milestone of this ticket has been reassigned to "Future".
If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.
If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".
In both cases, a short informative comment would be welcome.
DC machine model with loss records