Forum Home › Forums › Communicating with Devices › SNMP
- This topic has 21 replies, 4 voices, and was last updated 4 years, 7 months ago by Mikhail.
-
AuthorPosts
-
March 5, 2016 at 11:57 am #843scodinaParticipant
I’m trying snmp cimunication and I can read OID with int 32 and discrete values, but I m not able totale read octet string and gauge32. How il it possible?
March 5, 2016 at 2:55 pm #844scodinaParticipantThe strange thing is that in The login report rapid scada read correctly The value and it says The correct type, for example signalx= 311 (gauge32). But in The signal table appear only this: – – -, but as I sad for int32 value types there is no problems, only for gauge32 and strings, octet string. Pleas help!thanks
March 5, 2016 at 3:41 pm #845scodinaParticipantLog report *
March 5, 2016 at 5:50 pm #848MikhailModeratorOctetStrings are shown in Communicator in the new version of KpSnmp but they can’t be passed to SCADA-Server because SCADA-Server works with number values.
Reading Gauge32 issue has been added to tracker, it will be solved within 2 weeks. If you need it urgently please let me know.
March 5, 2016 at 5:56 pm #851scodinaParticipantThank you, I ll wait for two weeks. I’ll have to download only kpsnmp or there will be a new rapidscada?
Another question : is there the possibility to transform time thick value type in a format like this : 2days 5ours 2 minutes ecc ecc. ThanksMarch 6, 2016 at 1:51 pm #856MikhailModeratorMost likely you would update the whole SCADA-Communicator when KpSnmp update become ready.
Where are you need to display time?
March 6, 2016 at 3:52 pm #868scodinaParticipantFor example, monitoring the time elapsed of a device with a OID time thick time value I had a number in milliseconds that increase continuesly. To visualize it in a scheme maybe I need a formula… I’ll try
March 6, 2016 at 5:08 pm #870MikhailModeratorIn the current version you should create 3 (or more) calculated input channels for hours, minutes and seconds.
In the next major version there will be time output format.March 18, 2016 at 12:57 pm #919MikhailModeratorThe correct type, for example signalx= 311 (gauge32)
The issue is fixed. Please write me by email to send you an update.
January 2, 2017 at 8:41 pm #1852PassatParticipantHi, is there a way to pass OctetString to ScadaServer?? I have some string values i need to display in the web application.
If it is not possible, then how can i bypass the scadaserver and show it in the web application? thanksJanuary 3, 2017 at 8:04 am #1853MikhailModeratorHi,
Currently, only predefined strings from enumerations are supported. You can’t display custom string as values of input channels of Rapid SCADA. If your strings can be specified in enumeration, I can provide the details how to configure Rapid SCADA. Otherwise, if you are able to receive the strings and display them on your own web page, you can embed this page into the web application of Rapid SCADA.January 3, 2017 at 8:05 am #1854MikhailModeratorI mean, you should know all the possible values of the strings.
January 4, 2017 at 1:26 pm #1855PassatParticipantHi Mike, thanks a lot for your explanation. I would like to know how to configure my strings in the enumeration.
January 5, 2017 at 8:32 am #1860MikhailModeratorHi,
1. Create input channels for string tags.
2. Create such formula in Formulas table (not tested):int GetStrNum() { byte[] buf = BitConverter.GetBytes(Cnl); string s = Encoding.Default.GetString(buf); if (s == "MyVal1") // your string values return 1; else if (s == "MyVal2") return 2; else return 0; }
3. Create your own record into Unit table. Use the units 36 and 37 as examples.
4. Enter GetStrNum() in formula field of input channels, change channel type to Discrete and change format to Text.
Please write about the result.
- This reply was modified 7 years, 3 months ago by Mikhail.
January 5, 2017 at 8:59 am #1862MikhailModeratorAlso you must update KpSnmp.dll
-
AuthorPosts
- You must be logged in to reply to this topic.