09-29-2006 08:41 AM
10-01-2006 08:54 PM
10-02-2006 05:23 AM
10-02-2006 06:24 AM
10-02-2006 09:19 AM
10-02-2006 10:49 AM - edited 10-02-2006 10:49 AM

Message Edited by TonP on 10-02-2006 05:50 PM
10-03-2006 04:01 AM - edited 10-03-2006 04:01 AM
Message Edited by ceties on 10-03-2006 04:02 AM
10-03-2006 04:34 AM - edited 10-03-2006 04:34 AM
Message Edited by ceties on 10-03-2006 04:34 AM
10-03-2006
11:44 AM
- last edited on
07-08-2024
10:38 AM
by
Content Cleaner
Hi Ceties,
Your card can acquire at the rates you need, you just need to set up the triggering differently. You're trying to set it up as software retriggerable by starting and stopping the task and waiting for the trigger in between. It sounds like this is taking too long for the start and stop, and this is not suprising. These calls are usually made ouside of a loop and are not the fastest. For retriggerable acquisition you generally want to use counters. Counters are retriggerable in HW so they do not require starting and stopping in SW and the delays. You can route the counter output to the AI sample clock.
This KB explains a little more how to set it up:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MXxSAM&l=en-US
The example they referenced is called "Multi-Function-Ctr Retrigg Pulse Train Generation for AI Sample Clock.vi." It should be very close to what you are looking for. One thing to keep in mind, adding a 20ms delay would be pretty problematic. I would look into acquiring for the whole 100ms and then just throwing away the first 20ms of data.
Hope this helps,
Andrew S.
National Instruments
10-04-2006 04:34 AM - edited 10-04-2006 04:34 AM
Message Edited by ceties on 10-04-2006 04:36 AM