View Single Post
  #2   Spotlight this post!  
Unread 02-02-2009, 22:45
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: QUESTION: SubVI's, and incorporating camera files

Yes, you will need to combine the VIs in order for both to run. The overhead for a subVI call is tiny. If you start looking at the layers of code going down to read the FPGA, you'll realize just how small it is/must be.

Anyway, the easiest thing to do is to make your inputs and outputs on your vision code be programmatically accessible. You do this by adding them to the connector pane. Then you can drop your subVI wherever you like, wire stuff up, and you have code reuse.

The other thing to do is to move the file to be near your other files and make sure you've opened/dropped that one.

Greg McKaskle
Reply With Quote