Hi Dojo,
What's the best way to set a write parameter in a table?
I'm trying to use the method SetParameterIndexByKey but only acts on the read parameter in the column and I can't find any other option.
Thanks in advance!
Hi Edib, I need to set a write parameter in a retrieved table which internaly will set the write parameter in a non displayed snmp table.
Hi Manuel,
I don’t think there is much sense in having write parameter defined on parameters that are not displayed. You could just directly set read parameter through QAction. What you could do, for example, is have a QAction that triggers on write parameter in retrieved table, and that QAction would manually set all read parameters that you want to set. You would set setter=”false” or snmpSetAndGet=”false” to avoid default setters from triggering, keep in mind that in that case you would need to handle/trigger actual sets on the device.
Hope this helps,
Cheers
Hi Edib, thanks for the suggestion. The only thing I need is something similar to setting a write parameter with setparameter but designed for tables.
Hi Manuel,
If the ultimate goal is to set a write parameter in SNMP table, you can directly set the SNMP write parameter from the QAction using the snmpSet option.
Follow the instructions under “Using a parameter holding the instance” in this documentation.
Hi Fenta,
This way runs perfectly, thanks a lot!
Hi Manuel,
I’m not sure why you would want to set write parameter value from the QAction.
Could you please provide more details about what it is you are trying to achieve?