PDA

View Full Version : Mixing Serial and IR commands in a Macro



dormie1360
November 23rd, 2004, 11:13 AM
I'm new to Girder.

I have some Groups or Macros which run numerous IR commands via a Tira2. They work fine. (I use MainLobby to launch them). I've just started using serial commands for my projector. The serial commands seem to work fine, but when I put them in the macros with my IR commands I start having problems. First if you test the Group (F5), it will run until it hits the serial command, executes it. but then stops. I've put the serial command at the end of the string to fix this. However, Mainlobby does not want to lauch the serial command when it is part of an IR/Serial macro regardless of where it is.

Any basic things I should know about working with serial commands? Should there be time delays or are there other tweaks that should be considered when working with these types of groups? ( IR/Serial) Coluld the problem be the way I have the serial command setup? Is there a better way to setup Girder to lauch numerous IR and Serial commands at once?

Sorry for all the general questions, being new, I just really don't know what directions to head first. I guess I'm looking for the best way to troubleshoot this.

Thanks,
John

Promixis
November 23rd, 2004, 12:20 PM
Hi John,

Will the serial commands work when setup as a single command?

You may need to add a wait command in the multigroup if the above works...

How are you communication to Girder from ML?

What Girder version?

dormie1360
November 23rd, 2004, 02:24 PM
Hi Mike


Will the serial commands work when setup as a single command?
Yes, at least the ones I'm trying to put in macros.

You may need to add a wait command in the multigroup if the above works...
I was thinking about that, haven't figured out how to do that yet. :-?

How are you communication to Girder from ML?
All my IR commands work fine (once I figured out how to do it) :D When I setup a single serial command in ML it appears to work also.

My version is 3.3.4

Thanks,
John

Promixis
November 23rd, 2004, 02:41 PM
To wait,

Add a command

goto window/wait

enter a timeout value say 500 ms.

dormie1360
November 24th, 2004, 07:07 PM
Thanks Mike, that did the trick. :D


Regards,
John

Promixis
November 25th, 2004, 09:11 AM
Great :D