NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
DeweyMec
Posts: 9
0 Kudos

Lego NXT with Event Structure

Hello:

 

I am trying to do a remote laboratory with a LEGO NXT being controlled in direct mode by a computer running LABVIEW. The Users (students) can try their algoritm via internet. In case the robot gets stuck doing a task (for example, ""go foward") I was planning to do an event structure that activated with a buttop (Stop Button). The idea is that the user pushes this stop button, the event structure activates, and then the Lego NXT stops on its tracks an the VI stops.

 

I am having a problem is telling the NXT to stop. The NXT Labview blocks have a line connecting them indicating the program flow. I think the problem would be solved if I could get that instance of the program flow inside the event structure. Is this posible?

 

Thank you for your time.

Member
ESearl
Posts: 67
0 Kudos

Re: Lego NXT with Event Structure

Just wire the NXT sequence wire from outside the structure to the stop block inside the structure. It should create a tunnel on the structure frame automatically.

Also, the NXT Pink wire isn't strictly required, it is only there for sequencing when convenient.

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page