10-18-2011 07:54 AM
I am trying to create a program to receive raw data from UDP - EGD protocol, process the raw data then write data to file. The max transfer rate is 100 Hz and when running at this frequency the program cannot seem to process the data quicly enough to maintain a constant timestep ie the interval between data samples is not constant. Any suggestions how I can overcome this problem? I can post the VI if it will help...
Thanks
10-18-2011 08:12 AM
Please post your vi. I'd like to see how your doing the processing and timing.
10-18-2011 08:13 AM
VI attached...
10-18-2011 08:21 AM
So do you want to be helped in this thread, or in your original thread? I'm just asking so the people who are tring to help you know where to respond, and know what suggestions have already been made so we don't end up repeating ourselves.
10-18-2011 08:24 AM
If you could help me in this thread it would be much appreciated as it is more recent and more specific to my current problem. Cheers
10-18-2011 08:58 AM
Can you post your code in 2010?
smercurio_fc offered some good suggestion in the other thread
Look at the programming constructs such as:
Application Design Patterns: Producer/Consumer
Application Design Patterns: Master/Slave
10-18-2011 09:04 AM
2010 version...
10-18-2011 01:08 PM
This is an example of how you can use a queue to move data from one loop to another. I created it from the producer/consumer template in labview. While this solution may work for you right now, I would suggest reading more on the forums about good architecture.