Generate a 40 Hz sinewave using the DAC0 streamout | LabJack
 

Generate a 40 Hz sinewave using the DAC0 streamout

2 posts / 0 new
Last post
rohanl
rohanl's picture
Generate a 40 Hz sinewave using the DAC0 streamout

Hi,

I need help generating a 40 Hz sinewave using the DAC0 output. 

I have the float32 values for the DAC however I am not sure what is the maximum scan rate for stream out.

Please let me know what the scan rate should be for a 40 Hz sine wave.

Thanks.

LabJack Support
labjack support's picture
What programming language are

What programming language are you working with? Have you seen our examples?

The scan rate will need to be the desired output frequency times the desired number of points per period. Using a larger number of points per period will make a smoother wave.