Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Do I Create Multiple Buffers to Output Waveforms?

Hardware: Multifunction DAQ (MIO)>>E Series

Problem: I am doing an analog output operation. How do I create multiple buffers on an E Series board, store them on the Hardware FIFO (First in First Out), and generate from the buffer of choice based on some condition such as a trigger?

Solution: In LabVIEW, the "buffer number" input of the Traditional AO Write VI is not used, is functionless, and definitely not supported by the E or S Series hardware.

In order to generate from multiple buffers using a E or S Series board (for example the PCI-6115) you would have to do the following:

1. Allocate each array of data in LabVIEW.
2. Disable FIFO regeneration if it is on by setting the "Do not allow regeneration of data" constant in the "Regeneration Mode" input of the AO Buffer Write VI.

3. Write the new buffer to the FIFO.

If you want to switch buffers based on a trigger condition, to avoid overwriting data you need to disable FIFO regeneration, allow the entire FIFO to output, and then write new data.

This process is a task better suited for one of National Instruments modular instrumentation ARB boards.

Related Links: Arbitrary Waveform and Function Generators
What Are the Different Output Modes and Maximum Signal Output Frequencies for the NI 5411?

Attachments:





Report Date: 04/26/2004
Last Updated: 05/12/2004
Document ID: 38PCMGL9

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit