LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading and processing high freq data in different processes

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

0 Kudos
Message 1 of 8
(3,374 Views)

Please post your vi. I'd like to see how your doing the processing and timing.

0 Kudos
Message 2 of 8
(3,369 Views)

VI attached...

0 Kudos
Message 3 of 8
(3,366 Views)

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.

0 Kudos
Message 4 of 8
(3,359 Views)

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

0 Kudos
Message 5 of 8
(3,355 Views)

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

 

 

0 Kudos
Message 6 of 8
(3,346 Views)

2010 version...

0 Kudos
Message 7 of 8
(3,344 Views)

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.

0 Kudos
Message 8 of 8
(3,329 Views)