Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get output of GPCTR1 on RTSI Bus?

Hi:
I have a 6110E card, and an application where I need to use one counter as the input to the other counter, and pass the output of that counter to the RTSI bus to another PCI card (6035E). I would like to get the output of both conters on the RTSI bus, but it only seems possible to do do for counter 0. At the moment, I jumper the output of counter 1 into a PFI line, and use the PFI line as input for counter 0, the output of which is put on an RTSI line and passed to the other card. It seems inelegant to have to use a wire on the connector boards to jumper outputs from one part of the same PCI card to another. Morover, an application that required the output signals from both counters to be passed to the other card would req
uire a wire be passed from the connector board of one card to the connector board of the other card, which could be very awkward. Is there any way to get the output from both counters on to the RTSI bus?

thanks,

jamie
0 Kudos
Message 1 of 2
(2,511 Views)
Hi Jamie,

I sent you an email about this but I figured it would be good to post the solution as well.

You will be able to route counter 0's output directly to a RTSI line but counter 1 is a little more difficult. You will have to go through another subsystem of your DAQ card to accomplish this. What you will need to do is have the output of counter 1 be the analog update clock (AO Update or Sample Clock). Then you would route the analog update clock to the RTSI line. Here is what I did to accomplish this:
1) Route the Analog Update Clock to RTSI 1 in your counter application either using Select_Signal() in NI-DAQ function calls or Route Signal.vi in LabVIEW.
2) Use an example program that uses an external Analog Update Clock (AO Update) and modify the
code to use counter 1 output instead of the connector.

That should be all you need to do to route the counter to the RTSI. A couple thoughts though, counter 1 is only associated with the analog output. Counter 0 on the other hand is associated with analog input. Anyway, hope that helps you out.

Ron
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,511 Views)