1. <legend id='wNsJ2'><style id='wNsJ2'><dir id='wNsJ2'><q id='wNsJ2'></q></dir></style></legend>

      <tfoot id='wNsJ2'></tfoot>
    2. <small id='wNsJ2'></small><noframes id='wNsJ2'>

          <bdo id='wNsJ2'></bdo><ul id='wNsJ2'></ul>
        <i id='wNsJ2'><tr id='wNsJ2'><dt id='wNsJ2'><q id='wNsJ2'><span id='wNsJ2'><b id='wNsJ2'><form id='wNsJ2'><ins id='wNsJ2'></ins><ul id='wNsJ2'></ul><sub id='wNsJ2'></sub></form><legend id='wNsJ2'></legend><bdo id='wNsJ2'><pre id='wNsJ2'><center id='wNsJ2'></center></pre></bdo></b><th id='wNsJ2'></th></span></q></dt></tr></i><div id='wNsJ2'><tfoot id='wNsJ2'></tfoot><dl id='wNsJ2'><fieldset id='wNsJ2'></fieldset></dl></div>

        “信号量超时期限已过";USB连接错误

        quot;The semaphore timeout period has expiredquot; error for USB connection(“信号量超时期限已过;USB连接错误)
          <bdo id='gc8Jb'></bdo><ul id='gc8Jb'></ul>

            <tbody id='gc8Jb'></tbody>
          <legend id='gc8Jb'><style id='gc8Jb'><dir id='gc8Jb'><q id='gc8Jb'></q></dir></style></legend>

              <small id='gc8Jb'></small><noframes id='gc8Jb'>

            • <tfoot id='gc8Jb'></tfoot>
                <i id='gc8Jb'><tr id='gc8Jb'><dt id='gc8Jb'><q id='gc8Jb'><span id='gc8Jb'><b id='gc8Jb'><form id='gc8Jb'><ins id='gc8Jb'></ins><ul id='gc8Jb'></ul><sub id='gc8Jb'></sub></form><legend id='gc8Jb'></legend><bdo id='gc8Jb'><pre id='gc8Jb'><center id='gc8Jb'></center></pre></bdo></b><th id='gc8Jb'></th></span></q></dt></tr></i><div id='gc8Jb'><tfoot id='gc8Jb'></tfoot><dl id='gc8Jb'><fieldset id='gc8Jb'></fieldset></dl></div>

                  本文介绍了“信号量超时期限已过";USB连接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我收到此错误...

                  信号量超时期限已过.

                  在这条线上……

                  ThePorts.ActivePort1.Open();

                  ThePorts.ActivePort1.Open();

                  ...但我只是偶尔会得到它.当它发生时,它会一遍又一遍地发生.然后问题消失了,几个小时或几天,然后又回来了.

                  ...but I only get it from time to time. When it happens, it happens over and over again. Then the problem goes away, for hours or days, then it comes back.

                  串行端口是连接蓝牙的 USB.

                  The serial port is a USB with a BlueTooth connected.

                  我认为这家伙遇到了一个非常相似的问题,但不是在 C# 中

                  I think this guy was having a very similar problem, but not in C#

                  在 SerialPort 上冻结.Open/DeviceIoControl/GetcommState with usbser.sys

                  尽我所能估计,我已经阅读了他的整个问题,以及由此产生的评论和答案,但我真的无法弄清楚是哪一个解决了他的问题,或者 C# 是否与他所经历的有很大不同.

                  As best I can estimate, I have read his entire problem, and the resulting comments, and the answer, but I really can't figure out which one fixed his problem, or if C# is significantly different from what he was experiencing.

                  感谢您对无知者的任何帮助.这是实际发生的代码.

                  Thanks for any help for the clueless. This is the actual code where it's happening.

                  public static void Open_ActivePortWeWillUse(String Drone_StringNameFromUser)
                  {
                      SerialPort TempSerialPort = new SerialPort(Drone_StringNameFromUser, (int) SerialPortSpeed);
                  
                      ThePorts.ActivePort1 = TempSerialPort;
                  
                      ThePorts.ActivePort1.DataBits = 8;
                      ThePorts.ActivePort1.Parity = Parity.None;
                      ThePorts.ActivePort1.StopBits = StopBits.One;
                  
                      ThePorts.ActivePort1.DataReceived += new SerialDataReceivedEventHandler(OurBackGroundSerialPortReceiver);
                  
                      ThePorts.ActivePort1.Open();  // "Sometimes" Error hits here
                  }
                  

                  推荐答案

                  如果您遇到网络延迟或互联网或本地网络问题,也可能出现此错误.对应失败的桥接连接也可能是罪魁祸首.

                  This error could also appear if you are having network latency or internet or local network problems. Bridged connections that have a failing counterpart may be the culprit as well.

                  这篇关于“信号量超时期限已过";USB连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Multicast delegate weird behavior in C#?(C# 中的多播委托奇怪行为?)
                  Parameter count mismatch with Invoke?(参数计数与调用不匹配?)
                  How to store delegates in a List(如何将代表存储在列表中)
                  How delegates work (in the background)?(代表如何工作(在后台)?)
                  C# Asynchronous call without EndInvoke?(没有 EndInvoke 的 C# 异步调用?)
                  Delegate.CreateDelegate() and generics: Error binding to target method(Delegate.CreateDelegate() 和泛型:错误绑定到目标方法)

                  • <tfoot id='y8mQ7'></tfoot>

                        <small id='y8mQ7'></small><noframes id='y8mQ7'>

                        <i id='y8mQ7'><tr id='y8mQ7'><dt id='y8mQ7'><q id='y8mQ7'><span id='y8mQ7'><b id='y8mQ7'><form id='y8mQ7'><ins id='y8mQ7'></ins><ul id='y8mQ7'></ul><sub id='y8mQ7'></sub></form><legend id='y8mQ7'></legend><bdo id='y8mQ7'><pre id='y8mQ7'><center id='y8mQ7'></center></pre></bdo></b><th id='y8mQ7'></th></span></q></dt></tr></i><div id='y8mQ7'><tfoot id='y8mQ7'></tfoot><dl id='y8mQ7'><fieldset id='y8mQ7'></fieldset></dl></div>

                          <tbody id='y8mQ7'></tbody>
                          <bdo id='y8mQ7'></bdo><ul id='y8mQ7'></ul>
                        • <legend id='y8mQ7'><style id='y8mQ7'><dir id='y8mQ7'><q id='y8mQ7'></q></dir></style></legend>