Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulse Train Generation and Digital Output on a pci-6601

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.

 

 

0 Kudos
Message 1 of 5
(3,860 Views)

I found some solutions:

 

http://digital.ni.com/public.nsf/allkb/862567530005F09E8625677800577C27

 

but I dont know how to this in C#...

0 Kudos
Message 2 of 5
(3,854 Views)

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

0 Kudos
Message 3 of 5
(3,834 Views)

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?

 

 

 

 

0 Kudos
Message 4 of 5
(3,830 Views)

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

0 Kudos
Message 5 of 5
(3,815 Views)