Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

using case structure

i am trying to create a case event so tha my robot measure the distance from then compare it to the threshold the call the specific vi but it doesnt seem to work.

can someone please help me.

0 Kudos
Message 1 of 3
(2,126 Views)

Attach your VI, not a useless picture. (include typedefs and subVIs if needed)

 

(e.g. we cannot tell what's in the other cases or what they are. We cannot tell where the terminals are (why do you use local variables here??? What determines the loop rate?)

0 Kudos
Message 2 of 3
(2,115 Views)

attached is the main Vi which measures the distance from the 10 ultrasonic Vis ..and am trying to implement an obstacle avoidance algorithm but only the first case structure seems to work..i am using the distance measured from the sensors as a local variable so that i can compare them with the threshold which is 20cm.

will realy appreciate any help on how to to implement the case structure .

Download All
0 Kudos
Message 3 of 3
(2,105 Views)