LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

recursive action

I have a problem where I need to perform branching that is recursive.
For example.

1. do you go out usually?
a. YES
b. NO.
c. Lot of places

If (a) or (C)

2.Select the place.

a. garden
b. church
c. hospital

If (b) is chosen for 1.
3. you dont go out becos,
a. u dont like
b. you dont have money...

Like wise there is branching.
I am not able to call VIs recursively. I have done a prgm that has less branching .


can someone give me idea as to how to proceed with branching.
Download All
0 Kudos
Message 1 of 2
(2,704 Views)
I suggest you simplify your problem by using a state machine architecture. Yes you can perform recursive calls but I don't think it is necessary for this example. Check out my example. Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
Message 2 of 2
(2,704 Views)