Jump to content

Queue/Dequeue issues


Calorified

Recommended Posts

I am trying to read the value of some data in a while loop from a sub-vi (attached as FTP WPF UDP below) into the top-level vi (attached as Proportional Controller VI) but I find that the data is timing out in my top-level vi whereas it runs smoothly withing the subvi. I have used the while loop and the timing in the subvi is synchronized to the external code that sends data via udp to the subvi. 

Is there a way you think this can be fixed?

Below is my attached code.

Thank you!

 

Proportional Controller.vi

FTB WPF UDP - Original.vi

Link to comment

If you take a look at the subvi, where I am queueing data, you would see the FTP vi receives a certain data over a udp connection. I am sending data to this subvi from a different program. Trying to embed the subvi in the top vi works for the first 5 seconds or so and then it stops sensing the udp data. The loops are separated because I want to use the process data in a separate program. What exactly are you suggesting by your question, "What is the motivation for separating the loops"

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.