TXT Training Factory - Offline + Monitoring

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
JonasJ
Beiträge: 1
Registriert: 30 Okt 2020, 03:06

TXT Training Factory - Offline + Monitoring

Beitrag von JonasJ » 30 Okt 2020, 03:24

I purchased the TXT Training Factory (https://github.com/fischertechnik/txt_training_factory).

I have basic C++ knowledge, but never worked with TXT before.

If there is an internetconnection and a cloudconnection the factory works fine.

But if I want to run it offline, the programs of the TXT controllers stop themselfes unregualry.

How can I run the factory offline?

My second question is: What is the best way to debug the factory-programs on the TXTs.

In the source-code there is a lot of logging and monitoring: spdlog, std::cout , mqtt-message....

Unfortunately I can only see some mqtt-messages on my node-red server if the factory is running, so I have no idea
what happened if a TXT stopped working correctly.

How can I monitor the TXT controllers on runtime?

Thank you for your help!

vleeuwen
Beiträge: 1564
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: TXT Training Factory - Offline + Monitoring

Beitrag von vleeuwen » 30 Okt 2020, 12:39

You will find the answer in the diagram:
Bild
diagram

You need to find a solution to get the external functionality inside your local network.
You don't need the MQTT bridge.
But a laptop with a local version of the fischertechnik Cloud Dashboard.



If you don't have a good basic experiences and skills with C/C++ programming for the TXT, then it could be advisable to start with the basics in:
https://github.com/fischertechnik/txt_demo_c_download
(here you find also information about how to setup a development environment and how to use it.)
and maybe
https://github.com/fischertechnik/txt_demo_ROBOPro_SLI

kvqw044
Beiträge: 1
Registriert: 19 Jan 2021, 21:38

Re: TXT Training Factory - Offline + Monitoring

Beitrag von kvqw044 » 19 Jan 2021, 21:46

I have the same issue, the TxtGatewayPLC program on the TXT keeps crashing/stopping.

Did you ever find a way to debug/find why it is happening?

There is a file /opt/knobloch/Data/TxtFactoryMain.log but nothing ever seems to written to it.

Antworten