09-28-2010 09:29 PM
"Auto stop" and "Auto Run" function exist?
09-28-2010 09:50 PM
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
09-28-2010 09:56 PM
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...
09-28-2010 10:05 PM - edited 09-28-2010 10:06 PM
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!
09-28-2010 10:20 PM
related to other thread as u mentioned.
a clearer diagram as shown under attachment.
09-28-2010 10:30 PM
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.
09-28-2010 10:35 PM
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.
09-28-2010 10:43 PM - edited 09-28-2010 10:45 PM
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.
09-28-2010 10:53 PM
many thanks...
full of ????
cracking this project issue...
09-28-2010 11:24 PM
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.