PDA

View Full Version : Multiple Payloads to Girder?


MyLastChoice
September 22nd, 2005, 12:47 AM
Is there a way to send multiple payload variables to Girder 4 using the "Send Event to Girder" action from NR Designer?

I can't seem to find a syntax that works.

What I am trying to do looks something like this...MyGirderEventName(variable1, variable2, variable3)However, designer seems to choke on that syntax (the event string gets chopped off), and when the event is received in Girder 4, all the variables get lumped into pld3. So that payload 3 looks like this:pld3 = variable1, variable2, variable3instead ofpld3 = variable1
pld4 = variable2
pld5 = variable3Am I just messing up the syntax here, or is it only possible to send one payload from NetRemote to Girder?

Thanks!

Jlee
September 22nd, 2005, 02:49 AM
I'm sure this has been asked before but I can't remember the answer. I do it using a workaround. All I do is separate the strings sent in pld2 with a | and run some code on the receiving girder command to carve up the 2 strings. I'm only using Girder 3 BTW.

One downside I've had recently is that there seems to be a limitation in the number of chars that get through to Girder from NR. 81 is the maximum if I remember rightly. Ben said he would look into this but the problem is still outstanding.

Mastiff
September 22nd, 2005, 11:11 AM
I believe Girder 3 can only accept one payload. Girder 4 can take more, though.

Ben S
September 22nd, 2005, 12:28 PM
We'll add support for multiple payloads soon. Thanks!