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

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


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Continuously Generating Repeat Data from Digital Output Channels (Loop From Onboard Memory)

1 ratings | 5.00 out of 5
Print

Downloads

Filename: buff_pattern_loop_out.zip
Requirements: View

Use this example VI with the 6534 devices to continuously generate repeat data from one or more digital output channels. The 6534 devices contain two memory modules onboard, one for each group. The output data are loaded into the onboard memory once, and from the memory into an indefinite loop. This eliminates the bus bandwidth limitation.

1. Set the following controls on the front panel:

Enter the device number for the Device control.
Enter the channels/ports in Port List control, separated by commas or a colon. Valid port lists for the 6534 devices are: 0, 2, 0:1, 2:3, and 0:3.
Enter the buffer size in the Number of Updates control.
Choose internal or external for the Clock Source control.
Enter the frequency in Hz for the Clock Frequency control.

2. Double-check the parameters in the block diagrams for the intermediate VIs:

In the DIO Config VI, make sure the Group direction is set to output (default).
In the DIO Param VI, make sure the Parameter name is set to Pattern Generation Loop Enable and the Value in is set to ON (default).

3. Connect your signals:

Connect a wire from the external output device to the channels on the 6534 I/O connector to match the channels you entered in the front panel. If the clock source is external, connect a wire from your external clock to either REQ1 or REQ2, depending on the channel you have chosen. To find the actual pin numbers, refer to the 653X User Manual.

DAQ VIs Used: DIO Config, DIO Param, DIO Start, DIO Write, and DIO Clear

Requirements


Filename: buff_pattern_loop_out.zip

Software Requirements


Application Software: LabVIEW Full Development System 5.0.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Driver: Traditional NI-DAQ (Legacy) 6.9.0

 
1 ratings | 5.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/).