04-15-2007 03:25 PM
04-16-2007 04:44 PM
Hi LVB,
My understanding from you post is that you want to acquire analog data and do different analysis on this data based on the digital port value. If this is the case, I would suggest using sub-VI’s only for the data analysis, and parallel processing to store/process the data.
I would avoid using different VI’s to do the analog acquisition for a few reasons. Only one analog task can be running at a time, and having multiple VI’s doing the acquisition may cause errors depending on how things are set up. I also believe that you code will run faster and more efficient by doing the acquisition in one loop, and the processing in another.
If you have further questions, please let me know if you already have a card that you are going to use, or are also looking for help choosing this as well. I could not address the timestamp issue, as I did not fully understand what it was being used for. I may suggest, along with parallel processing, using one of the timing VI’s such as ‘get date/time in seconds’ if you are wanting to record when all of your data is being acquired.