08-10-2005 05:25 AM
08-12-2005 12:00 AM
Do you have a counter/timer available on the DAQ board? You should be able to downsample the sample clock by a factor of 100 through the counter/timer, then route it to your external trigger.
Bruce
08-14-2005 08:24 AM
Do you have a counter/timer available on the DAQ board? You should be able to downsample the sample clock by a factor of 100 through the counter/timer, then route it to your external trigger.
As I cleared up, I have a counter/timer available on the DAQ board.
Can you explain more in detail how can I put this solution into practice.
Thank you,Andrey
08-15-2005
05:03 PM
- last edited on
03-11-2025
09:20 AM
by
Content Cleaner
Hi Andruha,
Basically what has to be done is that you have to create a pulse for every 100th sample that you take. That pulse will then be wired to the trigger for your frame grabber.
I am unsure of which DAQ board you are using, but I will assume that you are probably using a Multifunction DAQ board such as an E- or M-Series Device (ie PCI-62XX).
I went ahead and created an example program for you that I think should clear up some of the confusion. Basically in the example you will do the typical commands that you would need to read an analog input (AI). In parallel to the AI you will also do a CO Pulse Ticks task. That task will generate a pulse of specified length and a low time for a specified length. In this case we say that the source of the ticks is the AI Sample Clock. What that does is it means that we can have a pulse being generated for every X AI Samples taken. For your case I made it to where the example pulses every 100 ticks.
I think this should give you a better idea of how to do what you are doing. You should be able to play around with the values and get the appropriate rates for your application.
As far as hardware is concerned you will need to connect your trigger line for the camera to the output for the counter you are using.
I hope this helps you understand everything a little better. If not, just let me know what is happening and we can try to see what else we can work with.
Regards,
08-16-2005 05:19 AM