labrad / pylabrad

python interface for labrad
51 stars 31 forks source link

list_devices in ManagedDeviceServer returns a generator in python 3 #360

Closed kylinzzx closed 5 years ago

kylinzzx commented 5 years ago

The list_devices in ManagedDeviceServer returns a generator in python 3, which is not allowed in LabRAD type "*(ws)". the correction is simple, we can make the generator to be a list by list(zip(IDs, names)