05-13-2015 11:23 AM
Hi,
I have two independent labview programme. I want to run one programme at first. Second programme should start automatically if first programme is aborted by clicking abort button. Could you please help me in this regard.
Thanks
05-13-2015 11:32 AM
05-13-2015 11:43 AM
Hi,
My main progamme deals with different current sources and volt meter. There are many for and while loops and also flat sequences. I want to introduce an "emergency stop". By clicking the stop, the programme should be terminated and all the meters should also be stopped. I make a small programme for stopping the meters. I want to do while aborting the first programme, the second programme should be executed automatically.
Is it possible?
05-13-2015 11:47 AM
Would it not be better to close the meters when you close the application and have your application exit gracefully rather than having it start another one?
(You can call an executable from within LabVIEW using the System Exec VI but I don't think you need that here)
05-13-2015 12:01 PM
05-13-2015 03:21 PM
It sounds like you should refactor your code into a proper state machine with an event driven use interface that can respond quickly to emergency events. Do a search for "state machine" and read up on the subject.