rscott9399 Posted April 29, 2019 Report Share Posted April 29, 2019 Hi I have a VI that is very complex that i did not write. Needless to say life is difficult right now I need to do the following. The VI outputs a certain enumeration if there is no error. AKA a complete bit However, the complete is happening to fast. I would like to delay the output of this enumeration just by a second Is there any simple way to do this? Thanks Quote Link to comment
infinitenothing Posted April 29, 2019 Report Share Posted April 29, 2019 It would really be nice to see some code or even like just the concept to see what you're talking about. Have you seen this VI? http://zone.ni.com/reference/en-XX/help/371361P-01/glang/stall_data_flow/ 1 Quote Link to comment
rscott9399 Posted April 29, 2019 Author Report Share Posted April 29, 2019 This might be perfect. I dont see it in my labview Where can i get this? Thank you so much Quote Link to comment
rscott9399 Posted April 29, 2019 Author Report Share Posted April 29, 2019 I have gone to the example folders and found the folder but its not in there I have 3 basic examples but not a VI with that in it I am running 2017 pro Is there anyway you could post it for me. Quote Link to comment
LogMAN Posted April 29, 2019 Report Share Posted April 29, 2019 32 minutes ago, rscott9399 said: I have a VI that is very complex that i did not write. Needless to say life is difficult right now ... AKA a complete bit Thank you very much, this just made my day 🤣 11 minutes ago, rscott9399 said: I have gone to the example folders and found the folder but its not in there You'll find the function on your palette under Timing. Alternatively press Ctrl+Space and write "Stall Data Flow", it should appear in the list. Quote Link to comment
infinitenothing Posted April 29, 2019 Report Share Posted April 29, 2019 Basics lesson 1 has that VI in the lower right quadrant. You can also search for the VI by name using quick drop Also, on the help page it tells you the owning palette (Timing VIs and Functions) so you can find that VI. Quote Link to comment
rscott9399 Posted April 29, 2019 Author Report Share Posted April 29, 2019 yes im familiar with the quick drop It was not there for some reason, i dont get it Quote Link to comment
rscott9399 Posted April 29, 2019 Author Report Share Posted April 29, 2019 I dont how this is possible Quote Link to comment
rscott9399 Posted April 29, 2019 Author Report Share Posted April 29, 2019 I have discoverd what the problem is This is a CRIO real time application The Stall Data can not be used on the RT side apparently. When i go to my host i can search for the VI and it will come up. So back to the 20 million dollar question, how do i delay this data flow for a split second on the RT side Quote Link to comment
infinitenothing Posted April 29, 2019 Report Share Posted April 29, 2019 It should still work in RT even if it doesn't show up on the pallets. Try it. Or, check out the underlying code and copy that. Quote Link to comment
rscott9399 Posted April 29, 2019 Author Report Share Posted April 29, 2019 I did try to copy the VIM from the example and import it into the RT part of the project It gave me a conflict that appears to be caused by the fact that LABVIEW knows the file is there but i am telling it to use a different path which is just a copy of it saved to my desktop Quote Link to comment
rscott9399 Posted April 29, 2019 Author Report Share Posted April 29, 2019 I took care of the error and got it to deploy Lets see if it works, stand by Thanks for your help! Will post results in a minute Quote Link to comment
LogMAN Posted April 30, 2019 Report Share Posted April 30, 2019 For reference, here is a comparison of how it was done before Stall Data Flow existed (prior to 2017). https://forums.ni.com/t5/LabVIEW/Darren-s-Occasional-Nugget-01-05-2018/td-p/3738420?profile.language=en Quote Link to comment
rscott9399 Posted April 30, 2019 Author Report Share Posted April 30, 2019 The stall appears to have worked. You all are Steeley Eyed Missile Men 10 points if you can name that movie Quote Link to comment
ShaunR Posted May 1, 2019 Report Share Posted May 1, 2019 On 4/30/2019 at 1:46 PM, rscott9399 said: The stall appears to have worked. You all are Steeley Eyed Missile Men 10 points if you can name that movie Apollo 13? (It's a NASA saying) 1 1 Quote Link to comment
rscott9399 Posted May 1, 2019 Author Report Share Posted May 1, 2019 1 hour ago, ShaunR said: Apollo 13? (It's a NASA saying) Correct! One of my favorites Quote Link to comment
ShaunR Posted May 1, 2019 Report Share Posted May 1, 2019 4 hours ago, rscott9399 said: Correct! One of my favorites Well. I didn't even get one like, let alone 10 points 2 Quote Link to comment
LogMAN Posted May 2, 2019 Report Share Posted May 2, 2019 6 hours ago, ShaunR said: Well. I didn't even get one like, let alone 10 points It's like real life - overpromised and underdelivered. Now others have to fix it 😋 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.