09-16-2006 04:07 PM
09-18-2006
07:56 AM
- last edited on
11-24-2025
09:39 AM
by
Content Cleaner
Hello mynameislam,
First of all, I need to better understand the problem. It sounds like you setting up analog triggering for one of your tasks, specifically analog output. Normally this is done by adding a DAQmx Triggering VI to your block diagram. Is this the case, or do you mean something else when you refer to the "triggering analog event."
It is difficult to say what the problem might be without knowing exactly how you are programming your application. Can you tell me which of the examples in the DAQmx Hardware-Timed Single Point Lateness Checking tutorial you have based your application on, and what changes you have made to it? With this information, we might be able to isolate what is causing the behavior you described.
Thanks,
09-18-2006 02:56 PM
09-18-2006 02:57 PM
09-18-2006 02:59 PM
09-18-2006 03:22 PM
09-18-2006 04:25 PM
09-18-2006 06:52 PM
09-19-2006
09:49 AM
- last edited on
11-24-2025
09:40 AM
by
Content Cleaner
Hello mynameislam,
It looks like you are using an external clock. You might want to measure this signal with an oscilloscope to make sure it is the frequency you expect. Other than this, there should be no reason why you are missing samples if your task is hardware timed.
I would recommend that you go back to the DAQmx Hardware-Timed Single Point Lateness Checking tutorial and build a test program exactly like the one you see in "Application Case 1 - Hardware-Timed Simultaneously Updated I/O." As you will see there are a couple of differences from your code, including the addition of the DAQmx Wait for Next Sample Clock.vi and the absence of the DAQmx Read Property Node. You shouldn't be setting this property to "Most Recent Sample". The default value is "Current Read Position" and this should work for your application.
This example should work and then you can build on it. As you make incremental changes and find that something is not working, you should be able to easily isolate the problem.
I hope this helps!
Best regards,
Message Edited by Jarrod B. on 09-19-2006 09:49 AM
09-19-2006 11:50 AM
As I mentioned before, I have the program work at hardware time mode. The thing I dont understand is why it is not working in software time mode. I though my processor clock: 750 MHz is big enough to control everything. In addition my card' clock base is 20 Mhz, why I am still having problem receiving frequency input of 1 Kh,
Thank you for helping me