Description:

This application allow work with serial (com) ports in asynchronous mode. Format data for input/output: Hex, Decimal, Binary, ASCII. Based on qextserialport.

This soft was successfully tested in opensuse 11 and Windows xp.

Changelog:

5 years ago

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

banlinhtienphong

5 years ago

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!

Report

gorin

5 years ago

In jast moment i try build project in vs2008. Later, i am public link for download project for vs2008.

Report

gorin

5 years ago

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

Report

gorin

5 years ago

Give me your code, and i fix this mistake.

Report

EraJma

5 years ago

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?

Report

maronezzi

6 years ago

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

Report

gorin

6 years ago

I fix this mistakes

Report

remnant24c

6 years ago

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.

Report

lighterapprentice

7 years ago

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 :-)

Report

gorin

7 years ago

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.

Report

s-valve

7 years ago

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

Report

s-valve

7 years ago

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

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 62%
62.00 Likes
38 Dislikes

0 Supporters for QT_comport:

Recent Donations:

Be the first to donate
show all
Details
version
1.0.3
updated Jun 29 2011
added Dec 17 2008
downloads
page views 2252
support gorin
For The Product
QT_comport
5 - 10 - 25 - 50 - 100 - 200 - 500