ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build a waveform of N samples with zero amplitude?

Solved!
Go to solution

Can anyone describe how to build a waveform of N sample length with zero amplitude?

0 Kudos
Message 1 of 9
(3,694 Views)
Solution
Accepted by topic author super-neuron

One way is to just use an Initialize Array and a Build Waveform.



Message Edited by Dennis Knutson on 07-30-2008 05:32 PM
0 Kudos
Message 2 of 9
(3,691 Views)
Do not forget to put in dt if timing will be important for later usage of the waveform. I think the default is 1.

Lynn
0 Kudos
Message 3 of 9
(3,668 Views)

Thank you Dennis & Lynn!

I believe I got it.   Does the attached example look correct?

Sincerely,

zach

 

0 Kudos
Message 4 of 9
(3,655 Views)
There's no attachment. Do not select preview after doing an attachment.
0 Kudos
Message 5 of 9
(3,651 Views)
Yikes!   My apologizes.  Here it is...
0 Kudos
Message 6 of 9
(3,649 Views)
It looks okay to me.
0 Kudos
Message 7 of 9
(3,643 Views)
zach,

It looks OK. Typically people do not put the error clusters in other clusters. Usually the errors are handled separately, but there is nothing wrong with your way if that is best for what you are doing. I put a Waveform Graph on the panel so I could visualize the result. It appears to be what you were asking for.

Lynn
0 Kudos
Message 8 of 9
(3,638 Views)

Dennis & Lynn,

This works great.   Thank you both for your advice and examples.   I really appreciate the help you've given me, and your ongoing work in the forum community.   Great hardware, great software, and a rocking community of people.   I'm so glad we chose NI.

Have a great day!

zach

0 Kudos
Message 9 of 9
(3,633 Views)