Python class for Axis parameter handling
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Simple class for Retrieving, Updating and Removing Parameters on Axis Devices.

from AxisParameterClass import *

#Get Parameters:
param1 = AxisParameter('Event')
param2 = AxisParameter('Properties')

#			IP	      User   Pass   VapixVersion(None for auto)
ap = AxisParameterClass("","root","pass",None)
paramList = ap.getParameters([param1,param2])

for x in paramList:
	print + " = " + str(x.value)
	#If parameter isn't found. value returns None

ap.removeParameters([param1]) #remove the events.

More info to come