02-17-2006 06:42 PM
02-20-2006 02:19 PM
02-21-2006 10:09 AM
Micaela,
Thanks for the information.
What I have are two trigger timing signals for the AI tasks that capture data at different times(Tdelta = 550 us) within the waveform period. One AI task is setup to capture two control signals that provide a sanity check to verify that the data captured with the second AI task is correctly correlated with the control signals. The second task captures 14 NRSE channels of data on the outputs of the DUT. I believe the problem lies with the software stop required for analog triggering and subsequent reconfiguration of the next task.
I was out yesterday and learned this morning that the vi is only capturing about 20% of the actual cycles that the DUT is seeing. Interestingly, even the single 14 channel committed task was only capturing 60%. I need to see if I have some delay timers in the while loop in which the data is collected that could impact the loop the execution and mess-up the whole timing sequence.
Onel last question: Can these two task be configured into one single task that contains two virtual channels of different # of channels , AI range and indepedant triggers for each that can then be programmed into HW with the commit setting? It does not hurt to ask, but I may not like the answer.
Kindest Regards,
Bill
02-22-2006 01:12 PM
Bill,
Unfortunately, you will not be able to combine these channels and have independent triggers. Any trigger configured for a task will apply to the whole task. Also, as Micaela stated, you not be able to simultaneously run two different tasks of the same type on the same board. The best way to get this type of independence would be to get a second daq card. This will give you the ability to independently trigger two analog tasks and acquire from them at the same time. I hope this helps!
Regards,
Lon
02-22-2006 03:02 PM
02-23-2006 01:23 PM
02-23-2006 02:59 PM
Lon,
I have an application where I have already utilized the approach you mentioned in the example. However, this application does not require a continuous capture as is used in the example vi, but rather periodically sampling the device output conditions after my actuation signal changes the device state. It is the periodic sampling and subsequent read /write to disk that is the root of the problem as I am already writing the data to the output in binary (I16). Unfortunately, only 60% of the data is actually in the file which suggests that there is sufficient delay in the loop that causes the card to miss some triggers. Your guess is as good as mine as to which triggers were missed.
Thanks anyway.
Regards,
Bill
02-24-2006 03:57 PM
Bill,
Perhaps if you post a simplified version of your application which exhibits this behavior, I could take a look at it. Have a great weekend!
Regards,
Lon