Version history
V1.2.12
- fix : deleting a Module.delete didn't raise an Exception when module did not exist
V1.2.11
- Add Plcwatch.pyw
- Anslscan.py : do not exit on OS errors
- fix : values of two-dimensional arrays were double-packed into a list
- fix : handling vectors with
[0..0] indices.
- fix : values of arrays with just one element weren't return as list
- fix : correct .dataType of multi-dimensional structure arrays
- fix : correct repr of Variable (VT was incorrect)
- fix : bug reading SNMP variables
- fix : ignore all characters after '\x00' when reading WSTRING variables
- new property 'isStructure' for Variable object
- new members 'toIEC' and 'fromIEC' for Variable object
- new property 'cpuInfoExtended' for Cpu object
- new properties 'moduleInfo' and 'moduleInfoExtended' for Module objects
- new member 'delete' for Module objects
- new member function 'readRequestStatus' for all objects
V1.2.10
- Fix reading SNMP variables (which also fixes pvi/Snmp).
V1.2.9
- Fix 'writable' attribute of Variable
V1.2.8
- Improve reading for struct arrays, Enums, two-dimensional variables, subranges
- change return type of arrays to list instead tuple (incompatible change)
V1.2.7
- creating executable scripts for Snmpscan, Anslscan, Snmpscan
V1.2.6
- add support for PVI6
- add Snmpscan.py, Anslscan.py, Snmpscan.py
V1.2.5
- allow connection to several PVI Managers on different computers using PviX .. functions
- new property 'connectionChanged' for Connection object
- PVI installation path can be set with environment variable PVIPY_PVIDLLPATH now
V1.2.4
- fix: PviDeinitialize not working
- fix: remove PVI trial time check
- fix: the time zone of the PC running the script influences the result of DATE_AND_TIME and DATE objects
V1.2.3
- fix some issues when addressing objects with parameter 'CD'
V1.2.2
V1.2.1
- fix: reading arrays of structures only returned first element
- fix: Object.del did not call Object.kill()
- new: Variable.dataType returns name of structure type
- new: Variable.dataType returns
<data type>[<lower index>..<higher index>] now
V1.2.0
- Object: the objectDescriptor can now contain a field 'LinkDescriptor'
- add Object.evmask to change link descriptor event mask
- add Object.userTag to read/write usertag string
- add Object.userName which returns the user given object name
- add Object.version
- add Cpu.stopTarget() and Cpu.diagnostics()
- add Task.cycle() for single step execution
- add Variable.hysteresis to read/write event hysteresis
- add Variable.refresh to read/write cyclic refresh time
- add Variable.attributes to read/write object attributes
- Variable.valueChanged now accepts a callback with signature ( value, Object )
- Variable/Task/Module: use name as userName if 'CD' is used for defining plc object
- add PviError.number
- fix: Variable/Task/Module c'tor: content of 'CD' was overwritten with 'name'
- add basic logging
V1.1.0
- add parameters to Connection constructor to enable a PVI remote connection
V1.0.0
- add mkdocs online help
- add start() and stop() to Connection to make doEvents() obsolete in many cases
- fix: parameter CD was ignored in Task and Variable and Module
V0.0.5
- add parser for profiler files
- add examples: profiler1.py, profiler2.py
V0.0.4
- property Object.externalObjects now throws an error if not supported (e.g. INA2000)
- add property Cpu.tasks
- add property Cpu.variables
- add property task.variables
- add examples: simple3.py, list_objects4.py, list_objects5.py, list_objects6.py, logger3.py
V0.0.3
- uploading logger data
- converting br files with logger data
- extend signature of some callbacks
- add property 'objectName' for all objects