Module Device; Class Network; Class Firmware - Advantech ICAM-500 Series Programming Manual

Industrial ai camera
Hide thumbs Also See for ICAM-500 Series:
Table of Contents

Advertisement

4.9

module device

4.9.1

class Network

class device.Network
info()
Get ICAM-500 device network configuration
Returns:
config(mode='dhcp', ip=None, netmask=None, gateway=None)
Configure ICAM-500 network
info()
Get ICAM-500 device network configuration
Parameters: mode: str
Raises:
4.9.2

class Firmware

class device.Firmware(camera)
info()
Read firmware version
Returns:
ICAM-500 Programming Guide
tuple(str, str, str, str, str)
Input value out of range.
1. mode : 'dhcp' or 'static'
2. IP: IPv4 address
3. netmask: IPv4 netmask
4. gateway: IPv4 gateway address
5. MAC adress: ICAM-500 MAC address
'dhcp': Set network in DHCP mode. ip, netmask, gate-
way must set None.
'static': Set a static IPv4 address.
ip: str
IPv4 address. ex. '192.168.0.100'
netmask: str
IPv4 netmask. ex. '255.255.255.0'
gateway: str
IPv4 gateway. ex. '192.168.0.1'
AttribureError
If mode is "dhcp", ip/netmask/gateway must set None.
str
Firmware version in date format(YYYYMMDD). ex. '20220216'
56

Advertisement

Table of Contents
loading

Table of Contents