Re: digital waveform output



Hi andrikoscy,

With the VI you wrote it is only going to
output your waveform once. The digital output will be left at the last value in
the waveform. For example, if you end the waveform in a 1 then the line will stay
high. In order to see the waveform with your scope you can set the scope to do
a single acquisition on a rising edge trigger. Set the trigger level, start the
scope, and then run your VI. This should show you the two pulses in your
waveform.

For more examples of digital output I would
recommend looking at the digital generation examples in LabVIEW. These can be
found by going to the Help menu and selecting Find Examples.... Once the NI Example Finder is open select Hardware Input and
Output»DAQmx»Digital Generation. Also if
all you need to do is output a square wave I would recommend using a counter
output task assuming your card supports it. A good example of using a counter
to generate a square wave can be found in the NI Example Finder under Hardware Input and
Output»DAQmx»Generating Digital Pulses»Gen Dig Pulse Train-Continous.vi.

Thanks,

Nathan
.



Relevant Pages

  • Re: How would you interpret this waveform?
    ... This waveform is what my ... > clean sine wave. ... I am new to using a scope so not sure what the ... It looks like your modulating audio signal is a filtered square wave ...
    (sci.electronics.repair)
  • Re: Never normalize to 0dB?
    ... kHz, -6 dBFS square wave in the other. ... And here is the waveform, played at full volume with VLC ... also are happy to "normalize to 0 dBFS", ...
    (rec.audio.pro)
  • Re: Momentary Switch Circuit
    ... That was major motive for buying the PC-based scope. ... I saw your first waveform showing a 14 volt Vcc with a 12 volt zener yielding an "8" volt output, which makes no sense either way - but now that I understand how to read the waveform, that "8" volts is actually 2 volts, which does make sense. ... relay "one-shot" once - OP needed a relay to energize for ...
    (sci.electronics.design)
  • Re: BBC Radio 4 Feedback (13:30 Friday) - Discussion about move to
    ... It is not a sine wave with infinite number of harmonics imposed ... The harmonic components of a non-sinusoidal waveform really do ... If you had say 10hz square wave and you sampled it at 20Hz and got ... it with data from a 20hz sampler when if what you're saying is true ...
    (alt.radio.digital)
  • Re: Walkman, at 30, a mystery to teen
    ... waveform as well as a high end cassette machine. ... If you take a look at a 1khz square wave after digital conversion, you'll see ringing at both ends of the flat top. ... You'll see it where there is copious amount of data loss, ...
    (rec.radio.shortwave)