LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

My PCI-6259 does not maintain AO signal

First of all how do I set an AO from the test panel. When I click Update it goes up and falls down. When I hold Update ( it says "Updating" ) nothing happens. I just want t board to output a voltage level. How do I do it programatically?
In a similar fashion when I run example code that generates a sinewave that ends high, the signal drops to 0. Is it because I end my task?
Even more strange when I genereate a square wave it does not maintain the high level, what I see on the scope is more like a see-saw.
What I need to do is stimulate my power supply board with a 200 ms signal that will rise from 0 to 5 V and then stay at this level indefinately. Can I start a task and end it or should I keep it running ( less preferred solution )
 
Thanks for help,
Jerry.
0 Kudos
Message 1 of 2
(2,803 Views)
Hello Jerry,

It sounds like you are following the proper procedure for updating an AO from the MAX test panel.  All you have to do is set the voltage value, and then press Update.  In order to do it programmatically, you can just open up the following example that install with the DAQmx driver.
C:\Program Files\National Instruments\LabVIEW 7.1\examples\DAQmx\Analog Out\Generate Voltage.llb\Gen Voltage Update.vi

In regards to running the example code that generates the sine wave...the output channel should hold the last value output from the task even when you end your task.

Overall, the behavior we are seeing is not expected.  I'm wondering if we have a bad installation of the driver or the board.  What version of the driver are you using?  We might have to reinstall the driver and/or board and possibly test this on another system.

Eric
DE For Life!
0 Kudos
Message 2 of 2
(2,788 Views)