LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

State Machines

Hi.  I tried to realize the VI suggested in the tutorial

 

http://www.ni.com/white-paper/7595/en

 

but as you can see from the VI attached it doesn't work.

In particular, watching at the tutorial, it says:

 

9.       Right-click the case box at the top of the case structure and select Add Case for Every Value.

 


I haven't found this option. (i'm using lab2012).

Where is the error?

Another question is he use the same indicator "Money Deposited" everywhere. How is it possible without generating multiple indicators? (I suppose that the indicator is only 1 since he shows only 1 in the first picture).

0 Kudos
Message 1 of 5
(2,773 Views)

Try to change the input to Typedef .

Boldness has genius, power and magic in it!'
0 Kudos
Message 2 of 5
(2,768 Views)

mmm i haven't understood.. could you explain it better plz?

Ty

0 Kudos
Message 3 of 5
(2,762 Views)

Problem solved.

For the String Indicator should be setted the create local variable. Right click on the String indicator connected to the 0 value, create, local variable.

I have also solved the problem with the case structure also if I don't understand why before it didn't work.

By the way thank you

0 Kudos
Message 4 of 5
(2,758 Views)

@inuyasha84 wrote:

 9.       Right-click the case box at the top of the case structure and select Add Case for Every Value.

 


 

"Add case .." works for Enums, in which case it creates a case for every value in the enum.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 5
(2,754 Views)