Issue
Unused Members
The following SNVT members are not used:
nviSNVTinput is a structured SNVT and contains the unused member state!
nviSNVTinput is a structured SNVT and contains the unused member value!
Environment
- Menta
- SNVT inputs and outputs
-
Any structured SNVT type. Some examples are:
- switch
- hvac_status
- hvac_overid
- muldiv
- obj_request
- obj_status
Cause
The pop up is a warning only informing you that the structured SNVT has unused members. If those members are not being used by the program, then it is not necessary to define them in the Menta application.
Resolution
There are two options to remove this warning:
- At the bottom left-hand corner of the warning is an option for "Don't show this dialog again." If that is checked, then it will not show warnings for any more unused members each simulation.
-
Add SNVT inputs or outputs for the additional unused members. To do this:
- Add and AI or AO to the program
- Double click it and go to the Bind dialog
- Choose the same SNVT type as the other members and make the name of the SNVT the same as the other members
-
From the Member drop-down list, define one input or output for each member of the structured SNVT.