
QT_comport
Source (link to git-repo or to original if based on someone elses unmodified work):
Available as/for:
Description:This soft was successfully tested in opensuse 11 and Windows xp.
fix: windows setup program bug
add: calc CRC16
add: calc CRC for MODBUS RTU
add: open and save commands for dataOut
add: calc CRC for NMEA 0183, showing input data in NMEA format
Ratings & Comments
12 Comments
help me build this with cmake and vs2008. When I build use above tools, first error: Cannot open include file: 'termios.h'. After I download termios.h from www.koders.com, then errors is need some include base files of C. Help me please. Thank in advance!
In jast moment i try build project in vs2008. Later, i am public link for download project for vs2008.
I am successful build project in vs2008. Steps: 1) create *.pro file: qmake -tp vc qt_comport.pro 2) open project in vs and build. Soft: qt4.7.4&vs2008express I can recommend: reseat vs2008 or build project in qtcreator
Give me your code, and i fix this mistake.
Hi, When i trying to open several ports (about 100) to detect a device, my app fails and needs to be killed when no device is connected. I modified the method "bool Qthreadcomport::open(QIODevice::OpenMode mode)" to start the tread only if the port is opened and the problem go away. Please, someone could confirm or advise?
Do you know how to use with a usb-rs232, i change de line 28 const QString portname = "/dev/ttyUSB"; but doesn't work. Thanks
I fix this mistakes
Hello. Your Source is good. but I found some error, truly my compiler(gcc3.4) found it. I think your Qt_comport. pro file have a mistype: code line 29 win32 { -> win32:{ and in the crc_form.cpp code line 153 emit testCopy(line_out->text()) -> QString strCopy; strCopy = line_out->test(); emit testCopy( strCopy ); have a nice day.
You have an idea like that also with the LPT goes (Win and Linux) is a good idea and/or any others idea ? One is good program Idea. Extension capable. happy new year :-)
You are second people with this problem. Please check port settings on output/input devices. If (OK)? write me your: 1) port settings; 2) number of bits in seconds, provided your communications protocol; 3) OS; 3) data pack for testing, or log file with comments. Write me on this site, or mail "help | about" in qt_comport.
Hello, now I use Qt Creator and all works fine. But I figure out a problem with the data reading. If the program receives more than 8 Bytes it does not read out the buffer correctly. Sometimes it reads all received Bytes correctly but mostly it shows that a lot of bytes are received in a next message and it shows the other Bytes. Or it lost the first Bytes. And very often it put the old Bytes to the front of the text line with new Bytes. There is no discernible pattern. Any idea? best regards, M
Hello, I've downloaded the source and tried to changed the configuration of the output to release. But now my Qt IDE crashes. Is it only possible to compile your app as debug or which settings needs to be done to enable a release output? brgds, M