Tayyab Posted Wednesday at 04:00 PM Share Posted Wednesday at 04:00 PM (edited) A couple of issues when it comes to capsule properties: When trying to display a custom calculated property as a part of a table with assets, I get this error: property for reference: .setProperty("Max Pressure",$p,maxValue()), where $p is Pressure tag in kPa It works fine, when i take the add column approach and select pressure as a signal and hit max. Sometimes, the capsule property ends up correctly displaying but not after throwing a whole bunch of these errors. This capsule property does not exist for all conditions under all assets, even for the same named condition. I would expect the table to leave blanks for those cells, but instead it filters them out of the table completely. So if I want to display all conditions, I would have to make two tables: one that shows the properties that have them and one for conditions that don't have the property. Edited Wednesday at 04:08 PM by Tayyab Link to comment Share on other sites More sharing options...
Tayyab Posted Wednesday at 05:32 PM Author Share Posted Wednesday at 05:32 PM I would also like to avoid putting in dummy values like -999 for the other signals that don't have a pressure tag associated. Is there a way to assign a property of null/NaN? I'm thinking something like .setProperty("Max Pressure", "") but it would not be recognized as a string. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now