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 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
