def GetNextResult(Handle):
 if (os.name == 'nt'):
  staticLib = ctypes.windll.LoadLibrary('labjackud')
  pio = ctypes.c_long()
  pchan = ctypes.c_long()
  pv = ctypes.c_double()
  px = ctypes.c_long()
  pud = ctypes.c_double()
  ec = staticLib.GetNextResult(Handle, ctypes.byref(pio), ctypes.byref(pchan), ctypes.byref(pv), ctypes.byref(px), ctypes.byref(pud))
  if (ec != 0):
   raise LabJackException(ec)
  return (pio.value, pchan.value, pv.value, px.value, pud.value)
 else:
  raise LabJackException(0, 'Function only supported for Windows')

def GetNextResult ( Handle ) : if ( os . name == 'nt' ) : staticLib = ctypes . windll . LoadLibrary ( 'labjackud' ) pio = ctypes . c_long ( ) pchan = ctypes . c_long ( ) pv = ctypes . c_double ( ) px = ctypes . c_long ( ) pud = ctypes . c_double ( ) ec = staticLib . GetNextResult ( Handle , ctypes . byref ( pio ) , ctypes . byref ( pchan ) , ctypes . byref ( pv ) , ctypes . byref ( px ) , ctypes . byref ( pud ) ) if ( ec != 0 ) : raise LabJackException ( ec ) return ( pio . value , pchan . value , pv . value , px . value , pud . value ) else : raise LabJackException ( 0 , 'Function only supported for Windows' )
list all labjack devices of a specific type over a specific connection type .