LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB 6008 - Analog Output

Hello All,
I'm trying to get a Softwaretimed waveform at the output of my 6008. To do so I'm using one of the Example VI's shipped with LabView (see attachment).
So far so good, it does generate a Software timed signal and I can even vary the frequency. The problem is: the generated sinewave is centered at zero which means that only the first half of the wave is reproduced at the output (because the device works only between 0 and +5V) and the first negative value causes an error.
I want to stick a DC Offset to the generated waveform - so that the whole wave stays above zero - but haven't been able to do so.
Can anybody help and explain to me what has been done?
Thanks in advance...
Roberto
0 Kudos
Message 1 of 3
(2,906 Views)

Oh, I forgot to attach the VI!

Here it goes...

0 Kudos
Message 2 of 3
(2,906 Views)

To add an offset to an array, add the offset.Smiley Very Happy

Message Edited by Dennis Knutson on 03-08-2007 07:28 AM

Message 3 of 3
(2,899 Views)