Continous output signal using DAQ usb 6008 in matlab
Show older comments
Good evening,
I am trying to output a continuous signal using the NI DAQ usb 6008. When using this code:
ao = analogoutput('nidaq','Dev1');
ch = addchannel(ao,0);
putsample(ao,2)
I am sending one sample to the output. Can anyone help me to output several samples and then get a continuous signal?
I have tried the function "repeatoutput" but when verifying the output signal using an oscilloscope, I have nothing.
Thank you in advance
Takoua
1 Comment
Noor Atifah Nordin
on 2 Oct 2017
hye Takuoa,
can i ask you to teach me how you generate data from oscilloscope using usb 6008 ? my prof has ask me to generate signal from oscilloscope using ni daq 6008 in matlab to. i've been out of option on how to do it. does it required the latest version of matlab, because right now i;m using quite old version (r2012a) since i have a laptop with 32 bit only. Can you pleaseeeee enlighten me about this?
Accepted Answer
More Answers (1)
Categories
Find more on Oscilloscopes in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!