LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sub vi works alone but not in main vi

Hi All..
If u have a look at the attached vi u see that there is a sub vi ,called Ramping machine, which is kind of numeric machine producing current values for writing process (set kepco vi.). My problem is that ramping machine sub vi is working properly individually, but when i insert it in to the main vi. it s not working any more. I couldnt find out the problem. can u have a look and have an idea?
thanks
0 Kudos
Message 1 of 4
(2,701 Views)
This is just a guess,
I am not sure why you have so many sequence structures?
You may want to try and step through the code to see where the error is. You could also "right click" on the Ramping icon and set the properties to open when called and run the program.
Hope this helps! 
0 Kudos
Message 2 of 4
(2,685 Views)
i have similar problem..when i run two while loops parallely..
when i run this..one of my subvi dont run..when i remove the parallel while  loop it executes properly..

any guess?
0 Kudos
Message 3 of 4
(2,681 Views)
Hi all,

@looser: Please stick with your thread when the problem stays the same!

@fella: You also created a duplicate post... Please provide some source code to look at the problem!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 4
(2,665 Views)