c4py.py_load_so()
c4py.global_init()
chl_name = "python采集通道"
dev_count = c4py.get_dev_count(chl_name.encode())
print("dev count:" + str(dev_count))
device_info_array = (c4py.DeviceInfo * dev_count)()
c4py.get_dev_array(chl_name.encode(), device_info_array)
c4py.global_release()