Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 13, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

NI-DAQmx: Continuous Digital Pattern Generation

0 ratings | 0.00 out of 5
Print

Downloads

Filename: 200012.vi
Requirements: View

I. Description:
This example demonstrates how to output a continuous digital pattern on a digital IO board

II. Instructions for Running:
1. Select the Physical Channel to correspond to where your signal is output on the DAQ device.
2. Specify the Rate of the output digital pattern.
3. Enter the digital pattern data.
4. You can change the output array on the fly.

III. Block Diagram Steps:
1. Create an Digital Output Channel.
2. Call the DAQmx (Sample Clock) VI which sets the sample clock rate. Additionally, set the sample mode to continuous.
3. Write the data to the output buffer.
4. Call the Start VI
5. Loop continuously until the user presses the Stop button. Check for errors every 100 ms using the Is Task Done? VI
6. Call the Clear Task VI to clear the Task.
7. Use the popup dialog box to display an error or warning if any.

IV. I/O Connections Overview:
Make sure your signal output terminal matches the Physical Channel I/O Control. For further connection information, refer to your hardware reference manual.

Requirements


Filename: 200012.vi

Software Requirements


Application Software: LabVIEW Base Development System 7.1.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Digital I/O (DIO)
Hardware Model: PCI-6533, PCI-6534, PXI-6533, PXI-6534
Driver: NI-DAQmx 7.5

 
0 ratings | 0.00 out of 5
Print

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/).