NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Use NI-Sync to Send a Sample Clock and Start Trigger to a DAQmx Device.

VERSION 3

Created on: Feb 11, 2009 6:24 PM by Ryan_F - Last Modified:  Mar 12, 2009 2:33 PM by pflores

This example demonstrates how to use NI-Sync, along with a Timing & Synchronization board and DAQmx, to create and send a sample clock and a start trigger to a DAQmx device. This program uses the NI-Sync API to create a clock based on a time reference set in MAX. The user inputs a time delay for when they would like the acquisition to start relative to the time reference. The clock is then routed to the DAQmx sample clock source terminal of the DAQmx Timing VI. When the Event, or trigger time, occurs after the defined delay, then a start trigger is sent to the DAQmx device and acquisition begins and data is output to a graph until the user stops the program or an error occurs.

 

 

Language: English

Data of Last update: 02/11/2009

 

Hardware Needed:

PXI Chassis

PXI M-Series or E-Series DAQ Board

PXI-6682 Timing & Sync Board

 

Software Needed:

LabVIEW 8.5.1

DAQmx

NI-Sync 3.0 or Newer

 

Steps for Using:

1. Select the Physical Channel of the DAQmx device you are using.

2. Select the Timing & Synchronization board you are using. Make sure that the board is in the timing slot of the PXI chassis (slot 2).

3. Select any PXI_Trig line for clock routing (The MRU will take care of the exact route).

NOTE: The MRU (mx Routing Utility) takes a survey of what resources are being used and selects the best route for signals.

4. Select the Clock Frequency.

5. Select the number of samples to be read.

6. Select the dummy trigger source terminal, this can be any PFI line. (once again, the MRU takes care of the exact routing).

7. Select the delay from the time reference in seconds.

 

sync_fte.PNG

 

Export Sample Clock_Trigger_FTE with GPS status_LV86.vi - Adds some GPS status indicators on the front panel

 

Downloads:
Average User Rating
(1 rating)




There are no comments on this document

More Like This

  • Retrieving data ...