02-12-2014 07:46 AM - edited 02-12-2014 07:48 AM
Hi,
I am trying to output a pulse train on ctr0 OUT and I want to receive them on CTR1 SOURCE of the same NI PCI-6601 card, but no use! 😞
The pulses are generated OK, but the acquisition fails within timeout (10 sec.). The generated signal has 1 Hz frequency and 20usec high time. I've studyed the NI examples for this.
Can anyone help me, please?
02-13-2014 08:38 AM
Hello,
Maybe you should post your code for us to see what could be wrong ?
02-13-2014 08:57 AM
Hi Julien,
I can post the code, but actually, it worked! I was making a loop between CTR0 OUT and CTR1 SOURCE and it didn't work. I made a loop CTR0 OUT <-> CTR1 GATE and it worked like a charm! As far as I read in the NI PCI-660x manual, I cand loop to either SOURCE or GATE pins and the pulses' acquisition should work anyway.... Maybe I am wrong. Can you explain me why it didn't work on the SOURCE pin?
Thank you very much for your tine!
Regards,
Marles
02-13-2014 09:02 AM
Sorry but that's not clear for me. If anybody else has any idea ? ^^
Maybe you were using CTR1 SOURCE...despite a wire between CTR0 OUT and CTR1 GATE ???
02-13-2014 09:07 AM
Yes, you are right. I was using a wire between CTR0 OUT and CTR1 SOURCE, and a wire for DGND (but this is not mandatory). This configuration didn't work. Only when I moved the wire between CTR0 OUT and CTR1 GATE it worked.