LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

basic labview help needed

actually i m working on labview programming..my sub vi is working but when I use it in main vi its not working.. i know its the problem of dataflow but I could not find the solution to my problem..please anone help me out
Download All
0 Kudos
Message 1 of 5
(3,015 Views)
I don't see any issue... what do you mean by "not working"? Brocken arrow? Runtime error?
0 Kudos
Message 2 of 5
(3,000 Views)

EDIT : hum, finally this wasn't a good idea 🙂

Message Edité par JDlabview le 06-10-2010 04:13 PM

J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 3 of 5
(2,990 Views)
You have made a common mistake and one often discussed here. You are calling a subVI with a while loop that can only be stopped by clicking on the front panel's 'Stop' Boolean. Since you do not make the front panel visible so the button can be clicked, there is no way for the subVI to finish and return. No point at all in having a while loop and no point at all in configuring the serial port each time the subVI is called.
Message 4 of 5
(2,977 Views)

the way how you call a SubVI was not ok. I hope it works now.

see attached VI.LV Version 2009

Message Edited by FHM on 06-10-2010 09:35 AM
Download All
0 Kudos
Message 5 of 5
(2,967 Views)