Page 1 of 1

Remoting4 / Pass a String array to the scene

Posted: 25 Mar 2015, 08:10
by florian
Hi,

I'm looking for a way to pass a string array to a scene, anyone tried this ?

Example :
Project Data DataScheme : .myStringArray (declared as a String Array)

(under VB.net)
When I pass through the myCluster.ProjectDataItem(".myStringArray","string1;string2;string3")
the scene received : "string1;string2;string3" avec the first field of the array (same when escaping)
but when i set under designer : string1;string2;string3 the scene recognize the 3 fields

I tried the ArrayCsvTypeConverter(Of T) function but can't figure how to use the function, not well documented.

Thanks !

Re: Remoting4 / Pass a String array to the scene

Posted: 25 Mar 2015, 09:36
by lerou
"string1;string2;string3" is not an array. It's a single string. Try creating an actual array in VB.

Ventuz handles your entry in the scene data differently. It knows that it's supposed to be an array and splits it for you.

Or: send a single string (change data to string) and split it manually in Ventuz.

cheers,
rou

Re: Remoting4 / Pass a String array to the scene

Posted: 25 Mar 2015, 10:11
by florian
Yeah, i'm working on string and split input the scene

Passing a VB array didn't work
i tried many ways an none received the complete array

Thanks !