11-12-2018 12:31 PM
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.
11-12-2018 03:10 PM - edited 11-12-2018 03:11 PM
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?)
11-12-2018 07:50 PM
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 .