Nembered Paramenters accessibility.

More
16 May 2013 17:01 #34181 by bigalex
Replied by bigalex on topic Numbered Paramenters
Hi Andy.
You are right I wrote badly. :blush:
I used the solution for GRUB2 with the file 07_rtai and related installation procedure that Kent Reed made.

bigalex :blink:

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

More
16 May 2013 17:40 - 16 May 2013 17:42 #34182 by bigalex
Replied by bigalex on topic Numbered Paramenters
Hi .
I tried the SMI fix with the "rtapi.conf" file modifications.
But after that no way to start the latency test or run a LinuxCNC configuration and no errors coming as well.
So I went back to the original "rtapi.conf" file and everything work as before.
Maybe my chipsets are not listed so smi fix it is not applicable .
I'm attaching the lspci result so if somebody can give a look at this as tell me if I'm wrong.
Thanks.

bigalex :blink:


File Attachment:

File Name: lspci_resu...5-16.txt
File Size:10 KB
Attachments:
Last edit: 16 May 2013 17:42 by bigalex.

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

More
16 May 2013 17:54 #34183 by ArcEye
Replied by ArcEye on topic Numbered Paramenters

I will try to fix the SMI issue because I've verified that the chipsets on my mother board are listed as "affected" .


I listed all the affected chipsets here
wiki.linuxcnc.org/cgi-bin/wiki.pl?FixingSMIIssues
and here
www.linuxcnc.org/index.php/english/forum...me-latency-solutions

Intel Corporation 82801I (ICH9 Family)

Not sure how you can think that any revision of the ICH9 chipset has a SMI problem, it is not listed, none of the ICH9 family are.

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

More
16 May 2013 19:20 #34186 by bigalex
Replied by bigalex on topic Numbered Paramenters
Hi ArcEye.
Thank you so much.
I'm wrong. :blush:

bigalex :blink:

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

More
16 May 2013 20:11 - 16 May 2013 20:11 #34190 by bigalex
Replied by bigalex on topic Numbered Paramenters
Hi people.
I've tried the Glade2Gcode example from Andy and I've to say that is really a possible solution to the problem I have.
Thanks to the new G code parameters naming functionality and linking to HAL pins the potentiality of the G code programming
is amazingly extended. :woohoo:
Now there is a link like this GladeVCP widget -> HAL pin -> G code parameter referring the HAL pin name.
The flow direction seems to be unique , in other words it is not possible to act from G code to HAL pin to GladeVCP widget (as Andy wrote).
Please Andy correct me if I'm wrong.
I'm trying to express what I think I've understood.
At the moment I've not yet the skills to manage properly this LinuxCNC improvement so I will try to learn the basics of GladeVCP
first and Python coding too.

bigalex :blink:
Last edit: 16 May 2013 20:11 by bigalex.

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

More
16 May 2013 20:21 #34191 by andypugh
Replied by andypugh on topic Numbered Paramenters

The flow direction seems to be unique , in other words it is not possible to act from G code to HAL pin to GladeVCP widget (as Andy wrote).


That does seem to be the case. But then I can't see many situations where you would need that.
In the situation where you did need that, the G-code analog outputs are probably adequate. (output the value to the motion.analog-out-NN pin at the moment it is calculated, and leave it there until something wants it)

You shouldn't need any Python, you ought to be able to add as many extra controls to that panel as you want in the Glade editor, and it should all Just Work.

Also, once you have created the panel in 10.04 you ought to be able to revert back to 8.04 and still use it (but not edit it).

if you want to get rid of Axis to only have the Glade panel as the user-interface then I think that is just a simple INI-file change. You will probably need to add a file-chooser and a "run" button, of course, though if the config you are building always uses the same G-code file you may only need a button linked to program.start.

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

More
16 May 2013 20:36 #34192 by bigalex
Replied by bigalex on topic Numbered Paramenters
Hi Andy.

So the savestate.py never change and the savestate.ini is changed automatically
related to the widget programmed during the shut down (window close/destroy) event isn't it ?

bigalex :blink:

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

More
16 May 2013 22:01 #34195 by andypugh
Replied by andypugh on topic Numbered Paramenters

So the savestate.py never change and the savestate.ini is changed automatically
related to the widget programmed during the shut down (window close/destroy) event isn't it ?:

It certainly _should_ work like that, yes

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

More
21 May 2013 22:58 #34508 by bigalex
Replied by bigalex on topic Numbered Paramenters
Hi Andy.
After some troubles I'm here again to ask for your support.
I'm testing your configuration example Glade2Gcode .
To experiment how it is working I made a new GladeVCP panel and fit on the window some spinbutton widgets and the dro object .
I renamed the GladeVCP panel as your panel is and rename the old one so I ran the configuration
and what I saw after the first shut down is that it didn't store the values of the spinbutton after the shut down.
I ran the configuration and I saw that the message

Destroy?

is not shown as using your GladeVCP panel did.
Into the savestate.py there is :

def on_destroy(self,obj,data=None):
print 'Destroy?'
self.ini.save_state(self)

So that is why if the Destroy message is not shown I supposed that the destroy event is not emitted .
If I change the values editing the savestate.ini file at the next startup the spinbutton widgets are setted with the proper values.
Is there a procedure to emit the destry event from GladeVCP panel or it should be emitted automatically (by default) ?
Excuse me if I'm telling something stupid . :whistle:

bigalex :blink:

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

More
21 May 2013 23:09 #34509 by andypugh
Replied by andypugh on topic Numbered Paramenters

Is there a procedure to emit the destroy event from GladeVCP panel or it should be emitted automatically (by default) ?


You need to link the destroy event of at least one of the widgets to the on_destroy routine.
It can be any of them except for the top-level window.

www.linuxcnc.org/docs/html/gui/gladevcp...._on_gladvcp_shutdown

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

Time to create page: 0.121 seconds
Powered by Kunena Forum