Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6281 arbitrary analog output

Solved!
Go to solution
Hello, I am very new to LabView and national instruments. I'm trying to output a sine wave with noise with my usb-6281. I cant find how to do this in labview 8.2. I see how to output a normal sine wave from signal express and the measuremtn & automation explorer but I would like to make a program in labview to execute it. and not only a sine wave but one with noise. Can anyone point me in the right direction for this? is this even possible with the 6281? I should also probably mention that a sine wave is not really necessary, I am controlling a voltage variable attenuator and wish to change the attenuation maybe 5 times a second so speed is not essential. I could even run it through a script of voltage levels. but I'm not sure how to do that either. thanks in advance for your help.
0 Kudos
Message 1 of 10
(4,773 Views)

I believe you may need NI-FGEN VI's. See this example which changes an arbitray waveform on the fly in LabVIEW, best of luck! 🙂

0 Kudos
Message 2 of 10
(4,754 Views)

p. sanders,

 

NI-FGEN is only for the Function Generators, not an M-Series DAQ Card.

 

F11Raven,

 

Just open the Express VI called Simulate Signal. It has a 'Add noise' option. If you want to use lower level functions, use the search button on the functions palette to find all of the noise functions.

0 Kudos
Message 3 of 10
(4,748 Views)
Thanks for the replies guys. Ok so now i have the signal, how do i output it to the hardware? when i tried to use the instrument IO assistant it said i can only communicate with the serial, Ethernet, or GPIB interface. I need to output on the USB.
0 Kudos
Message 4 of 10
(4,739 Views)
Why would you think you need to use the Instrument I/O Assistant? You said you have a USB-6281. That means you need to use DAQmx and the DAQ Assistant. This is the same thing you used in signal Express.
0 Kudos
Message 5 of 10
(4,731 Views)
I was using an evaluation version of labview 2009 and i saw the Daq assistant but im using labview 8.2.1 now and i cant find it.
0 Kudos
Message 6 of 10
(4,728 Views)
It's included with the installation of DAQmx. If you have the Measurement I/O palette and the DAQmx functions, you could try a repair. Otherwise, just do reinstall.
Message 7 of 10
(4,724 Views)
Solution
Accepted by topic author F11Raven

Hi F11Raven,

 

The DAQ Assistant is bundled with DAQmx, which is the driver necessary to interact with your USB-6251. You can download the latest version of DAQmx here. After installing it, you should be able to use the DAQ Assistant within LabVIEW.

Best regards,
Rohan B
Message 8 of 10
(4,720 Views)
i have no DAQ anything in the measurment I/O pallete. Il try a reinstal and see if that works
0 Kudos
Message 9 of 10
(4,719 Views)
OK i installed the DAQ thing the BRO said and now it works thanks alot!
0 Kudos
Message 10 of 10
(4,699 Views)