建议你先去了解一下中断机制和事件机制!
顺便看一下CVI串口回调事件中关于notifyCount的说明:
Set to detect when at least notifyCount bytes are in the input queue. Once this event has occurred, it does not trigger again until the input queue falls below and then rises back above notifyCount bytes
又何必要去关闭事件呢?而且这样做的最大害处是:极有可能错过应该处理得事件!