Hello Dojo,
I have SNMP table that is polled based on timer. On StreamViewer I see that group that poll table is executed. Table has instance column and two another column for data. Column parameters has type: double.
Instance parameter gets value from device but other columns are empty and has "Not Initialized." value. I want to add Exceptions on those empty parameters and set them to "N/A".
I can create QAction that will be triggered on table Id and then check if rows are empty and set values to those parameters to -1 and use that value in Exception tag on parameters to display "N/A". Adding new QAction only for this purpose is not what I want.
Can we add Exception tag on parameter to check if value is empty? Is there any other solution for this case?
Hi Dario,
You must first be sure if the value is getting triggered. With this I mean there is literally an empty value been set to the parameter. The reason I say this is that if this is true, you can have the following:
This only works if there is a value set to the parameter. An empty string could be set to a parameter. So check if this is happening.
If the value is never set, this will not work and you will need a QAction setting the exception value to the parameter.
How would we use a QAction to set the exception value when the value is never set?
Example when SNMP returns “NO SUCH OBJECT” in the Stream Viewer is the exception I am trying to catch