Whats the difference between using MSCOMM or HANDLE for serial communication? I am kind of confused on this.
Type: Posts; User: NewGuy100
Whats the difference between using MSCOMM or HANDLE for serial communication? I am kind of confused on this.
I have attach the following files. I am having trouble reading my serial port in main from the commdlg.
I also used the MSCOMM with the GetInput(), but it keeps cutting off some of the data I am...
Can you direct me to where I can find examples of this? I am very new to visual C++!
Thank You,
Whats the best method for serial communication in MFC and Visual C++?
Thanks for the assist. Is there an example of that? I never used those type before. All i have for the progress bar is a member variable that I named m_pBar and the dialog box, labeled IDD_Progress,...
I am new to using Visual C++. I used a Control box to create the progress bar in one file. In another file, I want to update the same progress bar so that it looks like it is downloading. How do I do...
Everything is written in visual C++. I am communicating it to a PIC device. I am using a Visual C++ compiler and windows xp. I know the data is there because the PIC is able to display all the...
I am having trouble reading data through serial communication in C++. Some of the data read in is being cutoff. It reads all the data fine in hyperterminal but not in C++. Can anyone help?
I want to create a setup to install this executable to the PC though.
I want to make a C++ file distributable. How do I do that? Can someone provide me with a link?
in general, I want to know the advantages and disadvantages of each. The reason why I asked is that I get error messages when testing and it goes away 30 seconds later. This occurs occasionally.
Does anybody know any good websites that explain more on Polling vs. Interrupts. I have already googled it but the explainations are limited to one slide/page.
Thanks
Can you give me an example?
Can you elaborate more on that? Whats RTFM?
My application freezes b/c I forget to connect a device to the port. Is there way i can check if the com port is open or connected to a device?
I'll try it, thanks!
I tried the portmon and it doesn't work.
Would this work on i T-switch or 3 port serial communication switch? The way it is setup is that I have my laptop connected to one end of the T switch. another connection connecting to the...
Can anybody get me a good website on a protocol analyzer so that i can monitor serial communications or some form of software that will let me do this?
I have been seen some CRC look up tables that are 16 bit and others that are two 8 bit tables which is basically the 16 bit table broken down. Can you tell me why they do this and which way is...
Thanks Dave
I just wanna know what could be the reasoning behind this. If I comment a useless function, I get mismatched CRC. Are there any latest information on CRC on the web that I can check out?
I am trying to compare a CRC from my file with the CRC taken from the serial port. The problem is that when I change code in my software, sometimes the CRC doesn't match each other. Can anyone help...
I am using ReadFile for serial communication purposes
Also helpful. Appreciate it