Continuously Generating Repeat Data from Digital Output Channels (Loop From Onboard Memory)
Downloads
Filename: buff_pattern_loop_out.zip
Requirements: View
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
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/).
