PDA

View Full Version : Girder Events



Dstructr
April 2nd, 2006, 02:33 PM
How do i read the payload array in girder ?

I send the event like this using C#:

GIRDERLib.GirderEvent evt = new GIRDERLib.GirderEvent();
evt.EventString = "MyEvent";
evt.Device = 18;
evt.set_Payload(1, "Test");
evt.Send();

When receiving the event in girder , the EventDeviceID in girder is set to 18.
But how can i read the payload ?
And what is deviceid for ? What value should i use ?

What i need to do is read the payload in girder, set some variables then execute
the attached command..

Any detailed docs on this ?

Promixis
April 2nd, 2006, 03:04 PM
the payloads are in the global vars pld1,pld2,pld3


G3.3 is EOL.

G4 has a comprehensive guide.