06-12-2023 06:16 AM
I want to turn on the output for 10s and than off for 15s and run the cycle and want to stop the Vi as soon as i press while loop stop button.
please share the solution by showing block diagram.
Solved! Go to Solution.
06-12-2023 07:09 AM - edited 06-12-2023 07:11 AM
There are millions of decent ways to do this...
None involve a global. 😉
You'll make a huge step if you learn about shift registers. And event structures.
Since you want to stop as soon as you press a button, an event structure makes a lot of sense:
06-12-2023 09:22 AM
Hi Holas,
Try the attached code below
06-12-2023 11:23 PM
Thank you,
but this Vi is of latest version V19.1 and my version is V15 , so not able to open .
any other way to open this , can you let me know .
Thnaks.
06-13-2023 04:31 AM
Thank you !!
06-13-2023 08:39 AM
Hi Hola,
Can you try again? Let us know if it works and if it does, do not forget to choose best answer.
06-13-2023 10:45 PM
Still not working, attached is snap for error details. thanks
06-14-2023 01:25 AM - edited 06-14-2023 01:25 AM
Hi Holas,
@Holas1505 wrote:
Still not working, attached is snap for error details. thanks
Why do you even try to open a VI using AdobeAcrobat?
Why don't you use LabVIEW to open a VI?
06-14-2023 02:53 AM
Ohh really sorry, now it is working fine.
Thank you so much for your quick response, this realy help me well.
06-14-2023 07:28 AM
Does the code work as you were expecting? Let us know. If it works as expected, mark it as solution.