Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulse Train Generation using PCI-MIO-16E-4

I need to generate pulse trains of changing pulse widths using PCI-MIO-16E-4 daq card using Igor Pro.
I have tried to use the CTR functions (but always keep getting errors and it doesn't work). I also used the general purpose counters (GPCTR functions) but cannot visualise them on a CRO. If someone can help in regards to the programming aspect, it will be greatly appreciated.

Thanks

Vakul
0 Kudos
Message 1 of 2
(3,193 Views)
Hi Vakul,

Some questions that might help me to get you a solution.
Are you using Traditional DAQ, or DAQmx and which versions are you using?
What operating system are you running?
When you say you can't visualize them on CRO, I assume that you are hooking the counter out to a cathode ray oscilloscope and can't see the pulse train?
Are you going to need more than two different pulse widths for your pulse train?

There are several online knowledge bases describing how to change the frequency of a pulse train on the fly.

This link explains how to use software to create a new pulse width.
http://digital.ni.com/public.nsf/websearch/7B1B0427C39FE33086256CEE00752133?OpenDocument

This link discusses using frequency shift keying, which will only allow you to have 2 different pulse widths.
http://digital.ni.com/public.nsf/websearch/EC1F089252F33B248625696E006FB6FC?OpenDocument

I assume that you are writing this program to compile in Igor Pro using C. I can help you with the C code development, but don't know anything about the Igor Pro API.
Please get back to me about those questions and let me know if you need further help.

Michael Denton

0 Kudos
Message 2 of 2
(3,178 Views)