cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

simulate data in value stream

SV_10230677
10-Marble

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 1
jensc
17-Peridot
(To:SV_10230677)

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

Announcements


Top Tags