LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Complex waveform generator

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...

0 Kudos
Message 1 of 13
(4,538 Views)

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.

0 Kudos
Message 2 of 13
(4,495 Views)

Hint:  Try looking in the LabVIEW palette called... WAVEFORM GENERATION. Smiley Wink

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 13
(4,484 Views)

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??

 

0 Kudos
Message 4 of 13
(4,460 Views)

something like this:

!1.png

 

Help

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 13
(4,458 Views)

Thank you for your helpSmiley Happy but I want to generate a graph of function that user enters i.e.. User should get graph of function he enters....

0 Kudos
Message 6 of 13
(4,428 Views)

@hvg wrote:

Thank you for your helpSmiley Happy 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.

0 Kudos
Message 7 of 13
(4,424 Views)

@Hooovahh wrote:

@hvg wrote:

Thank you for your helpSmiley Happy 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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 13
(4,412 Views)

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....

0 Kudos
Message 9 of 13
(4,410 Views)

Oh like this?

!1-1.png

Attached Saved for 2012


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 13
(4,406 Views)