def GetResultS(Handle, pIOType, Channel):
 if (os.name == 'nt'):
  staticLib = ctypes.windll.LoadLibrary('labjackud')
  pv = ctypes.c_double()
  ec = staticLib.GetResultS(Handle, pIOType, Channel, ctypes.byref(pv))
  if (ec != 0):
   raise LabJackException(ec)
  return pv.value
 else:
  raise LabJackException(0, 'Function only supported for Windows')

def GetResultS ( Handle , pIOType , Channel ) : if ( os . name == 'nt' ) : staticLib = ctypes . windll . LoadLibrary ( 'labjackud' ) pv = ctypes . c_double ( ) ec = staticLib . GetResultS ( Handle , pIOType , Channel , ctypes . byref ( pv ) ) if ( ec != 0 ) : raise LabJackException ( ec ) return pv . value else : raise LabJackException ( 0 , 'Function only supported for Windows' )
put one value to the labjack device eput is equivilent to an addrequest followed by a goone .