Twopass

More
8 years 9 months ago #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

Please Log in to join the conversation.

More
8 years 9 months ago #104795 by dgarrett
Replied by dgarrett on topic Twopass
Code:
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 to join the conversation.

More
8 years 9 months ago #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

Please Log in to join the conversation.

More
8 years 9 months ago #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

Attachment not found

Please Log in to join the conversation.

More
8 years 9 months ago #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
Code:
halrun tst.hal >|tst.out 2>&1

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

Please Log in to join the conversation.

More
8 years 9 months ago #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 to join the conversation.

More
8 years 9 months ago #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 to join the conversation.

More
8 years 9 months ago #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 to join the conversation.

Time to create page: 0.183 seconds
Powered by Kunena Forum