LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Use external clock (PFI2) with Traditional DAQ

Can figure out how to specify the external clock line (PFI2) while using Traditional DAQ (7.4.2f3).
Can anyone help?  TIA.
 
George
George Zou
0 Kudos
Message 1 of 5
(3,401 Views)
I never used such a configuration but I found an example that will probably be helpful for your problem: it's named SCANsingleBufExtScan and you will find it in samples\daq\ai folder on your hard disk.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(3,390 Views)

Thanks for reply.

In that example, it doesn't tell me how to use PFI2 pin as external clock.  It only tells me: "Also, connect a digital pulse train to the 'external scan clock' pin. (NOTE: This is NOT the pin labelled "SCANCLK" but instead is a counter output pin.)

 

A counter output pin?  What is the pin #?

George Zou
0 Kudos
Message 3 of 5
(3,380 Views)
I have a similar application where I use this:

    Select_Signal(Board, ND_IN_SCAN_START, ND_PFI_2, ND_LOW_TO_HIGH);

to specify PFI2 as external clock source.
to find the correct pin for PFI2, refer to the manual of your DAQ device.

--
Once the game is over, the king and the pawn go back into the same box.
Message 4 of 5
(3,364 Views)

This helped me determine which pin to use for my external clock signal to trigger from PFI2:

 

http://digital.ni.com/public.nsf/websearch/39F8242E2553F63E86256FE3007BF69F?OpenDocument

0 Kudos
Message 5 of 5
(2,748 Views)