# File lib/nxt_comm.rb, line 347
  def set_output_state(port,power,mode,reg_mode,turn_ratio,run_state,tacho_limit)
    cmd = [port,power,mode,reg_mode,turn_ratio,run_state] + [tacho_limit].pack("V").unpack("C4")
    result = send_and_receive @@op_codes["set_output_state"], cmd
    result = true if result == ""
    result
  end