Home > Software engineering > In a program in multiple forms of how to use serial port controls at the same time?
In a program in multiple forms of how to use serial port controls at the same time?
Time:10-04
You did a great god know how a program in multiple forms and Shared a serial port control, embedded development I have no contact with MFC, now I need to run into a problem is the FPGA via a serial port data unpack back then sent to the TAB control more child interface, and every child interface can transmit data via a serial port and the command to the FPGA, I want to ask me where Microsoft communication controls should be, how do you read first unpack, how to return data via communication protocol, test data, self-checking data, state data separation to different pages in the TAB control interface, at the same time through in a few interface combo box control via a serial port to the FPGA output data and command, now each control, interface all adjust well, just don't know how to transfer data classification in a Microsoft communication controls to a number of different interface, I was just a week to learn MFC novice, want to tell me in detail
CodePudding user response:
By serial protocols to distinguish "response data, test data, self-checking data, state data" agreement contains data, types, namely
CodePudding user response:
Serial port control and the incident response can be placed in the window, in which the Tab control Then put controls a pointer is passed to the child window
CodePudding user response:
Every window in the store Pointers to a serial port control Through the pointer manipulation
CodePudding user response:
Through the MainFrame save a unified serial port control of Pointers, then other Windows can interact with a serial port by the pointer data