How do I Specify my PFI Line as an External Clock Using Traditional NI-DAQ (Legacy) in LabWindows/CVI? Primary Software: LabWindows/CVI Development Systems>>Full Development SystemPrimary Software Version: 2.0 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: Multifunction DAQ (MIO)>>E Series
Problem: I am using LabWindows/CVI to specify an external clock on a PFI line using Traditonal NI-DAQ. In LabVIEW I can use the AI Clock Config to specify a PFI line as an external clock but how do I achieve this in LabWindows/CVI? Solution: In order to specify an external clock using LabWindows/CVI you need to use the select_signal function . status = Select_Signal (deviceNumber, signal, source, sourceSpec) The following table summarizes the signals and sources for the I/O connector pins PFI0 through PFI9.
You can use ND_NONE to disable output on the pin. The table above can also be found in the Traditional DAQ (Legacy) C Function Reference Help. As an example to specify the PFI2 as an external clock in Traditional DAQ, you would call the following function : Select_Signal(Board, ND_IN_SCAN_START, ND_PFI_2, ND_LOW_TO_HIGH); Related Links: Attachments:
Report Date: 01/18/2007 Last Updated: 01/18/2007 Document ID: 45HID49U |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
