11-23-2014 02:50 AM
hello, i am new in labview and was given a task to create a vi like the stated above.. can anyone help me..??
11-23-2014 03:25 AM
Why would you be given this task if you are new to LabVIEW? Maybe they should ask somebody who knows how to program in LabVIEW, right?
Of course it is possible that this is homework for a LabVIEW course. In this case you should try to apply what you learned in the most recent lesson. What have you tried so far? What problems did you encounter? Where did you get stuck?
For some ideas, search the forum for "kitt".
11-24-2014 12:10 AM
my program currently runs without me pressing start button and wont stop even i press stop button
11-24-2014 12:46 AM
Your stop button needs to be inside the loop or it will only get read once at the start of the program.
You don't need any sequence structure or local variable.
11-24-2014 01:05 AM
i hve my stop button inside the loop. but the program still will run even though i press the stop button. anything i did wrong.??
11-24-2014 01:07 AM - edited 11-24-2014 01:11 AM
See if this can give you some ideas.... Make sure you understand every single function.
11-24-2014 01:10 AM - edited 11-24-2014 01:11 AM
@mingquanteo wrote:
i hve my stop button inside the loop. but the program still will run even though i press the stop button. anything i did wrong.??
The stop button will only get read every 10 seconds because the code is trapped inside a long sequence structure. Most likely, the button gets read right at the beginning of each itereation, meaning that it can take up to 20 seconds for the program to actually stop.
Why did you change the mechanical action of the stop button.
You also have a very basic misunderstanding of local variables. It makes no sense to read a terminal and wire it to a local variable ot itself.
11-24-2014 09:27 PM
@altenbach wrote:
See if this can give you some ideas.... Make sure you understand every single function.
Can you upload in 2011 !!!
11-25-2014 02:30 AM