03-24-2010 11:28 PM
I need to sample 2 analog inputs continuosly at 5-10Khz and then use a combination of Producer Consumer and State Machine for real time data processing.
In most of the example which I saw, people always use the groups of subVI for data acquisition. Although, I know how to setup an data acquisition using the subVI, I like to use Express VI DAQ Assistant to perform the data acquisition.
Does any one know of the disadvantages of using express VI in my case (See 1st Line)?
Solved! Go to Solution.
03-25-2010 03:03 AM
If you open the block diagram of the express VI (right click on the icon and select open block diagram) you will see the differences. In summary it is potentially less efficient to use an express VI as it has to check if it is first call, or if you have selected stop etc every time it is called.
However, depending on your application this is not always an issue. Open the VI and take a look as that is something you will need to make a judgment on.
03-25-2010 08:12 AM
Oh Yes, I saw the block diagram and it looks more complicated than its required to. Hence the express VI can be more inefficient. On the other hand, for my appplication (2 Analog inputs sampled at 5-10KHz each) do you think it can make a difference?
Timing is very critical in my program. Hence I am using Producer-Consumer with Queues for implementing parallel loops for real time data analysis.
03-25-2010 05:51 PM
03-25-2010 05:53 PM