NI-DAQmx: Continuous Pattern Generation with the 6534 Using Onboard Memory
This VI shows how to use the NI 6534 high speed digital I/O board to regenerate a continuous pattern by preloading the entire pattern onto the device's memory and looping through the pattern. This step removes the board's reliance on PCI bus bandwidth for data transfer and can be used to free PCI bus bandwidth for use by other devices.
Front Panel Steps:
1. Select the lines to for output
2. Select the sampling rate
4. Run the VI
Block Diagram Steps:
1. The DAQmx Create Channel VI creates the digital output task and specifies that we want to combine all digital lines into one virtual channel
2. The DAQmx Timing VI specifies the sampling rate and method
3. This DAQmx Channel property node specifies that we want to write to onboard memory instead of the memory buffer
4. This DAQmx Write property node specifies that we want to generate the same data repeatedly
5. The DAQmx Write VI writes our data to the onboard memory and then we start our output task
6. The While loop executes until the stop button is pressed or the task generates an error.
7. Once the While loop is terminated, the task is cleared so that the pattern output stops, and any error is handled
Requirements
Filename: 201218.vi
Software Requirements
Application Software: LabVIEW Professional Development System 7.1, LabVIEW Base Development System 7.1, LabVIEW Full Development System 7.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Digital I/O (DIO)
Hardware Model: PCI-6534
Driver: NI-DAQmx 7.5
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
