I want the user enter the interval number, let's say he enters 10. Then for i=1; i<10 , i++ , then next time if he enters 5 , loop runs for 5 times
so when I created a for loop in labview the number should be constant. The input value is a string so how do I convert string to constant?
Solved! Go to Solution.
You seem to be speaking in some version of C. This is LabVIEW -- get used to it. Users can enter data in any kind of Control -- if the control is a numeric control, the input will be a number. If the control is a String control, it will be a string. The Block Diagram has (String) functions to convert strings containing representation of numbers (e.g. "10") into number (such as the number ten).
I regret that the Getting Started with LabVIEW Tutorials have been (temporarily, I hope) moved from their place at the beginning of this Forum. You really need to learn the basic elementary parts of LabVIEW ...