From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

developing user-interface for generating arbitrary waveform

Hi all,

I need to develope (perhaps look for) an user interface in Labview which
allows the user to specify an arbitrary waveform which then the 2-D
signal coordinates will be sent to a HP arbitrary waveform generator
across GPIB. NI has already available the VI for sending an arbitrary
waveform to the instrument, but now the trouble is getting that
arbitrary waveform points (8 to 16000 points) from the user.

One of my ideas would be to use the math functions (for i.e. the step
function) and cascade them if necessary. I would not want to have the
need for the user to actually place a step function into the back panel
of the VI. Perhaps just a string control which the user can enter an
algebr
aic expression involving the step function (which some parsing
work is necessary).

Bottomline...What is a good way of letting a user define one's arbitrary
waveform?

I Appreciate your help...
Steven


--
Remove nospam
0 Kudos
Message 1 of 2
(2,353 Views)
Steve,

Take a look at the following 2example vis included with labview. By
combining their functionality I think you can get what you want...

C:\Program Files\National Instruments\LabVIEW
6\examples\math\math.llb\Behavior of Modified Function Graph.vi

C:\Program Files\National Instruments\LabVIEW
6\examples\daq\solution\benchtop.llb\Arbitrary Waveform Generator.vi

The first takes an equation and generates a waveform

The second has some of the built in functions (sin, etc) and a neat "draw a
waveform" interface that can then be used to drive AO.


Best,
Darrell
--
Darrell Henze, Ph.D.
Center for Molecular and Behavioral Neuroscience
Aidekmann Research Center
Rutgers University
197 University Ave.
Newark, NJ 07102
Henze@axon.rutgers.edu
Phone: 973-353-1080 x3361
office x 3054 lab
Fax: 973-353-1820
____________________________________________________________________
Time is just nature's way to keep everything from happening at once.


_Steven Chang wrote:

> Hi all,
>
> I need to develope (perhaps look for) an user interface in Labview which
> allows the user to specify an arbitrary waveform which then the 2-D
> signal coordinates will be sent to a HP arbitrary waveform generator
> across GPIB. NI has already available the VI for sending an arbitrary
> waveform to the instrument, but now the trouble is getting that
> arbitrary waveform points (8 to 16000 points) from the user.
>
> One of my ideas would be to use the math functions (for i.e. the step
> function) and cascade them if necessary. I would not want to have the
> need for the user to actually place a step function into the back panel
> of the VI. Perhaps just a string control which the user can enter an
> algebraic expression involving the step function (which some parsing
> work
is necessary).
>
> Bottomline...What is a good way of letting a user define one's arbitrary
> waveform?
>
> I Appreciate your help...
> Steven
>
> --
> Remove nospam
0 Kudos
Message 2 of 2
(2,353 Views)