03-24-2010 02:33 AM
I've configured pulse train generator on counter 3 and it works ok,
but when I configure some pins as digital outputs generator does not working. Why?
J.
03-24-2010 04:08 AM
I found some solutions:
http://digital.ni.com/public.nsf/allkb/862567530005F09E8625677800577C27
but I dont know how to this in C#...
03-25-2010 08:53 AM
Hey Jakub,
The following links should be usefull for You:
http://zone.ni.com/devzone/cda/tut/p/id/5409
http://digital.ni.com/public.nsf/allkb/F0FD13D2DD0C433986256D9C00468D29
Let us know if You have further questions!
Have a nice day!
Best regards,
David Varga
Applications Engineer
NIH
03-25-2010 09:17 AM
Thanks for your links but I manage with Daq programming using C# problem is in different way...
When I used pci-6220 everything was ok but I've changed card to pci-6601 becouse I need more counters in my application.
My application looks like:
1. Configure some pin as output (for example Px.1)
2. Configure counter 3 as freq generator
3. Start counter 3 task - freq generator works fine!
4. Write to port to change output state - then freq generator stops (without any message about error in application - only stops generating pulses).
I dont what to do with this...
I wonder about additional card configuration is needed, it's possibe?
03-26-2010 08:24 AM
Hey Jakub,
It really does seem as an odd behaviour. Did You try it with other combinations? Did You try it with the native DIO lines, or You picked a PFI line from the other 24? If so, please try it in combnation with a nother counter and a native digital line! Is the Self Test passing in MAX?
Please let me know what the results were, so we can move forward!
Best regards,
David Varga
Applications Engineer
NIH