View Full Version : Girder Events

April 2nd, 2006, 03: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");

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 ?

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

G3.3 is EOL.

G4 has a comprehensive guide.