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,393 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,390 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,367 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,354 Views)
There's no attachment. Do not select preview after doing an attachment.
0 Kudos
Message 5 of 9
(3,350 Views)
Yikes!   My apologizes.  Here it is...
0 Kudos
Message 6 of 9
(3,348 Views)
It looks okay to me.
0 Kudos
Message 7 of 9
(3,342 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,337 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,332 Views)