04-01-2011 02:16 AM
Good evening,
I am trying to output a continuous signal using the NI DAQ usb 6008. I know that it is not possible to send several samples at once using "putdata/start" because of the DAC. So I send one sample to the output using the function "putsample". When using this code:
ao = analogoutput('nidaq','Dev1');
ch = addchannel(ao,0);
putsample(ao,2)
I am sending one sample (2v) 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
Solved! Go to Solution.
04-05-2011 03:09 AM
Hi Takou,
You have already post with the same topic. Is it the same think, isn't it?
If yes, Refer to the following link:
Best regards,
Rémi D.
National Instruments France
04-05-2011 03:34 AM
Yes it is.
Thank you Remi