Twopass

More
21 Jan 2018 16:21 - 21 Jan 2018 16:22 #104793 by Mike_Eitel
Twopass was created by Mike_Eitel
Hi
I want to use twopass quite intensiv
Is it possible that this funtionality is not working as expected in postgui files?

P.S. Stretch, newest master.

THX
Mike
Last edit: 21 Jan 2018 16:22 by Mike_Eitel.

Please Log in or Create an account to join the conversation.

More
21 Jan 2018 16:28 #104795 by dgarrett
Replied by dgarrett on topic Twopass
Twopass processing occurs before the loading of a gui.  When using a 
[HAL]POSTGUI_HALFILE, it is convenient to place all the loadrt
statements for components needed in a halfile that is loaded earlier.

Example of a HAL section when using a POSTGUI_HALFILE :
----
[HAL]

TWOPASS = on
HALFILE = core_sim.hal
HALFILE = sim_spindle_encoder.hal
HALFILE = axis_manualtoolchange.hal
HALFILE = simulated_home.hal
HALFILE = load_for_postgui.hal  <-- loadrt lines for components in postgui.hal

POSTGUI_HALFILE = postgui.hal
HALUI = halui
----

Ref: linuxcnc.org/docs/html/hal/twopass.html

It is possible that there are issues with very complex loadrt lines.
Post your ini and hal files.

Please Log in or Create an account to join the conversation.

More
21 Jan 2018 16:33 - 21 Jan 2018 16:34 #104797 by Mike_Eitel
Replied by Mike_Eitel on topic Twopass
After reading again i get the impression that it is not only convinient but demanded to collect the loadrt in an seperate file?
Yes, will do and collect ( pitty)

THX
Last edit: 21 Jan 2018 16:34 by Mike_Eitel.

Please Log in or Create an account to join the conversation.

More
21 Jan 2018 17:16 #104802 by Mike_Eitel
Replied by Mike_Eitel on topic Twopass
Nope

I changed, but it does not work neither,
also not to transfer addf was the reason

I have no glue anymore
THX Mike

File Attachment:

File Name: MeBIG.tar
File Size:330 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Jan 2018 19:15 #104809 by dgarrett
Replied by dgarrett on topic Twopass
I don't have hardware to test a 7i76e, Please:

1) run the following command in a terminal (test.hal attached)
and post (attach) the file tst.out
halrun tst.hal >|tst.out 2>&1

2) run linuxcnc from a terminal and post (attach) the file log.txt
linuxcnc MeBigCNC3.ini >|log.txt 2>&1
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Jan 2018 20:05 #104812 by Mike_Eitel
Replied by Mike_Eitel on topic Twopass
Hi dgarrett
I'm no more near to my machine but my 7i76e/773 combo works good.

Only problem since the upgrade is the scrambled lcd.

For the twopass problem i changed all files and concentrated all loadrt in one preloaded file.
Since then it runs. I can proceed with my application building.

Do you still want me to run your test and send the result?
Thx Mike

Please Log in or Create an account to join the conversation.

More
21 Jan 2018 20:33 #104813 by dgarrett
Replied by dgarrett on topic Twopass

Do you still want me to run your test and send the result?


No, not if it is working.

I thought you said it was not working:

I changed, but it does not work neither,...

Please Log in or Create an account to join the conversation.

More
21 Jan 2018 20:40 #104814 by Mike_Eitel
Replied by Mike_Eitel on topic Twopass
Thx
Yes, it was not ,always complaint existing mux2 in mpg.hal...

So i moved all loadrt lines from all hal's into one. From that moment on the twopass worked.
Can't explain why.
Mike

Please Log in or Create an account to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum