 thomas.marcus
		
			thomas.marcus
		
		
		
		
		
		
		
		
	
			03-30-2021 12:40 PM - edited 03-30-2021 12:42 PM
I have a pretty complex main program that calls various SubVIs. All of them work except for the one I attached. Every time I close the main program or the SubVI it stops working in the main program until I open the SubVI, delete a connection and connect it again or delete and write a variable (the same value) and save. Then the main program works as it should.
I really don't know anymore what to do. Is it a bug?
Solved! Go to Solution.
 crossrulz
		
			crossrulz
		
		
		 
		
		
		
		
		
	
			03-30-2021 12:55 PM
@thomas.marcus wrote:
Every time I close the main program or the SubVI it stops working in the main program...
What do you mean by "stops working"? Wrong values returned? Program halts when calling the VI? LabVIEW crashes when it is called? You get a Blue Screen of Death?
03-30-2021 01:26 PM
right, forgot to say that. sorry.
it returns NaN.
 paul_cardinale
		
			paul_cardinale
		
		
		
		
		
		
		
		
	
			03-30-2021 02:30 PM
Generally, around here, people don't try to debug pictures. The reason for that is that it's impossible to debug a picture; and no one is going to try recreate a VI from a picture.
 RTSLVU
		
			RTSLVU
		
		
		
		
		
		
		
		
	
			03-30-2021 03:54 PM
It look's like you don't have the Feedback Node wired correctly...
Try something like this...
 RavensFan
		
			RavensFan
		
		
		 
		
		
		
		
		
	
			03-30-2021 09:05 PM
Please don't post BMP images. They are way larger than they need to be.
The best image for LabVIEW code is PNG. JPEG will do in a pinch. But as others have said, actual VIs are best.
 GerdW
		
			GerdW
		
		
		 
		
		
		
		
		
	
			03-31-2021 04:03 AM
@RavensFan wrote:
Please don't post BMP images. They are way larger than they need to be.
Using PNG instead reduces filesize dramatically:
 carolynperry
		
			carolynperry
		
		
		
		
		
		
		
		
	
			03-31-2021 05:00 AM
nice, i will try it
 billko
		
			billko
		
		
		
		
		
		
		
		
	
			03-31-2021 06:44 AM
Don't get stuck on image size. Post your VI if possible.
03-31-2021 10:37 AM
Alright, I just thought since there are so many SubVIs I don't want to upload them all, and didn't know if it works without them.
Gonna try rewiring the feedback node correctly in a minute.