Tiny Python wrapper around the "Software development driver DLL" for IviumSoft.
This module uses a dll from the IviumSoft application. You need to have this software installed on a Windows machine. The IviumSoft application can be downloaded from here: https://www.ivium.com/support/#Software%20update
This version of Pyvium has been tested for IviumSoft release 4.1170.
Install PYVIUM easily with pip:
pip install pyvium
Or with poetry:
poetry add pyvium
To use the same functions available in the "IviumSoft driver DLL" you can import the Core class as follows. All functions return a result code (integer) and a result value if available. For further information you can check the IviumSoft documentation.
from pyvium import Core
Core.IV_open()
Core.IV_getdevicestatus()
Core.IV_close()
This is a wrapper around the Core functions that adds a few things:
- Exception management (you can find an example here)
- New functionalities
from pyvium import Pyvium
Pyvium.open_driver()
Pyvium.get_device_status()
Pyvium.close_driver()
This offers further functionality in data processing:
from pyvium import Tools
Tools.convert_idf_dir_to_csv()
The list of currently supported and implemented functions can be found here.