LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Auto stop" and "Auto Run" function exist?

"Auto stop" and "Auto Run" function exist?

0 Kudos
Message 1 of 10
(4,283 Views)

There is a VI property called Run when Opened you can set.

 

A VI will stop when all code within it ends.  So I don't know exactly what you are looking for with "Auto Stop".    But there is also a Stop function in the Application Control Palette.  But that is really more like a programmatic way of hitting the abort button on the toolbar and is not recommended.

 

What exactly are you trying to do?

 

Have you taken the LabVIEW tutorials?

LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

 

0 Kudos
Message 2 of 10
(4,277 Views)

I have a total of 3 VIs

I used Case Structures to run the first 2 VIs, from left to right. successfully.

But when comes to the last VIs, I wanna need get the VI to auto stop and auto run after 5 secs...

 

 

0 Kudos
Message 3 of 10
(4,275 Views)

This seems to be related to your other thread?  http://forums.ni.com/t5/LabVIEW/Need-HELP-Project-Issue-Having-3-individual-VIs-datalogger-vi/m-p/12...

 

If you need to wait 5 seconds for the VI to start, then use wait msec function or the Time Delay Express VI.  I still don't understand what you mean by "Auto stop".

 

And please finish doing the tutorials!

0 Kudos
Message 4 of 10
(4,268 Views)

related to other thread as u mentioned.

a clearer diagram as shown under attachment.

0 Kudos
Message 5 of 10
(4,261 Views)

Case statements are an inappropriate way to do any execution order and you certainly don't need anything 'run when opened' if your code is anything like that image. You are struggling with LabVIEW's basic concepts. You should attach some actual code instead of something you drew in paint. You've seemingly ignored my advice about the error in/error out connections (the standard way to connect VIs) so I imagine you will ignore other advice you get as well.

0 Kudos
Message 6 of 10
(4,248 Views)

apologise

"You've seemingly ignored my advice about the error in/error out connections (the standard way to connect VIs) so I imagine you will ignore other advice you get as well."

 

on the error in/error out connections (the standard way to connect VIs)

how it get it done?

as i tried figuring out on that issue.. no terminals from the VIs allowing me to do connections.

 

 

0 Kudos
Message 7 of 10
(4,244 Views)

Then add them as I already mentioned.They are on the Array, Matrix, & Cluster palette.

 

You still have not attached any code. If you would simply attach one, it could be modified for you though this is a very basic task.

0 Kudos
Message 8 of 10
(4,235 Views)

many thanks...

full of ????

cracking this project issue...

Download All
0 Kudos
Message 9 of 10
(4,226 Views)

I'm not going to comment on some pretty bad code.

 

Here's the datalogger with error in/error out connections.

 

Open the palette I mentioned. Put the control and indicator on the front panel. Right click on the icon in the upper right corner and select 'Show Connector'. Move your mouse to the bottom left square. It will change to a little spool of wire. Use it to click on that square and then click on the error in control. Repeat for the lower right square and the error out indicator. Save the VI.

0 Kudos
Message 10 of 10
(4,221 Views)