View Full Version : Sending an event that Girder can catch
Ron
October 13th, 2002, 12:55 PM
You could try the TCP/IP plugin. Or use the commandline interface.
mflaster
October 13th, 2002, 12:55 PM
Hi,
I'm writing a program (actually modifying some sample code) in the hopes that I can play an MPG file, and send Girder messages at various points (i.e. file is loaded, tell me to start. Clip is finished, move on to the next task.) I don't want my app to exit, and have Girder catch the exit event, because of the screen flashes.
So here's my question. Isn't there some easy thing to do from a Visual C++ windows program that Girder would notice? Send a message? Do something else? Or would I have to write a special hardware plugin to wait for a specific message from my app?
I wasn't even sure which hardware input device would be able to catch something sent by my program.
Any advice?
Mike
<font size=-1>[ This Message was edited by: mflaster on 2001-08-13 04:09 ]</font>
mflaster
October 13th, 2002, 12:55 PM
What do you mean by "commandline"? Running girder.exe with certain arguments? Or is it a plugin? I couldn't find documentation of either.
Mike
oe1k
October 13th, 2002, 12:55 PM
It has been mentioned around here someplace...
Anyway, you can send events to girder like this:
girder -eventstring <event name>
where <event name> is the sting you want to send, such as:
girder -eventstring 8660CC198330
for an irman button, or make you own with text names.
(just don't send "girder -eventstring" by itself: this will run every command that isn't assigned an event string, including your shutdown event that is only supposed to be called by the confirm shutdown event.)
_________________
-Richard L. Owens
<font size=-1>[ This Message was edited by: oe1k on 2001-08-13 17:07 ]</font>
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.