Skip to main content
10-Marble
Mar 16, 2023 1:36 PM UTC
Question

simulate data in value stream

I need to simulate data in value stream instead of hard coding the value in property. what would be the best approach to get this done.

 

Feed new data into value stream once in every minute.

 

Sample data as follows:

[{"f":"260.0","v":"1.9"},{"f":"378.0","v":"0.1"},{"f":"441.0","v":"0.2"},{"f":"448.0","v":"0.2"},{"f":"685.0","v":"0.2"},{"f":"851.0","v":"0.4"},{"f":"921.0","v":"0.2"},{"f":"969.0","v":"0.3"}]

[{"f":"769.0","v":"0.1"},{"f":"784.0","v":"0.1"},{"f":"797.0","v":"0.1"},{"f":"859.0","v":"0.1"},{"f":"867.0","v":"0.1"},{"f":"887.0","v":"0.1"},{"f":"893.0","v":"0.1"},{"f":"897.0","v":"0.1"}]

[{"f":"229.0","v":"0.3"},{"f":"260.0","v":"0.2"},{"f":"264.0","v":"0.2"},{"f":"268.0","v":"0.4"},{"f":"272.0","v":"0.2"},{"f":"452.0","v":"0.2"},{"f":"851.0","v":"0.3"},{"f":"913.0","v":"0.3"}]

 

 

1 reply

17-Peridot
Mar 16, 2023 4:14 PM UTC

Hello,

 

You could use a timer or a scheduler to trigger the creation of your simulated data.

Of course you'd have to do some things to generate the data, but I think it should be doable.

 

Regards,

Jens

Translate