09-01-2016 09:39 AM
I build a vi to generate a sweep sine signal,the frequency range is 0—50Hz,but when I measure it,I find that the frequency range is 0—100Hz。
I check over it and stil cannot find the problem. PLEASE help me out!!!
The picture below shows my program.
Also, I attach my vi here and hope somebody can give me some help.
Solved! Go to Solution.
09-01-2016 10:32 AM
09-01-2016 10:42 AM
09-03-2016 04:33 AM
YEAH~~,Thank you very much. Your anwser helps me a lot.
But I still cannot find the mistakes in my program, can you tell me where is the problem?
09-04-2016 01:55 PM
I'll admit I'm not sure where the issue is. Your final value for frequency into the SinePtbyPt function is 50, so you're not asking for 100Hz. Therefore, it must be something about the way in which the Sine function is called, and the phase relationship as the frequency increases. You might be seeing a phase sweep phenomenon that is artificially adjusting your sine frequency as you time progress. Maybe someone else with more experience using this function will comment.
BTW, you don't need the timed loop for this unless you are specifically intending to display the data on the chart in real time. You can just use a normal while loop.
09-04-2016 09:58 PM
Thank you, as you guess, this Vi will be used in a real time control system.
Thoric 已写:I'll admit I'm not sure where the issue is. Your final value for frequency into the SinePtbyPt function is 50, so you're not asking for 100Hz. Therefore, it must be something about the way in which the Sine function is called, and the phase relationship as the frequency increases. You might be seeing a phase sweep phenomenon that is artificially adjusting your sine frequency as you time progress. Maybe someone else with more experience using this function will comment.
BTW, you don't need the timed loop for this unless you are specifically intending to display the data on the chart in real time. You can just use a normal while loop.