5

I want to program our Ev3 for FLL (class assignment), and I want to use an object oriented approach in a very procedural environment. Is there a programmatic way to execute another program inside the same project using the augmented LabView? (This is more like using other programs as methods rather than programs, and then calling the "methods" to do a certain task like pull a lever, push a button, move the wheels...)

  • to clarify, I only can use LabView, unfortunately we can't use C++ or Java. – AMDG Dec 8 '14 at 15:40
  • As a general note, LabVIEW is a dataflow-driven language, rather than OOP or procedural. Just like OOP is a great aid for certain situations, using a dataflow-driven language is helpful for control system programming. – apnorton Dec 21 '14 at 17:29
  • see what I didn't realize before is I can make my own blocks with the Ev3. That's how I have other "Programs" to execute. – AMDG Dec 22 '14 at 14:41
5

This is more of a LabView answer than a Mindstorms answer, but you should be able to create a SubVI that represents a task, and then you can place that in the main VI.

This help document might be useful: http://zone.ni.com/reference/en-XX/help/372962A-01/lvnxt/creatingusingsubvi/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.