Package pyads :: Module constants :: Class AmsAddr
[hide private]
[frames] | no frames]

Class AmsAddr

source code

Instance Methods [hide private]
 
__init__(self, errCode, stAmsAddr) source code
string
toString(self)
textual representation of the AMS adress
source code
 
port(self)
returns port number
source code
 
setPort(self, value)
sets port number
source code
 
amsAddrStruct(self)
access to the c-types structure SAmsAddr
source code
 
setAdr(self, adrString)
Sets the AMS-adress according to the given string containing the IP-adress
source code
Instance Variables [hide private]
int errCode
error code
SAmsAddr stAmsAddr
ctypes-structure SAmsAddr
Method Details [hide private]

toString(self)

source code 
Returns: string
textual representation of the AMS adress

setAdr(self, adrString)

source code 
Parameters:
  • adrString (string) - ip-adress of an ADS device