This is a very simple python script to control Focus PX with OpenView SDK. It demonstrates how to connect device, create conventional beamset, start acquisition and collect ascan data.
Copy OlympusNDT.Instrumentation.NET.dll
in the same folder next to this script.
The library's default path is:
C:\OlympusNDT\OpenView SDK\1.0\Bin\.NET\OlympusNDT.Instrumentation.NET.dll
Since OpenView SDK provide 64-bit library, please use 64-bit python.
The required dependencies are included in requirements.txt
file:
Run $ pip install -r requirements.txt
to install required dependencies.
$ python.exe .\FPXDevice.py