04-21-2008 08:50 PM
04-22-2008
02:23 PM
- last edited on
08-21-2026
10:43 AM
by
Content Cleaner
Hi Andrikos,
I'm not completely familiar with the signals that come out of a mouse. Are you connecting this to your computer with a USB port and communicating via VISA or do you have the wires exposed and wiring them into your DAQ device? Any pictures or diagrams would be helpful.
Again, I don't know how your mouse is outputting pulses but if you are looking to do two edge separation, our M-series devices support this with our DAQmx Driver. Using a counter and counting one of the high speed internal timebases, you can count down to intervals 12.5 nanoseconds. Look at the following document for more information about two edge separation. There are also numerous examples about using counters for input and output as well as great help documentation that ships with DAQmx and LabVIEW.
04-24-2008 03:17 PM
04-27-2008 08:52 PM
You can use counters to find when the external clock is generating pulses. It looks like you have connected to an analog input right now. You could essentially do some kind of software analysis but it would not be accurate. Using the counters you can measure all the pulses and when they occurred. Are you using the DAQmx driver for this application? If you are using LabVIEW for this application I can point you to an example that achieves something similar to this. In the LabVIEW environment, click on Help >> Find Examples. In the example finder window, select Hardware Input and Output and then select DAQmx >> Counter Measurements >> Count Digital Events. There are a few examples in this folder that can show you how to make counter measurements.
i want to know in real time,, when the external clock create the pulses..
04-28-2008 06:25 AM