03-22-2014 06:34 AM
How to create a complex waveform generator i.e. if I will enter an equation for e.g.. XY then I should get graph for it. Please help me out...
03-24-2014 12:57 PM
Just a guess here but you should probably take some LabVIEW training:
3 Hour Introduction http://www.ni.com/white-paper/5243/en/
6 Hour Introduction http://www.ni.com/white-paper/5241/en/
LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/
Self Paced training for students http://www.ni.com/academic/students/learn/
Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml
LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links
But to answer your question, it depends on what you want. If you really just want to graph a XY list of points then use the...XY Graph on the front panel. It accepts an array of X values and an array of Y that are bundled together. Look at the context help when you mouse is over it to see what it needs.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-24-2014 02:36 PM
Hint: Try looking in the LabVIEW palette called... WAVEFORM GENERATION.
03-25-2014 10:19 AM
Thank you for your suggestion...
I want to make it flexible like user can enter any function i.e. equation of line, circle, any other curve and in response the user should get curves for that equation...
So what would be program for it??
03-25-2014 10:29 AM - edited 03-25-2014 10:31 AM
03-26-2014 10:57 AM
Thank you for your help but I want to generate a graph of function that user enters i.e.. User should get graph of function he enters....
03-26-2014 11:10 AM
@hvg wrote:
Thank you for your help
but I want to generate a graph of function that user enters i.e.. User should get graph of function he enters....
What was posted does that as you describe it. You need to provide more details on why the posted solution doesn't meet your needs, or post more needs. The solution does graph functions that a user enters into the controls.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-26-2014 11:51 AM
@Hooovahh wrote:
@hvg wrote:
Thank you for your help
but I want to generate a graph of function that user enters i.e.. User should get graph of function he enters....
What was posted does that as you describe it. You need to provide more details on why the posted solution doesn't meet your needs, or post more needs. The solution does graph functions that a user enters into the controls.
Good Lord! I even linked to the detailed contex help that clearly explains it graphs a user suplied function input into "formula"
Just the default value is "sin(w*t)*sin(2*pi(1)*10). " where: w=2*pi*f , f defaults to 100Hz and t is in seconds computed from Sample Info.Fs for each sample in the waveform.
03-26-2014 11:55 AM
I want to generate a graph for a function but the given block diagram will generate waveform..
For e.g.. If user enter X=Y he should get line passing through origin having slope 1 i.e.. Angle=45'
like this I should get graph for any type of curve if I enter equation of that curve....
03-26-2014 12:27 PM
Oh like this?
Attached Saved for 2012