06-21-2012 12:07 PM
Hi all,
I have a LabView progeram that is used to acquire/read in data from a FIFO board. The program is in LV11.0.
I have a few questions :
Analogy of the situation is : No matter how much work I assign to the program it is going to take the same amount of time to complete the task !
I seek advice on this.
Thank you.
Best
Abhi.
06-21-2012 12:58 PM
What are you doing to control your data flow? (i.e. state machine) You can make a system that does multiple reads before processing data. If you are doing this I would also suggest that you use a consumer producer system so that you do not have to worry about this kind of thing. You have one loop read the data and one process the data.
06-21-2012 01:12 PM
It will be nearly impossible to design a system that can do N times the amount of work that it takes to do 1 unit of work. You can create a deterministic system that will have a known time for each unit of work This is not necessarily possible in an OS like Windows if the time period is very short. Under Windows this can only be done if the time per unit is fairly long.
However, since each unit of time will require some amount of time to complete doing 3, 5 or 10 times the number of units work will take longer than a single execution.
There a veriety of ways you can maximize performance in a system. In LabVIEW it is fairly easy to create parallel tasks which can significantly improve performance. In you specific case we would need to know more about your application in order to make any meaningful suggestions.