LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID instrumentation and application

Solved!
Go to solution

Hi Milon,

 


@Chowdhury_Milon wrote:

As I said before, after getting the process value (PV) steady state (after 190 s in the picture), I want to stop this code and go to the supply step. How can I go to the supply step by stopping this nutrient solution preparation code?


What about changing that stop condition?

Maybe something like "stop when PV is in valid range for x seconds" - instead of "stop if PV is in valid range"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 31 of 35
(786 Views)

Mr. GerdW

 

Yes, I agree with you but the PV setting time is not always the same. I can understand the condition but can't set the proper vi. I tried to use "In Range and Coerce" vi but it is not the proper one. Would you please give some suggestions or show some similar examples?

0 Kudos
Message 32 of 35
(781 Views)

Hi milon,

 

you need to combine InRange with ElapsedTime to get your "pv is in range for a certain time"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 33 of 35
(775 Views)

Hello Mr. GerdW, 

Greetings. I am really sorry, I tried to combine the "In Range and Coerce" with "ElapsedTime" but can't succeed. if you have any idea, would you please share that with me? 

 

Thanks in advance. 

0 Kudos
Message 34 of 35
(751 Views)

Hi Milon,

 

as usual:

What have you tried? Where did you fail?

 


@Chowdhury_Milon wrote:

if you have any idea, would you please share that with me?  


As said before: the idea is to check for "is in range for a certain amount of time"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 35 of 35
(745 Views)