Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello All,
We have a project at the moment in which a Thing can have various numbers of properties depending upon its installation. I.E one Thing could have 10 properties, and yet another thing could have 40. Both of these are similar in function, it is just the size that varies.
What we need to do is to log these properties in a stream... is there a way to dynamically alter the number of columns in a datashape depending upon the largest thing we instantiate? or is it a case of we need to define the largest system before creating the datashape?
I have a feeling it is the latter, however just thought I'd ask to see if anyone has had any experience with this...
James
This is a perfect use case for ValueStreams
Hi Pai
Are there any example uses of this value stream? I can see that a ValueStream still requires a DatShape... Does the DataShape require the maximum possible number of columns defining before being able to use it?
Thanks
James
Please see section 3.14.8 on Value Streams and some videos showing how it works.