09-25-2007 01:07 PM
09-27-2007
07:19 AM
- last edited on
03-16-2025
06:02 PM
by
Content Cleaner
Hello Frank,
I think you got some things to try on this forum.
To answer the question "can it be done with c# and Measurement Studio", the answer is: If the hardware can do it, then any programming language can call the driver to do it.
Your hardware cannot do dynamic digital generation meaning it will have to be software timed and therefore it will be OS dependent. I do not think you can achieve 500 us in software.
If you had different hardware (probably something that has a counter like M Series) you could use this counter to generate the pulse that you need very accurately and deterministic. Then you can correlate this with the Analog Input measurement with the same card. Once you install the DAQmx driver, there are examples for counters, analog inputs and many others in this location:
C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DotNET2.0
I am not very familiar with the recommendations of the other forums so feel free to ask here further NI product related questions.
09-28-2007 10:51 PM
Thanks Gerardo for your recommendation. . .
Could I use the counter function of any of the USB devices i.e NI USB-6008 or 6009 series? As they are less expensive. Thanks again,
Frank
10-01-2007 02:55 PM
10-01-2007 10:12 PM
Thanks Gerardo,
And as you mentioned above there is an excellent solution provided by tbd at this link:
http://forums.ni.com/ni/board/message?board.id=170&message.id=274067&view=by_date_ascending&page=2
Thanks again,
Frank
10-02-2007 04:38 PM