LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daq usb 6008 output not working

Hi All ,
 
     I was trying to acquire voltage of 9v in my DAQ USB 6008.I want to get o/p of 3v from same USB 6008 as soon as my battery ip is received by USB 6008.I gave i/p at aio and was trying to get o/p from ai1 , but I am getting errors and am not able to either program it correctly in LabView or am missing something .
Please guide me how can I get this functionality.
 
Thanks ans Regards !
Sarita
0 Kudos
Message 1 of 9
(5,054 Views)

In all of my 31 years of experience, any time I have seen an I/O connection identified with a designation of the form

aiX

singinified;

a = analog

i = input

X = a number

So it sounds like you are trying to get an analog ouput uisng a analog input connection.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 9
(5,049 Views)

Hi Ben ,

Thanks for your prompt response.

I don't understand how should I program my DAQ in labView .I am simply using two DAQs ,one for ai0 and one for ao0 but I can only get i/p on the multimeter but no o/p ,though I have tried tieng data o/p from daq configured for i/p, to data i/p of daq assistant configured for o/p.I have also tried using a constant or control as i/p to daq configured for o/p ,but,again I can't see any o/p on multimeter from ao0.Could you please help me in programming that.

Thanks and Regards !

Sarita

 

0 Kudos
Message 3 of 9
(5,031 Views)
The statement that you can read the input with a multimeter is a bit confusing. Do you mean that you have an external voltage source connected to the input and you have confirmed that the DAQ measures the same as a meter connected to this external source?
 
Maybe you should post the VI you've written and also details on how you have done the wiring.
0 Kudos
Message 4 of 9
(5,014 Views)

Hello Sarita,

Thanks for contacting National Instruments. 

It is possible to control both analog output and analog input in the same VI for DAQmx.  The screenshot at the bottom of this post shows a simple way to use dataflow to read a single point from a DAQ device and then write a single point to an analog output channel of the device.  The inside of the loop can be modified to use the read value to update the output value. 

This forum post goes over some of the caveats when programming a USB 600x device for output. 

Getting Started with NI-DAQmx and Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications are great starting points for programming with DAQmx. 

Please post back if you have any questions or concerns. 

Message Edited by BrowningG on 10-29-2007 06:17 PM

Regards,
Browning G
FlexRIO R&D
0 Kudos
Message 5 of 9
(4,973 Views)
Thanks Browning ,
 
It is working now. I was not tieng any value to Minimum and Maximum part and it was taking default values which was creating problem.
I am now on my next stage where I need to take two voltage inputs and depending upon them ,i will have to provide one analog output ,which should work now .I am going to try for that.If i face any problem,I hope I will again be troubling you and you will be again a good support for solving my problem.
 
Thanks a Looooooooooot !
Regards !
Sarita
0 Kudos
Message 6 of 9
(4,955 Views)

Hi Browning,

     Before going for the next stage , I was just trying to light up a bulb of 3.4 V using output from DAQ,but, it is not glowing.What can be the reasons as I purchased new bulbs to check the functionality of analog output of Daq.Though I can read 3.4 V value from Multimeter,but,it when connected to bulb ,doesn't make it light up.

 

Please guide me in this matter.

Thanks & Regards !

Sarita

 

0 Kudos
Message 7 of 9
(4,952 Views)
The analog outputs on the 6008 can only supply up to 5mA of current, I suspect that your light bulb needs much more current than that to illuminate.
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 8 of 9
(4,937 Views)

Hi ,

You are right .There was the current rating problem because of which the bulb was not glowing.

Regards

Sarita

0 Kudos
Message 9 of 9
(4,921 Views)