{ "@context": "https://schema.org", "@type": "WebPage", "@id": "/posts/labview-examples-advanced", "name": "LabVIEW Advanced Examples for LEGO NXT", "description": "See advanced LabVIEW features in action, including a Sub VI example and how to use multiple NXTs in one program. Download the LabVIEW examples for your robot.", "url": "/posts/labview-examples-advanced", "inLanguage": "en", "mainEntity": { "@type": "Article", "headline": "LabVIEW Examples: Advanced", "description": "See advanced LabVIEW features in action, including a Sub VI example and how to use multiple NXTs in one program. Download the LabVIEW examples for your robot.", "image": "https://cdn.prod.website-files.com/65b933e10656d98773dd067c/6739ec50f1c9484e3133fff1_Screen-Shot-2013-06-20-at-12.36.34-AM.avif", "datePublished": "2013-06-19", "author": { "@type": "Person", "name": "" } }, "breadcrumb": { "@type": "BreadcrumbList", "itemListElement": [ {"@type": "ListItem", "position": 1, "name": "Home", "item": "/"}, {"@type": "ListItem", "position": 2, "name": "Articles", "item": "/articles"}, {"@type": "ListItem", "position": 3, "name": "LabVIEW Examples: Advanced", "item": "/posts/labview-examples-advanced"} ] } }

Are we missing anything?
Let us know!

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

LabVIEW Examples: Advanced

Jun 2013
Basic NXT flags

These examples demonstrate some advanced features in LabVIEW.

Using a Sub VI

  • This example shows a possible implementation of a sub VI.  Sub VI's are essentially consolidations of other code into one icon.

Multiple NXTs

  • This example demonstrates how to use multiple NXTs. After specifying which NXTs to use, the program uses motors on both NXTs.

Multiple NXT Flags

  • This example demonstrates the use of multiple NXT flags. A robot is programmed to constantly check if the light sensor is on a dark surface, the touch sensor is pressed, and if the ultrasonic sensor is more than 10 cm away from an object.  If any of these conditions are met, a corresponding flag is set to true and the parallel while loop reacts accordingly.

Basic NXT Flag

  • This example shows a very basic use of the NXT flag function.  A flag is created and set to true only when the touch sensor is pressed.  The flag is then used as a stop condition for a while loop.

Resources

Related Articles

Up Arrow
FEEDBACK
Up ArrowUp Arrow