Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

auto increament analog output

hi,
i have usb 6008 device.Does anybody knows how can i create an auto increament voltage at the ao0,that starts at 0v and with a step of 0,5v finishes at 5v?
The attachment below is a vi for current voltage at the ao0. 
0 Kudos
Message 1 of 6
(3,342 Views)

There are a lot of different ways to do this. You can use the Ramp Pattern to create an array and wire the array though a for loop. You can use a while loop and shift register as shown below.

Message Edited by Dennis Knutson on 11-06-2006 07:00 AM

0 Kudos
Message 2 of 6
(3,333 Views)

hi Dennis,

thanks for your reply.It was very useful.I use while loop and shift register as shown at the attachment below,but i have a problem.I see the increase of voltage at slide and after 2-3 seconds i see it at voltmeter.So when slide writes 1v i see at voltmeter 0,5v and when i get at voltmeter 1v slide writes allready 1,5v.How can i solve this problem?Thanks for your help,sorry for my english. 

 

Kostas Stergiou

0 Kudos
Message 3 of 6
(3,312 Views)
I can't open your VI as I don't have 8.x. What do you mean by 'slide'? Can you save the VI as 7.1 or post an image of the block diagram?
0 Kudos
Message 4 of 6
(3,309 Views)
Slide is the graphical voltmeter at the front panel.I save the vi for 7.1
0 Kudos
Message 5 of 6
(3,304 Views)
I think the problem might be the slow update rate of the 6008. Put in a fairly long delay or wait and see if that makes a difference. You could also just set a breakpoint on the DAQmx Write.
0 Kudos
Message 6 of 6
(3,300 Views)