NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
afsfqr4aw3esf3
Posts: 3
0 Kudos
Accepted Solution

Sending counter outputs to RTSI connector PCI6602

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?

Member
afsfqr4aw3esf3
Posts: 3
0 Kudos

Re: Sending counter outputs to RTSI connector PCI6602

Wow. Nobody has any ideas?

Member
amezam
Posts: 173
0 Kudos

Re: Sending counter outputs to RTSI connector PCI6602

Good morning,

 

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

 

Member
afsfqr4aw3esf3
Posts: 3
0 Kudos

Re: Sending counter outputs to RTSI connector PCI6602

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.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page