06-20-2012 06:05 PM
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?
Solved! Go to Solution.
06-21-2012 06:14 PM
Wow. Nobody has any ideas?
06-22-2012 09:13 AM
Good morning,
Have you verified the default settings? Maybe they're on true when you start the computer.
06-22-2012 11:27 AM
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.