09-15-2012 01:26 PM
hi everybody,
I am using a DAQ card NI PCI 6229 and i have to write a vi that generates following digital pulse pattern
101010010110101
pulse width 0.5 u sec
pulse separation 2 u sec i.e, f = 400 khz
duty cycle 0.2
Pl help
09-15-2012 09:33 PM
Hi faisal,
Your question gives only vague information.What help you are expecting?What all things you have done so far?
09-15-2012 11:46 PM - edited 09-15-2012 11:48 PM
Here is the detail explanation of the requirement...
I want to generate a finite pulse pattern of frequency 400 kHz , it would have a burst of pulses paving a period of 2.5 us and pulse width 0.5 sec , I had successfully generated true, fasle pattern out from DIO at lower frequencies (till 15 KHZ ) and subsequently used that to trigger the counter.
The problem..... if we want to achieve higher frequency from DIO ( 400 kHz) , it goes silent and no more triggering is available for counter to generate pulses .
The Patten picture is depicted below, I hope the problem has been elaborated more , if there is still any question do let me know,
regards to everyone
09-16-2012 11:28 AM
This pattern is different from what you last posted in your other thread. Which protocol is correct?
The method I suggested in the other thread is valid for the protocol you show here. However, the maximum DO clock rate for the PCI-6229 is 1 MHz so you cannot create a signal with a 2.5 us period.
Lynn
09-16-2012 12:24 PM
Hello Lyn,
this is the same protocol , but different pulse spacing , and your previous solution was perfectly right , nad worked fine and still working fine ,,,,, but now with pulse spacing of 2 usec I have not been able to trigger the counter .... If u could suggest any solution or vi that triggers ac ounter in a aforsaid pattern to generate the pulse pattern. I have tried many ways but still not successful.
regards
09-16-2012 12:44 PM
I do not have any experience with triggering counters that fast. Perhaps someone else will be able to help you.
Lynn
09-16-2012 01:16 PM
Dear Lyn, I think I should switch over to a better hardware i.e
whats your opinion,
regards
09-16-2012 01:29 PM
With a 10 MHz DO clock you might be able to generate the pulses directly without needing the counters. Talk to your NI sales representatives. They should be able to tell you whether you can generate the signals you need with that board or may be able to recommend an alternative.
Lynn