Example Code

NI Scope Synchronization With DAQmx Analog Output

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Modular Instrumentation

    Software

  • LabVIEW

    Driver

  • Other

Code and Documents

Attachment

Overview
Demonstrates how to synchronize an analog acquisition task using NI Scope with an Analog Output task using NI DAQmx on a PXI system.

 
Description
This example shows how to synchronize an analog acquisition task using NI Scope with an Analog Output task using NI DAQmx on a PXI system.

The master task is the analog input which exports a Reference Trigger Signal on the PXI TTL 1 line. The slave task, the Analog Output, is configured with a Digital Trigger on the PXI TTL 1 line, so these two tasks become synchronized because they share the same trigger signal (PXI TTL 1 line).

 

Requirements

Software:

  1. LabVIEW 2012 (or compatible)
  2. NI-SCOPE
  3. NI-DAQmx


Steps to Implement or Execute Code

  1. Configure the NI-SCOPE and DAQmx channels and properties to the appropriate values.
  2. Configure the output waveform.
  3. Run the NI Scope Synchronization with DAQmx Analog Output.vi.
  4. Click the button "Stop" to stop VI.

 

Additional Information or References
VI Snippet

11111.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Andrea N.
Principal Applications Engineer - Semiconductor EMEA
National Instruments Italy
Certified LabVIEW Architect - Certified TestStand Architect

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Todd S.
NI Employee (retired)
on

I didn't see an attachment, did you forget to add it, or did the system drop the link? Either way, please reattach.  Thanks!

Todd S.
LabVIEW Community Manager
National Instruments
AndreaN
Active Participant
Active Participant
on

Ops I forgot to attach it...I just added right now.

Thanks

Andrea N.
Principal Applications Engineer - Semiconductor EMEA
National Instruments Italy
Certified LabVIEW Architect - Certified TestStand Architect
HunterSeeker
Member
Member
on

Could you add bigger, seperate pictures of the FP and BD so we can see all of the nodes?

AndreaN
Active Participant
Active Participant
on

Done, it shoudl be fine now...Happy Easter!!!

Andrea N.
Principal Applications Engineer - Semiconductor EMEA
National Instruments Italy
Certified LabVIEW Architect - Certified TestStand Architect