12-12-2021 06:53 AM
Can someone tell me why the "for loop" doesn't exit the first time through if I enter the correct number of characters (10)?
12-12-2021 08:21 AM
Hi fforgit,
@fforgit wrote:
Can someone tell me why the "for loop" doesn't exit the first time through if I enter the correct number of characters (10)?
Because you don't "OBEY THE DATAFLOW!"
Why do you access the value of that string indicator using a difficult way with property nodes?
Why don't you use the wire coming out of that ExpressVI?
Why do you hide the label of the integer indicator in the block diagram?
Why do you compare "i" with "2"? In a loop set to run only twice???
Solution:
Read the LabVIEW help on the topic "THINK DATAFLOW!". Then use more wires…
12-12-2021 11:40 AM
As Gerd already mentioned, the dataflow principle is totally violated here. Since the entire code is just plain silly, I really recommend to spend a few hours on LabVIEW tutorials and look at some example