Including module
An external function library module (ctypes)
is required to call a function in our shared library with a Python program.
Therefore, import the external function library module in the source code.
In addition, since our shared library uses Windows-specific types, please also import ctypes.wintypes.
Ex.)
import ctypes
import ctypes.wintypes
The GpibPy.py file is required to use API-GPIB(98/PC)
functions in Python.
Copy the API-GPIB(98/PC) definition module (GPIB\Sample\INC\GpibPy.py)
to the folder containing the program to be created.
Import the API-GPIB(98/PC) definition module in the source code.
Ex.)
import GpibPy
For details, refer to the source code of the sample program.