Data recorder Variable in Experiment Wizard

All topics on the Atoms in any Enterprise Dynamics Library.
Post Reply
panda_mic2000
Posts: 10
Joined: Thursday 29 February, 2024 - 16:26

Data recorder Variable in Experiment Wizard

Post by panda_mic2000 »

Hello,

A simple question, I'm recording the lead times in a data recorder by making it a variable (I can read it from the table), but how do I get the average of the lead times as an output when I'm running experiments in my experiment wizard?
panda_mic2000
Posts: 10
Joined: Thursday 29 February, 2024 - 16:26

Re: Data recorder Variable in Experiment Wizard

Post by panda_mic2000 »

Any updates on this? It's a simple enough problem, but I've tried multiple methods, still doesn't seem to be working
User avatar
Deena
Posts: 10
Joined: Monday 21 November, 2022 - 10:22

Re: Data recorder Variable in Experiment Wizard

Post by Deena »

Hi,
You can do it using a 4D script in the exit trigger of the sink by updating the label that is used to calculate the lead time of the product in the system.
Then you can use this label in the Experiment manager.
Hope this helps your question.


Kind Regards,
Deena
Attachments
image.png
image.png (69.62 KiB) Viewed 542 times
panda_mic2000
Posts: 10
Joined: Thursday 29 February, 2024 - 16:26

Re: Data recorder Variable in Experiment Wizard

Post by panda_mic2000 »

Hi Deena,
Thanks for this method, but is there no way to directly take the measurement from the data recorder and get the average of it in the experiment wizard? This doesn't just apply to lead time, but there are many things I am reading from the data recorders, so It would be nice if there was a way to read it directly from there onto the experiment wizard.
User avatar
Deena
Posts: 10
Joined: Monday 21 November, 2022 - 10:22

Re: Data recorder Variable in Experiment Wizard

Post by Deena »

Hi!
Thank you for the question. Yes you can do that. Once you have the Average Lead Time in the label as mentioned previously, then you can record that label using the Data Recorder. Hope I have answered your question.

Kind Regards,m
Deena
Attachments
Community 2024-04-02 093918.png
Community 2024-04-02 093918.png (106.43 KiB) Viewed 440 times
Post Reply