Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII mode?

2019-05-17 Thread Andre Hartmann

Hi,

Modbus ASCII support is tracked as 
https://bugreports.qt.io/browse/QTBUG-51751


You can comment and vote there for that feature. And of course, if you 
like, you can contribute the missing code to Qt.


Regards,
André

Am 17.05.19 um 11:50 schrieb Olivier B.:

I actually don't understand what we can do for you if you don't know
how to do it. Do you want us to implement it for you?

You can use libmodbus and create classes around it. Or implement
modbus ascii in pure Qt

Le ven. 17 mai 2019 à 11:45, Олег Гаврильченко
 a écrit :




-Original Message-
From: Olivier B. [mailto:perso.olivier.barthel...@gmail.com]
Sent: Friday, May 17, 2019 12:19 PM
To: Олег Гаврильченко
Cc: Interests Qt
Subject: Re: [Interest] FW: How can I implement QModbusClient for MODBUS ASCII 
mode?

https://doc.qt.io/qt-5/qtserialbus-modbus-master-example.html
https://doc.qt.io/qt-5/qtserialbus-modbus-slave-example.html
https://sourceforge.net/projects/qmodmaster/

Le ven. 17 mai 2019 à 11:10, Олег Гаврильченко  a 
écrit :


Hello.

I want write QModbusClient/QModubsServer subclasses, that communicate via 
MODBUS ASCII mode.

How can I make this?

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

You probably don't understand me. I see all this examples. All example use 
MODBUS RTU or MODUBS TCP protocol.
Only this protocols realized in QT in classes QModbusRtuSerialMaster and 
QModbusRtuSerialMaster. But I want to communicate via MODBUS ASDII mode.
MODBUS ASII mode not implement in QT. I asked, how I can make it?

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest




--
Dipl.-Ing. (FH) André Hartmann
Softwareentwicklung / Software Development

E-Mail: andre.hartm...@iseg-hv.de | Tel: +49 351 26996-43 | Fax: +49 351 
26996-21


iseg Spezialelektronik GmbH - HIGH VOLTAGE. EXACTLY.
iseg-hv.de | iseg-hv.com | download.iseg-hv.com

Bautzner Landstr. 23, 01454 Radeberg / Rossendorf, Germany
Geschäftsführer / Managing directors: Dr. Frank Gleisberg, Dr. Joachim 
Pöthig

Amtsgericht / Lower district court: Dresden HRB 16250
Umsatzsteuer-Id: / VAT-ID: DE812508942

News / Information
https://iseg-hv.com/en/products/control#isegControl2 isegControl2 - 
Unified Control Software
https://iseg-hv.com/en/products/detail/EHS EHS FLEX - Customize and keep 
the price
https://iseg-hv.com/en/products/detail/EHS EHS STACK - Perfect for GEM 
Detectors
https://iseg-hv.com/files/iseg-high-voltage-power-supplies.pdf NEW! 
Product catalog 2017 / 2018 released
https://iseg-hv.com/en/products/detail/NHR NHR - NIM HV-Supply with 
reversible polarity


Links
https://www.linkedin.com/company/12726924 iseg on LINKEDIN | Let's stay 
connected!
https://www.youtube.com/channel/UC5AL-ZgOqSim_1gYNnndyzQ iseg on YOUTUBE 
| Tutorials and more ...

https://www.twitter.com/iseg_hv iseg on TWITTER | please follow!
https://iseg-hv.com/files/iseg-high-voltage-power-supplies.pdf iseg 
CATALOG | download product catalog as PDF
http://download.iseg-hv.com/ iseg DOWNLOADS | manuals, software, 
firmware and more...


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. Wenn Sie nicht der richtige
Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren 
Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
Weitergabe dieser Mail ist nicht

gestattet.

This e-mail may contain confidential and/or privileged information. If 
you are not the intended recipient
(or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden.

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] qt creator F10 is not working anymore

2019-04-29 Thread Andre Hartmann

Hi Alexander,

please see https://bugreports.qt.io/browse/QTCREATORBUG-22330

Regards,
Andre

Am 29.04.19 um 09:48 schrieb Alexander Dyagilev:

hello,

i've just updated to 4.9

F10 (step over) is not working anymore in Debugger.

What happend?

Checked environment / keyboard settings - F10 is set to be used there.

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest



--
Dipl.-Ing. (FH) André Hartmann
Softwareentwicklung / Software Development

E-Mail: andre.hartm...@iseg-hv.de | Tel: +49 351 26996-43 | Fax: +49 351 
26996-21


iseg Spezialelektronik GmbH - HIGH VOLTAGE. EXACTLY.
iseg-hv.de | iseg-hv.com | download.iseg-hv.com

Bautzner Landstr. 23, 01454 Radeberg / Rossendorf, Germany
Geschäftsführer / Managing directors: Dr. Frank Gleisberg, Dr. Joachim 
Pöthig

Amtsgericht / Lower district court: Dresden HRB 16250
Umsatzsteuer-Id: / VAT-ID: DE812508942

News / Information
https://iseg-hv.com/en/products/control#isegControl2 isegControl2 - 
Unified Control Software
https://iseg-hv.com/en/products/detail/EHS EHS FLEX - Customize and keep 
the price
https://iseg-hv.com/en/products/detail/EHS EHS STACK - Perfect for GEM 
Detectors
https://iseg-hv.com/files/iseg-high-voltage-power-supplies.pdf NEW! 
Product catalog 2017 / 2018 released
https://iseg-hv.com/en/products/detail/NHR NHR - NIM HV-Supply with 
reversible polarity


Links
https://www.linkedin.com/company/12726924 iseg on LINKEDIN | Let's stay 
connected!
https://www.youtube.com/channel/UC5AL-ZgOqSim_1gYNnndyzQ iseg on YOUTUBE 
| Tutorials and more ...

https://www.twitter.com/iseg_hv iseg on TWITTER | please follow!
https://iseg-hv.com/files/iseg-high-voltage-power-supplies.pdf iseg 
CATALOG | download product catalog as PDF
http://download.iseg-hv.com/ iseg DOWNLOADS | manuals, software, 
firmware and more...


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. Wenn Sie nicht der richtige
Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren 
Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
Weitergabe dieser Mail ist nicht

gestattet.

This e-mail may contain confidential and/or privileged information. If 
you are not the intended recipient
(or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in 
this e-mail is strictly forbidden.

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Parsing data from serialport

2019-04-09 Thread Andre Hartmann

Hi Martin,

What is, when I ignore the ready read? 


The data will stay in the buffer, of course.

Has the internal buffer a max size? 


Your RAM or 2^32, whichever is lower.

Because at the moment I have a memory leak and maybe it comes from 
that?


I doubt that. A leak would mean, you cannot use the data anymore, which 
is wrong here - you just need to fetch the data from the buffer.


Regards,
André



Martin

Am Fr., 5. Apr. 2019 um 21:12 Uhr schrieb Konstantin Shegunov 
mailto:kshegu...@gmail.com>>:


On Thu, Apr 4, 2019 at 6:42 PM Jérôme Godbout mailto:godbo...@amotus.ca>> wrote:

You jus did the same loop into your slot, the function I did
made can be called as slot to the connect you just told, I agree
the serial_port->waitForReadyRead(5); is not necessary, just
often the transmission have partial or bunch of data by small
burst (USB VCOM) and was handy for me, but it is not ncessary in
any way.

A similar loop yes, however your loop goes until there's something
to read on the port, mine is run a few times only when the port
already has some information pending in its buffer. The QSerialPort
class already knows if data has arrived and buffers it*, so what
would be the point to loop over the port when there's no data? When
you talk with someone do you ask every 5ms if [s]he has something to
say to you? I really doubt it. You'd normally just wait for
something to be said to decide if and how to respond to it.

Side note: ReadLines made it less general purpose, you will need
a protocol that use endline to signal end of message which is
not always the case.

Involving realistic protocol handling is another kettle of fish. It
would require much more thought and effort and is beyond the scope
of what was asked initially.

* Unless it's in unbuffered mode, as Thiago already noted.

___
Interest mailing list
Interest@qt-project.org 
https://lists.qt-project.org/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest