PDA

View Full Version : Sending Variable to Girder 4 from NetRemote


AndySchofield
October 18th, 2005, 01:35 PM
How do i send a variable lets say x='hello' to girder and get girder to read it and not the
event string.
ie if girder is set to recognise 'Search' as the event string, how do i get GIRDER to read the variable not the event string.

I am fairly new to this and would appreciate some idiot proof help

Many Thanks

Jlee
October 19th, 2005, 02:13 AM
I don't use Girder 4 but this is the Girder 3 answer. Maybe it hasn't changed.

If your Internet Event Server event in Girder is called 'Search' and the value you want to send with it is 'Hello' your Girder command from NR would be:
Search(Hello)

In Girder 'Hello' will be stored in the variable known as pld2, so to store this as a girder variable 'x' you just need a script as simple as:
x=pld2

AndySchofield
October 19th, 2005, 04:30 AM
Thanks JLee

with pld2 it gave me the ip address but i tried pld3 and it worked!!!!

What is the significance of pld2, pld3 etc i dont understand.

Many Thanks

Jlee
October 19th, 2005, 05:52 AM
Thanks JLee

with pld2 it gave me the ip address but i tried pld3 and it worked!!!!

What is the significance of pld2, pld3 etc i dont understand.

Many Thanks

I presume pld is short for payload but I don't know what each one is used for, especially in Girder 4.