Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending counter outputs to RTSI connector PCI6602

Solved!
Go to solution

I am trying to route counter outputs to the RTSI connector in DAQmx via VB.NET. My routing code is simple:

 

            DaqSystem.Local.ConnectTerminals("/Dev1/Ctr0InternalOutput", "/Dev1/RTSI0")

I do this before starting the task. I've also tried replacing Ctr0InternalOutput with PFI36; I get the same result. That is:

 

1. No error message. Presumably then the route is valid and is made.

2. I get 5VDC on all the RTSI pins. This is true for all the RTSI lines (0 through 6 and OSC) and happens the minute the computer is powered up.

 

I verified my cable is correct (I took a ribbon cable and wired it to BNC connectors according to the pinouts at http://digital.ni.com/public.nsf/allkb/392DEFA8A72CA693862572E300651A9F).


What am I not understanding here?

0 Kudos
Message 1 of 4
(5,732 Views)

Wow. Nobody has any ideas?

0 Kudos
Message 2 of 4
(5,727 Views)

Good morning,

 

Have you verified the default settings? Maybe they're on true when you start the computer.

 

0 Kudos
Message 3 of 4
(5,716 Views)
Solution
Accepted by topic author afsfqr4aw3esf3

The following code does nothing in my case, even after adding an RTSI cable in MAX and "connecting" the PCI6602 to it:

 

DaqSystem.Local.ConnectTerminals("/Dev1/Ctr0InternalOutput", "/Dev1/RTSI0")

 Instead, I used the second way of routing signals:

 

TheTask.ExportSignals.CounterOutputEventOutputTerminal = "/Dev1/RTSI0"

 This works like a charm. Go figure why the other method doesn't do squat; it isn't the first time I've had this type of problem.

0 Kudos
Message 4 of 4
(5,710 Views)