Hi Martyn, at long last, the last hint was great, it is working now and i can now build my application. Thanks for your help. Roland My code: import ctypes from ctypes import * from time import * import numpy as np intermed2=[] from ctypes import * values = np.zeros( (1,), dtype=np.int16) i=0 handle...