You will need to supply a lot more information!
- What is the make and model of instrument?
- What is the goal in terms of sinewave frequency/amplitude/voltage or current?
- Are you using drivers, 3rd party APIs, etc..?
- Post your code! (If you show us what you have tried it saves time.)
Without at least that minimal info I don't think anyone can help you.
Craig