# File lib/nxt_comm.rb, line 358
  def set_input_mode(port,type,mode)
    cmd = [port,type,mode]
    result = send_and_receive @@op_codes["set_input_mode"], cmd
    result = true if result == ""
    result
  end