Go to Post Don't forget Morgan Freeman will be at champs. Maybe he and Will are gonna freestyle it! - Nuttyman54 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-03-2014, 11:55
Eisa
 
Posts: n/a
Labview SubVI help

Hello Chief Delphi,

I am currently running LabView for NXT Mindstorms.

I have a program that makes the robot turn left, then track parallel white lines on a road before coming to a stop at a red line.

I am trying to run this specific program twice in a row. To keep my program simple looking, I placed it in a subVI. Wiring two instances of the subVI together, however, does not make the program run twice. The robot ends up finishing one subVI, however does not move on the next subVI. Manually copying and pasting the program twice onto one VI and then wiring them together does however allow the robot to complete both programs in sequence. How can I have the two subVIs wired together to work properly?

Attached are images of the main VI and the subVI's front and back diagram.

Any help about subVIs in general would be greatly appreciated as well.
Attached Thumbnails
Click image for larger version

Name:	Main Vi.png
Views:	51
Size:	25.3 KB
ID:	16536  Click image for larger version

Name:	SubVi Front Diagram.png
Views:	39
Size:	53.0 KB
ID:	16537  Click image for larger version

Name:	SubVi Block Diagram.png
Views:	42
Size:	119.3 KB
ID:	16538  
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi