12-21-2009 11:54 AM
12-21-2009 10:24 PM
12-21-2009 10:49 PM
assuming that you have a NI card with some analog output channels you can do the same.
Now the question is would you like to have a simulataneous AO or not and based on this you can select the NI card.
Some examples are aailable in the location C:\Program Files\National Instruments\LabVIEW 8.5\examples\DAQmx\Analog Out\Generate Voltage.llb\Cont Gen Voltage Wfm-Int Clk.vi
12-28-2009 10:34 AM
12-28-2009 11:24 AM
12-29-2009 12:40 PM
cjp1,
srikrishnaNF gave a good suggestion. You want to use the Simulate Signal Express VI as shown below.
01-31-2016 10:44 PM - edited 01-31-2016 10:44 PM
I realized this was an old post. But I am still wondering how to do this "in the DAQmx vi's" ?
02-01-2016 01:39 AM
See the following example VI:
\Program Files (x86)\National Instruments\LabVIEW 2014\examples\DAQmx\Analog Output\Voltage (non-regeneration) - Continuous Output.vi
02-01-2016 02:20 PM
Thanks, Blokk. I am new to Labview... How to modify this code to set two channels, especially for the "output array"? Is it possible to send me some figures? That will be very helpful. Thanks a lot!...
02-01-2016 02:43 PM
It is described in the Front Panel of the VI how to configure it for multiple channels.
At the channel settings set the two physical channels which you wanna use: click on the little arrow at the right of the control, and chose "browse...". Using the CTRL button on the keyboard, you can select two channels with your mouse.
After this is done, go to the "Waveform settings" part, and click on the little up arrow on the Index display of the array. You will see this is grayed out, meaning the array by default is set to have only one element (Sine Wave by default). Set something else to test how it works, for example chose the Triangle Wave option. You can also play with frequencies/amplitudes...
Note here the description: "The number of elements in the waveform array must equal the number of channels in the task." Obviously...
I would recommend you to take some tutorials, so you will get more familiar with LabVIEW:
-MyRIO Project Essentials Guide (lots of good simple circuits with links to youtube demonstrations)
Learn NI Training Resource Videos
6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Here is a snapshot of the example VI configured to output two signals: