PDA

View Full Version : Update an active GML in control tree?



Max Steel
September 16th, 2006, 12:49 AM
Hello... am newbie to Girder, so excuse my ignorance.
Tell me, is is possible to update an active GML file on the fly?

eg. If I have a GML/group/actions/
Is it possible to add/remove/ammend actions within a specific GML file on the fly, or just replace the entire GML with another version with same name??

I found the Girder to Girder action 'push gml' and this seems to be kinda what I wanna do, ie. Update or replace an existing GML with another of same name, except I want to replace an active GML on the local machine thats running Girder.

Is the above possible?

Thanks in advance..

..Max..

Rob H
September 16th, 2006, 01:46 AM
Can you explain why you need to do this?

Just to check, you do know that you can have more than one GML loaded at a time don't you? And that you can control which GML is responding to events from say, a remote, using a conditional.

Max Steel
September 16th, 2006, 02:00 AM
Well, I just thought it might be an easy way of changing actions/events within a subgroup, without having to individually enable them or disable them, or open and close GML's.. etc.

Again, I am new to girder4, so perhaps aren't using the most ideal method, but it just seemed a reasonable way of changing a set of defined actions, by replacing a GML file with one of identical name, but the new GML could contain completely different action set.

ie. I don't want to alternate between actions, I wanted to entirely replace or ammend existing actions.

Seemingly the 'push gml' action does precisely this?, but only for remote girder clients?

..Max..

Rob H
September 16th, 2006, 08:32 AM
The push GML is mostly intended for automatically copying a GML from one machine to another.

I'd take a look at conditionals in the manual if I were you.