Attempted 1st driver with DIS.
One of the table columns is giving wrong information (same as streamviewer)
MIB browser shows correct information when asked.
column information was dragged and dropped from MIB
Is there a way to view transmitted requests are correct
Hi Richard,
Presumably there is a mismatch with the data type the SNMP value has, and how we are interpreting. If you want to see the requests and responses, you can use a network analysing tool such as WireShark.
However, it would be easier for us to help if you could tell us the MIB definition for the OID and how the parameter is set up in the driver.
Hi Richard, when you say the value is wrong, do you mean that it is off by a factor of 10?
Your newest information contains “0.1 V” while the SNMP type is integer32. This leads me to assume that the value we receive is in tenths of volts and needs to be divided by ten.
Adding a sequence allows you to adjust the value without a QAction: https://docs.dataminer.services/develop/schemadoc/Protocol/Protocol.Params.Param.Interprete.Sequence.html
I believe this should solve your problem: <Sequence noset=”true”>div:10</Sequence>.
This also means you may want to set the amount of decimals to 1 for both the interprete and the display:
https://docs.dataminer.services/develop/schemadoc/Protocol/Protocol.Params.Param.Interprete.Decimals.html
https://docs.dataminer.services/develop/schemadoc/Protocol/Protocol.Params.Param.Display.Decimals.html
Floris, something seems to have been hung. Rewrote the driver to correct. Thanks for pointing out the sequence command. Needs to be applied in my case. Issue resolved
MIB sent
read
numeric text
double
integer32
0.1 v
number
Driver parameter was changed
added range low 0
added range high 2000
changed units to V
almost identical