From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-07-2007 04:34 PM
03-08-2007 04:50 PM
Hi JWilber,
The error you are receiving indicates that the program times out. I believe this is because there is not DAQmxStartTask in your code. This should be put in between the StartTrig and ReadAnalog64. There are many helpful example programs that install with DAQmx which can be located under C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C or C:\Program Files\National Instruments for MS2003, 2005. If you are still having problems after this, please post what program you are using for development.
03-08-2007 05:02 PM
Thank you for your reply.
I have it working now. The error was that I am using a BNC-2110 box and it doesn not break out the APFI0 signal. I was actually using the PFI0 connection. In other words, I was configuring my code for an analog trigger and plugging my signal into a digital trigger input. My solution was to put my 10 volt signal through a simple voltage divider to bring it down to digital IO levels and simply use the digital trigger.
I'm triggering fine now.
Thank you again for taking the time to read and reply to my question.
-Joe Wilbur