Jump to content

Trouble with myDAQ


Majo

Recommended Posts

It looks as expected for a 50K frequency waveform sampled at 200k samples/s. Four samples per triangle wave (which is what I observe in your graph - math still works!) will not give you a nice graph. You either need to sample MUCH faster or reduce your output frequency. http://en.wikipedia.org/wiki/Aliasing

Edited by gleichman
Link to comment
It looks as expected for a 50K frequency waveform sampled at 200k samples/s. Four samples per triangle wave (which is what I observe in your graph - math still works!) will not give you a nice graph. You either need to sample MUCH faster or reduce your output frequency. http://en.wikipedia.org/wiki/Aliasing

 

Well, I would like to sample much faster, but mydaq device is able sample only 200k samples/s. And I can´t reduce the frequency because this frequency (50kHz) is very important because I use this frequency on bio-electrical impedance analysis.  

Link to comment

It looks like Majo has two problems. The myDAQ is too slow to properly generate or read a 50KHz triangle wave. The analog out channels of the myDAQ have a max update rate of 200KHz, so you will need the additional hardware as todd suggest and to verify the waveform a faster DAQ device is needed like a real scope.

Link to comment
It looks like Majo has two problems. The myDAQ is too slow to properly generate or read a 50KHz triangle wave. The analog out channels of the myDAQ have a max update rate of 200KHz, so you will need the additional hardware as todd suggest and to verify the waveform a faster DAQ device is needed like a real scope.

OK, first of all I will try to measure output signal from myDAQ on real scope and I will see what happen. The worst thing is that I was hopping that I can use this device on generate and measure 100kHz and 150kHz. Is it a way how to increase the sample frequency or can I use frequency multiplier? 

Link to comment

The myDAQ states that the analog output rate is 200K samples per second.  This means the output can be change up to 200,000 times in one second.  This seems like alot but generally to create a sine wave you must output 10 times in one cycle to get a clear picture of what the signal looks like (back to the Nyquist).  

 

So the fastest sine wave you should ever generate on the myDAQ is 20KHz.  You can output faster but you will have issues like what you are seeing.  Alternatives is to purchase hardware that supports outputs that are faster.  This USB X Series 6351 can output at 2.8MHz, so this can generate a sine wave at 280KHz without any problem.  I've never used this particular hardware, and I don't know your application so I can't say if this meets your needs, or has too much functionality.

Link to comment

If all you need is a sine wave (or other standard functions), a fairly inexpensive alternative is to use a function generator instead of a analog out device capable of arbitrary wave forms. Maybe something like this

 

http://www.amazon.com/Velleman-PCGU1000-2MHz-FUNCTION-GENERATOR/dp/B0011E5RNO/ref=sr_1_1?s=hi&ie=UTF8&qid=1381783997&sr=1-1&keywords=pcgu1000

 

$165 on Amazon

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.