I have an NI USB-6009 and I am trying to output a sine wave with the maximum frequency this device can provide me (150 hz) through one of the analog output ports. I have tried using different subvis for function generation but none of them have worked.
Is there any way I could get a clean sine wave with a frequency of 150 hz with this device?
I think you misunderstand the rating of this device. The 150S/s on the analog output is not the frequency of the sine wave, it's the number of times the output voltage is updated. A sine output is actually a series of voltage steps, how many depends on how fast and clean you want your wave. 10Hz is about the limit for a usable sine from a 6009, and that's still only about 4 points per quarter wave.