LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

NXT case structure

Hey Im making an nxt robot for a competition and it has to go thru two phases for the competition.  Shifting between phase 1 and 2 is controlled by a timer.  the only issue im having is how to setup multiple shift registers for my program

0 Kudos
Message 1 of 5
(6,130 Views)

Sorry, I don't have the NXT toolkit installed, but maybe you should move the select node outside the case structure and wire the output to the outer case selector to swrich between Phases 1 and 2.

 

If you need more shift registers, just add them.

0 Kudos
Message 2 of 5
(6,127 Views)

Thanks for the response, I just started labview and this is for a project, i know the shift register transmits data thru diiferent loop iterations but im not sure how to setup a second one to loop info for phase 2.  Once we enter phase 2 we do not return to phase 1.  I dont know how to connect the second shift register to the phase 1/2 case without getting an error

0 Kudos
Message 3 of 5
(6,126 Views)

How are you connecting and what kind of error are you getting?

0 Kudos
Message 4 of 5
(6,124 Views)

nxtscreen.JPG

It said we had tunneling errors and selector case value things, but this is the new setup i made after youre suggestions is the format for the shift registers okay?

0 Kudos
Message 5 of 5
(6,121 Views)