Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetProtParam - method of object PmComm

Description:
Sets values in some configurators on the page PmComm > Parameters/>.
Syntax:
SetProtParam(sParam As String, Value As Variant) As Boolean
Calling:
oComm.SetProtParam sParam, Value
Parameters:
sParam(String) Name of the parameter.
"ProtType" - The value is of type String.

This parameter can be used for the driver PmSNMP: Defines the version of SNMP and additional parameters. See Changing SNMP protocol parameters.

Value(Variant) Parameter value.
Return Values:
true - on success
false - on error
Example:
Changes values of parameters of protocol driver PmSNMP:
oComm.SetProtParam "ProtType", "snmpVer:1;commRO:public;commRW:private;" ' Sets SNMP version 1
oComm.SetProtParam "ProtType", "snmpVer:3;usrName:user1;psw:auth1;privKey:priv1;" ' Sets SNMP version 3
PROMOTIC 8.3.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice