Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
21 Aug 2021 18:22 - 21 Aug 2021 18:24 #218337
by udoS
Building new Full Qt c/c++ HMI (incl. nml and EtherCAT ) was created by udoS
Thanks to Grotius there seems to be a great base to get started. I would really like to see this to become a modern look and feel HMI for LinuxCNC.
Including an EtherCAT.
Including an EtherCAT.
Last edit: 21 Aug 2021 18:24 by udoS.
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
21 Aug 2021 20:48 - 21 Aug 2021 20:49 #218349
by aleksamc
Replied by aleksamc on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
Do you know what is Qtpyvcp?
Last edit: 21 Aug 2021 20:49 by aleksamc.
Please Log in or Create an account to join the conversation.
21 Aug 2021 21:08 - 21 Aug 2021 21:11 #218351
by udoS
Replied by udoS on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
Yes. Great work. In Py.
But for a modern HMI ( touch ) to me it is heavily overloaded. But that‘ s my personal opinion.
I would rather go the way I pointed out.
But thanks.
P. S.
But for a modern HMI ( touch ) to me it is heavily overloaded. But that‘ s my personal opinion.
I would rather go the way I pointed out.
But thanks.
P. S.
Last edit: 21 Aug 2021 21:11 by udoS.
Please Log in or Create an account to join the conversation.
21 Aug 2021 23:47 #218357
by Grotius
Replied by Grotius on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
Hi,
Nice. I wish you all the good. Will follow this topic in future.
Nice. I wish you all the good. Will follow this topic in future.
Please Log in or Create an account to join the conversation.
22 Aug 2021 06:29 #218379
by udoS
Replied by udoS on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
Hi Grotius,
thanks a lot, even so it doesn‘t sound encouraging. And yes I would like you to stay along.
First q&a for you if you don‘t mind.
How do I get that dtg tuple for all axis/joints.
std::get<n>;(emcStatus->something.dtg);
thanks a lot, even so it doesn‘t sound encouraging. And yes I would like you to stay along.
First q&a for you if you don‘t mind.
How do I get that dtg tuple for all axis/joints.
std::get<n>;(emcStatus->something.dtg);
Please Log in or Create an account to join the conversation.
22 Aug 2021 18:30 #218424
by cmorley
Replied by cmorley on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
I was thinking about this the other day.
I wonder when you are finished if we could convince you two to build a QT C++ graphics display WIDGET.
If the widget uses qt properties to control it then it can be used in linuxcnc python based screens.
I would think a modern C++ based widget would have potentially more performance then a python based one.
Then your hard work could be accessed by more people.
We'd get the C++ performance but still retain the python low-bar customize-ability.
Chris
I wonder when you are finished if we could convince you two to build a QT C++ graphics display WIDGET.
If the widget uses qt properties to control it then it can be used in linuxcnc python based screens.
I would think a modern C++ based widget would have potentially more performance then a python based one.
Then your hard work could be accessed by more people.
We'd get the C++ performance but still retain the python low-bar customize-ability.
Chris
Please Log in or Create an account to join the conversation.
22 Aug 2021 19:22 - 22 Aug 2021 19:26 #218429
by udoS
Replied by udoS on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
Last edit: 22 Aug 2021 19:26 by udoS.
Please Log in or Create an account to join the conversation.
23 Aug 2021 09:26 #218475
by Grotius
Replied by Grotius on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
Hi Chris,
Using Qt properties is no problem.
What kind of Qt properties are on the wishlist?
With that info we can determine it's complexity.
Using Qt properties is no problem.
What kind of Qt properties are on the wishlist?
With that info we can determine it's complexity.
Please Log in or Create an account to join the conversation.
23 Aug 2021 14:46 #218521
by udoS
If you have a look at the short YouTube you will see
Linuxcnc
Vismach
Gremlin
and on the win10 the IDE from LogicLab's axel-plc that's online with the plc running on the Linux PC with EtherCAT Master connected to 5 axis Puls/train Board slave. The config is a standard ESI File.
For that plc I build a PlugIn that IPC_CREATE's a named Shem with semaphore to connect to the HAL. In the HAL nothing is connected except 4 axis cmd and 4 axis fb. PLC running at 1ms main task connecting the linuxcnc Values with the EtherCAT slave.
Whats commented in the Qt main window is the communication with the plc updating at 50ms.
github.com/cnc-nexT/Qt-Lcnc
Now the coolest thing would be to use the PlugIn for the nml communication and the Qt also talking to the plc. BINGO.
Maybe no need for the HAL at all. That'll be the day.
Replied by udoS on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
If you have a look at the short YouTube you will see
Linuxcnc
Vismach
Gremlin
and on the win10 the IDE from LogicLab's axel-plc that's online with the plc running on the Linux PC with EtherCAT Master connected to 5 axis Puls/train Board slave. The config is a standard ESI File.
For that plc I build a PlugIn that IPC_CREATE's a named Shem with semaphore to connect to the HAL. In the HAL nothing is connected except 4 axis cmd and 4 axis fb. PLC running at 1ms main task connecting the linuxcnc Values with the EtherCAT slave.
Whats commented in the Qt main window is the communication with the plc updating at 50ms.
github.com/cnc-nexT/Qt-Lcnc
Now the coolest thing would be to use the PlugIn for the nml communication and the Qt also talking to the plc. BINGO.
Maybe no need for the HAL at all. That'll be the day.
Please Log in or Create an account to join the conversation.
23 Aug 2021 18:24 #218533
by Grotius
Replied by Grotius on topic Building new Full Qt c/c++ HMI (incl. nml and EtherCAT )
Hi,
Do you recognize this qt compile error ?
/usr/bin/ld: /opt/linuxcnc/lib/libnml.so: undefined reference to `xdr_float'
/usr/bin/ld: /opt/linuxcnc/lib/libnml.so: undefined reference to `xdr_double'
etc.
Do you recognize this qt compile error ?
/usr/bin/ld: /opt/linuxcnc/lib/libnml.so: undefined reference to `xdr_float'
/usr/bin/ld: /opt/linuxcnc/lib/libnml.so: undefined reference to `xdr_double'
etc.
Please Log in or Create an account to join the conversation.
Time to create page: 0.212 seconds