Same Parameter Containing Different Types

Now reading version 20. For the latest, read: Same Parameter Containing Different Types for version 21
 

Parent category: Violations Associated with Parameters

Default report mode: 

Summary

This violation occurs when two parameters possessing the same name have been assigned to the same design object, but the parameters have differing types.

Notification

If compiler errors and warnings are enabled for display on the schematic (enabled on the Schematic - Compiler page of the Preferences dialog), an offending object will display a colored squiggle beneath it. Hovering over the object will display a pop-up hint that summarizes the violation. A notification is also displayed in the Messages panel in the following format:

Same parameter contains different types <Object> <Types>

where:

  • Object is the particular object to which the offending parameter is associated.
  • Types shows the different types for the parameter as a pairing (e.g., BOOLEAN and STRING).

Since there are two offending parameters, a pair of errors will be displayed in the Messages panel. They will differ in the order of the types, with the type for the parameter in error being listed first followed by the type of the other offending parameter in the pairing.

Recommendation for Resolution

Typically, you would not have multiple parameters of the same name associated to an object. Review the parameters assigned to the object and remove the erroneous/redundant one.

Tip

  • Object hints will only appear provided the Enable Connectivity Insight option is enabled on the System - Design Insight page of the Preferences dialog. Use the controls associated with the Object Hints entry in the Connectivity Insight Options region of the page to determine the launch style for such hints (Mouse Hover and/or Alt+Double Click). 
If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Note

The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.

If you don’t see a discussed feature in your software, contact Altium Sales to find out more.

Content