Launch application from Control Studio---frsRunTask

Hello to everybody

I need to lauch a program when an input/output parameter have a a specific value.

In DeltaV-Operate, I can do this, using the script "frsRunTask" but ony when th user make clic...

Do you know to do to lauch a program from a logic in Control Studio, or in the DeltaV Operate whitout a clic?

Regards

  • You must animate an object (variable current value for example) with the reference of the trigger contoller parameter. The ondatachange event will fire when this value changes and your script to frsruntask entered into this event type will run. However, if the value changes a lot, you will spawn many processes. Is your application to run single instanced or multi instanced, and does it do anything more than run an automated activity and quit? I've seen systems where the entire server memory is consumed with hundreds of these spawned tasks , bringing everything to a grinding halt, so be careful about management of your spawned processes.