You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While processing a header file with Trick 19.5.1, we noticed some inconsistent error processing during ICG processing. In addition, some parameters did not generate any warnings and these parameters were not added to the S_sie.resource file and hence these parameters were not visible to be logged or viewed by trick DR logging and Trick TV. Note that the parameters that generated the warning messages were included in the S_sie.resource file:
<member units="ohm" type="float" name="Analog_Out_Thermistor_Resistance_Panel3" io_attributes="15" description="sSolarArray: This is the Total Resultant resistance value for the thermistor circuit."/>
<member units="ohm" type="float" name="ms_root_resistance" io_attributes="15" description="sSolarArray: State current panel hinge resistance."/>
<member units="1" type="float" name="test_root_resistance" io_attributes="15" description="sSolarArray: State current panel hinge resistance."/>
<member units="1" type="float" name="test1_root_resistance" io_attributes="15" description="sSolarArray: State current panel hinge resistance."/>
<member units="1" type="bool" name="mIsInitialized" io_attributes="15" description="SAW Model initialization flag"/>
</class>
Format error was no space between the *io and the units. The attribute ms_root_resistance (line 164) was formatted correctly in this example.
Example code:
163 float ms_panel_resistance; //!< *io(ohm) sSolarArray: State current panel hinge resistance. / 164 float ms_root_resistance; //!< *io (ohm) sSolarArray: State current panel hinge resistance. */
165
166 float test_root_resistance; /!< *io(--) sSolarArray: State current panel hinge resistance. */
167 float test1_root_resistance; //!< *io(--) sSolarArray: State current panel hinge resistance. */
168 float test2_root_resistance; //!< *io(1) sSolarArray: State current panel hinge resistance. */
169 float test3_root_resistance; //!< *io(degree) sSolarArray: State current panel hinge resistance. */
170 float test4_root_resistance; //!< *io(V) sSolarArray: State current panel hinge resistance. */
171 float test5_root_resistance; //!< *io(degK) sSolarArray: State current panel hinge resistance. */
Generates these messages:
Writing build/home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/io_sSolarArray.cpp
Warning /home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/sSolarArray.h:166
Invalid units specification. Changing "*" to "1"
Warning /home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/sSolarArray.h:166
-- is not a valid trick_io value. Setting to io
Warning /home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/sSolarArray.h:167
Invalid units specification. Changing "" to "1"
Warning /home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/sSolarArray.h:167
-- is not a valid trick_io value. Setting to *io
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. Looks like *i(<units>) or *o(<units>) (no space between io spec and units) is treated as *i (<units>) or *o (<units>) (with a space between io spect and units). However, *io(<units>) (no space between io space and units) except *io(--) is treated as **. Will look into this.
While processing a header file with Trick 19.5.1, we noticed some inconsistent error processing during ICG processing. In addition, some parameters did not generate any warnings and these parameters were not added to the S_sie.resource file and hence these parameters were not visible to be logged or viewed by trick DR logging and Trick TV. Note that the parameters that generated the warning messages were included in the S_sie.resource file:
Format error was no space between the *io and the units. The attribute ms_root_resistance (line 164) was formatted correctly in this example.
Example code:
163 float ms_panel_resistance; //!< *io(ohm) sSolarArray: State current panel hinge resistance. /
164 float ms_root_resistance; //!< *io (ohm) sSolarArray: State current panel hinge resistance. */
165
166 float test_root_resistance; /!< *io(--) sSolarArray: State current panel hinge resistance. */
167 float test1_root_resistance; //!< *io(--) sSolarArray: State current panel hinge resistance. */
168 float test2_root_resistance; //!< *io(1) sSolarArray: State current panel hinge resistance. */
169 float test3_root_resistance; //!< *io(degree) sSolarArray: State current panel hinge resistance. */
170 float test4_root_resistance; //!< *io(V) sSolarArray: State current panel hinge resistance. */
171 float test5_root_resistance; //!< *io(degK) sSolarArray: State current panel hinge resistance. */
Generates these messages:
Writing build/home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/io_sSolarArray.cpp
Warning /home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/sSolarArray.h:166
Invalid units specification. Changing "*" to "1"
Warning /home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/sSolarArray.h:166
-- is not a valid trick_io value. Setting to io
Warning /home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/sSolarArray.h:167
Invalid units specification. Changing "" to "1"
Warning /home/mwdean/SswDevEM3mSwim_docking/OrionSim/SIMSW/sMech/src/sSolarArray.h:167
-- is not a valid trick_io value. Setting to *io
The text was updated successfully, but these errors were encountered: