02-22-2007 12:29 PM
02-26-2007 11:29 AM
Hi cresler,
Thank you for posting to the NI forums. What value and slope direction are you using for the trigger? There is a known issue with DAQmx Base and using a falling analog trigger level – sometimes the driver will ignore the trigger. As a workaround, I would recommend either using a rising analog edge or keeping the digital start trigger.
I hope this helps. Good luck with your application!
Ed W.
Applications Engineer
National Instruments
02-27-2007 01:52 PM
02-28-2007 01:42 PM
Hello C. Resler.
As I understand you post currently, you are able to trigger off an analog edge, but you are concerned about the time it takes to execute the DAQmxBaseStartTask call. You report that this is taking about 300 ms. You also report that the digital trigger works just fine. How long does the DAQmxBaseStartTask function take when you are using a digital trigger? My thought is that there is more configuration necessary when configuring an analog trigger instead of a digital trigger and hence the longer delay.
You also state that PCI-6503 is running at the same time the other functions are called. If you shut down all other processes that your processor is currently executing and only focus on starting the DAQmxBaseTask, how long does it take? It may simply be a limitation of your processor.
Let me know how these tests go! Have a great day!
Brian F
Applications Engineering
National Instruments
02-28-2007 04:42 PM
02-28-2007 06:30 PM
Hello C. Resler.
After doing some additional research, I have found that this delay is expected behavior. There is actually a wait specified in the DAQmxBaseStartTask of 250 ms when using an analog trigger to allow time for settling specific components on the hardware. I would recommend instead gathering the analog data continuously and then doing some post-processing of the data which would only include the data that was above a certain level (equivalent to an analog trigger).
As far as the pinout for the 34 pin RTSI connector on the 6251, please refer to the following knowledge base:
RTSI Connector Pinout
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/ad2d553f55a07bbf8625650d005f1f00?O...
Let us know if you have any other questions and we will be happy to help you further!
Brian F
Applications Engineer
National Instruments