LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stop vi with two controls

sorry,which control Guru
Message Edited by Robin Hood on 03-11-2010 05:04 AM
Regards
RobinHood
0 Kudos
Message 11 of 21
(1,347 Views)
"user defined values" control
Regards
Guru (CLA)
0 Kudos
Message 12 of 21
(1,340 Views)

I have put it  inside,but no change

Message Edited by Robin Hood on 03-11-2010 05:25 AM
Regards
RobinHood
0 Kudos
Message 13 of 21
(1,337 Views)

Hi,

     I  think you didn't understand my problem.once I press the run button and push button, data from the instruments starts saving into an excel sheet.Now, what I want is,if I press the stop button on the front panel, the measurement has to stop abruptly,even if it's not completed.

Regards
RobinHood
0 Kudos
Message 14 of 21
(1,317 Views)

Guru,

        My "Time problem" hasn't been resolved.

Regards
RobinHood
0 Kudos
Message 15 of 21
(1,309 Views)

Guru,

         I think the problem is because of a subvi.I've traced out that the seconds column is running until the control enters a sub vi.but once the control enters the sub vi,the seconds column stops running.how to solve it.see the attached code

Message Edited by Robin Hood on 03-11-2010 07:29 AM
Regards
RobinHood
0 Kudos
Message 16 of 21
(1,300 Views)

What subVI?  The latest copy of your code you published as no subVI's in it.

 

PS.  When writing your message, please capitalize the first letter of your sentences and put two spaces after your periods.  The way you are typing now (no capitalization, no space whatsoever after the period) makes your message more difficult to read and looks like a long run-on sentenece.

0 Kudos
Message 17 of 21
(1,288 Views)

See this code Raven.

 

  (And what does PS mean)

Regards
RobinHood
0 Kudos
Message 18 of 21
(1,272 Views)

PS means post script.  An after thought.

 

I see the subVI in your code now, but you did not attach it, so I don't know what is going on inside.

 

Does that subVI have a while loop inside of it?

0 Kudos
Message 19 of 21
(1,269 Views)

Yes. It has a while loop.

 

 See the attached sub vi.

Message Edited by Robin Hood on 03-11-2010 11:12 PM
Regards
RobinHood
0 Kudos
Message 20 of 21
(1,266 Views)