def AddRequestS(Handle, pIOType, Channel, Value, x1, UserData):
 if (os.name == 'nt'):
  staticLib = ctypes.windll.LoadLibrary('labjackud')
  v = ctypes.c_double(Value)
  ud = ctypes.c_double(UserData)
  ec = staticLib.AddRequestS(Handle, pIOType, Channel, v, x1, ud)
  if (ec != 0):
   raise LabJackException(ec)
 else:
  raise LabJackException(0, 'Function only supported for Windows')

def AddRequestS ( Handle , pIOType , Channel , Value , x1 , UserData ) : if ( os . name == 'nt' ) : staticLib = ctypes . windll . LoadLibrary ( 'labjackud' ) v = ctypes . c_double ( Value ) ud = ctypes . c_double ( UserData ) ec = staticLib . AddRequestS ( Handle , pIOType , Channel , v , x1 , ud ) if ( ec != 0 ) : raise LabJackException ( ec ) else : raise LabJackException ( 0 , 'Function only supported for Windows' )
add a request to the labjackud request stack for windows sample usage to get the ain value from channel 0: .