Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Remoting4 / Pass a String array to the scene

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
User avatar
florian
Posts: 58
Joined: 18 Feb 2012, 19:42

Remoting4 / Pass a String array to the scene

Post by florian » 25 Mar 2015, 08:10

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 !
Florian

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: Remoting4 / Pass a String array to the scene

Post by lerou » 25 Mar 2015, 09:36

"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

User avatar
florian
Posts: 58
Joined: 18 Feb 2012, 19:42

Re: Remoting4 / Pass a String array to the scene

Post by florian » 25 Mar 2015, 10:11

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 !
Florian

Post Reply