QPort

Utilities

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .8
Description:

this is a widget to integrate with QT Designer. You can communicate with the serial port without write any line of code.

Visit: www.sebest.com.ar for more examples.

fix 1.5.2:
* Error in received 00 00 00
* FormatData error solved.

add:
Simple example Project!


new fix:
manual errors
make fixs

fix 1.5:
format errors.
fix manual.
headers locations.

fix 1.4:
Stable version
All names in english.
Manual.
general fixes.

fix 1.11:
New slots, and example more complete.

fix:
Compiler error solve.
Work fine in Windows xp, win 98, Ubuntu Hardy. In the other SO not test.

/*
Es un widget para integral a QT designer, para poder tener comunicación con el puerto serie de la PC casi sin la necesidad de escribir una linea de código.

Desde mi web se puede ver más sobre el proyecto.*/

www.sebest.com.ar

freelyP

10 years ago

Hi
Very interesting project!
I've downloaded the QPort built it
and installed it under WindowsXP I've copied .dll and .a files to appropriate folders in my Qt 4.6.3 open source build
I have the widget in widgets list ( left panel in my QtDesigner)
I put it to my widget and only thing I see is text QPort and email adress
Please help me to use this
How can I use the widget?
What I can do with the widget?
Could you provide example of using it?

Report

C

sebest

10 years ago

Sorry, i don't see your comment, if you wanna learn more about qport, you can visit my web page, www.sebest.com.ar, here you can find examples

http://www.sebest.com.ar/?q=node/44

If you need more help, post your question in forum (in english if you wanna).

Thank

Bye

Report

bburtan

11 years ago

This program locks up hard under OS X. I have modified it to use tty.KeySerial1 which is the Keyspan USB Serial converter device as follows:

comboBoxPortName->addItem("tty.KeySerial1", QVariant::fromValue(QString("/dev/tty.KeySerial1")));
comboBoxPortName->addItem("tty.USA19H3d1P1.1", QVariant::fromValue(QString("/dev/tty.USA19H3d1P1.1")));

The Keyspan devices works fine with ZTerm. The app hangs at the following line:
if (Posix_File->open(QIODevice::ReadWrite|QIODevice::Unbuffered))

In fact it hangs so bad that I can't even force-quit the app or kill the process. I have to reboot the machine.

Report

C

sebest

11 years ago

Hello, I'm using the widget in ubuntu linux without problem, so use with a usb adapter with no problems. Particularly recommend that you put the name of the port from where QTDesigner says "Puerto" "/dev/ttyxxx". But since the code you can put qport->setPort("/dev/ttyxxx"). The error seems to not find the device.

Report

bburtan

11 years ago

Nope...still doesn't work. I checked the name of the device with qDebug right before it attempts to open:

from file "posix_qextserialport.cpp":

if (!isOpen()) {
/*open the port*/
qDebug() << port;
Posix_File->setFileName(port);
if (Posix_File->open(QIODevice::ReadWrite|QIODevice::Unbuffered)) {
/*set open mode*/
QIODevice::open(mode);


The app locks up so hard that I can't even force-quit it. I have to reboot the machine.

Report

bburtan

11 years ago

Success, finally. Apparently Keyspan USB to Serial devices have both a tty. device and a cu. device. Changing it to cu. solved the problem.

Report

C

sebest

11 years ago

Ok, well, I hope that you can use without problems, just remember that it is a beta version, I have written a more stable function names in English and a small manual and a little more detailed.
In the coming days I will raise in qt-apps in my page. Any problems please consult.

Report

C

sebest

11 years ago

Sorry, you use mac os x, I never try this O.S.

Report

C

sebest

11 years ago

ok, tell which distribution you use, where can I download and I will try to see what the problem. I just tried it with ubuntu linux and I never had problems.

Report

bburtan

11 years ago

This program locks up hard under OS X. I have modified it to use tty.KeySerial1 which is the Keyspan USB Serial converter device as follows:

comboBoxPortName->addItem("tty.KeySerial1", QVariant::fromValue(QString("/dev/tty.KeySerial1")));
comboBoxPortName->addItem("tty.USA19H3d1P1.1", QVariant::fromValue(QString("/dev/tty.USA19H3d1P1.1")));

The Keyspan devices works fine with ZTerm. The app hangs at the following line:
if (Posix_File->open(QIODevice::ReadWrite|QIODevice::Unbuffered))

In fact it hangs so bad that I can't even force-quit the app or kill the process. I have to reboot the machine.

Report

C

sebest

12 years ago

I can compile, and use this widget in ubuntu linux.
But i have problem with windows. I cant compile, but doing any fix this is possible.

Im working in this fix and they be solve soom.

And, i don't know how to use dlls in windows for compile the example. Any people can help me?.

Report

C

sebest

12 years ago

this problem is solved.

Report

12345678910
1
product-maker maxi03462 Jan 14 2016 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.5.2
updated Mar 15 2010
added Sep 01 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags app software