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

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

Continuous Software Timed Analog Output for the USB-6008 and USB-6009

7 ratings | 3.57 out of 5
Print

Downloads

Filename: cont_ao_6008_6009.zip
Requirements: View

This program demonstrates how to perform continuous analog output tasks on the USB-6008 / 6009 and also incorporates the theory of operation that is associated with software timed analog output. Continuous software timed analog output means that your analog channel will update only once for every iteration of the program's while loop. It is important to remember that these devices allow a maximum update rate of 150 samples per second on each channel; therefore the main program's while loop can iterate no faster than once every 6 ms.

It is also important to remember that these devices allow an output voltage range of 0 to 5 Volts. For demonstration purposes, this program outputs a sine wave with a DC offset of 2.5V and allows the user to select the number of points per cycle. It will be observed that increasing the points per cycle will increase the resolution of the output waveform, but also decreases its frequency. The approximate period of the output waveform is equal to the points per cycle times the output rate.

Requirements


Filename: cont_ao_6008_6009.zip

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: Multifunction DAQ (MIO)
Hardware Model: USB-6009, USB-6008
Driver: NI-DAQmx 8.0

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