LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Routing digital output to RTSI for image acquisition

Hi,

 

I work for a research team at University of Waterloo, Canada. Our program deals with motion control and image acquisition. 

We use PCI 6221 for waveform generation to control servos and PCI 1426 for image acquisition.


A digital pulse train using P0.0 triggers our camera; I use Digital Output instead of a counter. And an analog waveform which has the same

frequency as the pulse train drive our servo.

 

The problem I encountered is routing the digital pulse train to RTSI 0 in order to trigger acquiring image.

Previously, our program used a counter which used a PFI. Thus using "DAQmx Connect Terminal.vi", signal routing was easy and simple.

 

Driving our camera and acquiring images must be synchronized. So I'm looking for a solution which is similar to the previous method.


Regards,
--
Daryl Chulho Hyun
Honours Physics Coop Student
Department of Physics and Astronomy
University of Waterloo
200 University Ave West
Waterloo, ON N2L 3G1
Canada
Phone: 519 888 4567 x35665 (lab)
Cell Phone: 519 807 2370
E-mail: chyun@sciborg.uwaterloo.ca

0 Kudos
Message 1 of 5
(3,031 Views)

I looked at the Device Routes and the Device Pinouts in MAX and found that you are not able to route any of the digital lines on port 0 to the RTSI lines, only those that are directly linked to the PFI lines. The counter lines are all directly routed to the PFI lines. In the Device Pinouts chart it shows that the digital lines on ports 1 and 2 are directly routed to the PFI lines. Please refer to that chart and then you can use the DAQmx Connect Terminal VI for simple easy signal routing.

 

To see the Device Routes in MAX: Select your device and then select the tab at the bottom titled Device Routes. Green means you can use the DAQmx Connect Terminal VI.

To see the Device Pinouts in MAX: Select your device and then press the button at the top labled Device Pinouts. You can also right click on your device and it is listed there.
Vince M
Applications Engineer
0 Kudos
Message 2 of 5
(3,009 Views)

Thanks for the reply, Vince.

 

The reason I'm using P0.0 is that other ports such as P1.x or P2.x do not support buffered operations.

And so using Digital Output only allows me to use P0.x. I want to use PFI which simply allows me to route PFI to RTSI by using DAQmx Connect Terminals.vi.

 

I'm reluctant to use a counter instead  a digital output because using a counter was never synchronous with analog output waveform.

 

Is there a way to change properties of P1.x or P2.x so that they support buffered operations?

 

Regards,

Daryl

0 Kudos
Message 3 of 5
(2,993 Views)

Daryl,

 

The only way I can see a way around this is to do a hardware route through a breakout box. This would connect, through your own hardware, the P0.0 line to any of the PFI lines so you can then route it to the trig line.I don't see any other way because the card wasn't made to do this.

Vince M
Applications Engineer
0 Kudos
Message 4 of 5
(2,962 Views)
Thanks for your response, Vince.
0 Kudos
Message 5 of 5
(2,945 Views)