LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

6025E and signal routing

I am developing some labivew code using a PCI-6025E and was wondering if it is possible to use the route signal.vi to route RTSI 0 to PFI 9/CTR 0 GATE and then route CTR0 OUT to PFI 4/CTR 1 GATE?


When I attempt the first part RTSI0 to CTR0 Gate reports error -10003 The value of a numeric parameter is invalid

Any help would be greatly appreciated.
JD
0 Kudos
Message 1 of 4
(2,791 Views)
Hello JD. Thank you for contacting National Instruments. I was able to get Route Signal.vi to connect those signals. Take a look at the attached screenshot and see if you still get the error. Please let me know if you have any questions. Have a great day!

Marni S.
National Instruments
0 Kudos
Message 2 of 4
(2,775 Views)
Marni,

The code you posted does work, but doesn't this code route GPCTR 0 source to the RTSI line 0?
Let me explain in better detail what I want to perform.

I am using a PXI-7352 controller to control a servo driven x, y stage. I use the
breakpoints to generate a pulse on RTSI line 0 at designated positions along the X travel.

The RTSI line 0 signal is used to start an integration using a NI-4122 video capture board.

I want to take the RTSI line 0 signal and use this as the gateinput for CTR 0. The output of
CTR 0 is then used to control the integration time of a CCD camera (the camera integrates
as long as CTR 0 out is high). I also need to route CTR 0 signal to the gate input of CTR 1,
the output signal of CTR 1 is used to pulse a laser.


Is this possible?
JD
0 Kudos
Message 3 of 4
(2,757 Views)
Hello JD. Oops, I meant to route the RTSI to the gate of the counter instead of the source. This works as well. This will short the two pins, routing the RTSI to the gate.

As for routing the output of counter 0 to the gate of the counter 1, this can't be done. To verify this open up the Measurement and Automation Explorer. Expand Devices and Interfaces>>NI-DAQmx Devices. Click on your device. The serial number, etc will be listed here. Click on the Device Routes at the bottom. Here you can see that there is no way to route the output of counter 0 to the gate of counter 1. You will need to use a wire or some other way to short it. Please let me know if you have any questions. Have a great day!

Marni S.
National Instruments
0 Kudos
Message 4 of 4
(2,741 Views)