06-23-2006 11:12 AM
Hello,
Thanks to all the past posters for being so helpful.
I was unable to answer two questions:
The first concerns the maximum triggering rate in LabVIEW. My goal is to have two trigger / gate blocks set up working at approximately 25 Hz and 7800Hz, respectively. Is it reasonable to expect proper trigger/gating even at the higher rate?
Secondly, how can the frequency and duty cycle of a simulated square wave be preserved for smaller samples? I'm trying to simulate a 25Hz square wave with 50% duty cycle at 1MHz sampling frequency, but in 129 – sample increments. Currently, only the first 129 samples are displayed, even on both “reset phase, seed and time stamps” and “use continuous generation” modes. In other words, my goal is to have a waveform that is displayed in ‘pieces’ or in ‘frames’ of the total waveform without resetting generation.
Your help is always appreciated,
BME_guy
06-26-2006 01:33 PM
06-26-2006 03:04 PM
Thank you, JLS, for partially answering my question. I’m sorry for being unclear.
What
I’m trying to do is simulate a signal that has a longer period than is visible
in a single array. For example, I'm trying to simulate a square wave at 25 Hz
sampled at 1MHz, in 129-sample increments. Ordinarily, 40k samples would be
required to represent a full cycle of a 25 Hz wave sampled at 1MHz (1sec/1E6
samples * 40E3 samples = 0.04 sec = 25Hz ). The period of this wave is not visible
within each individual set of 129 samples, but would be shown when they are
pieced together. The pieces are what I'm trying to simulate. This might be
compared to playing parts of a track on a CD player by pausing, sending a
webpage as packets, or splitting a large software program among several CD’s. (I’m
just trying to provide many examples
)
However,
I have not found a way to do this yet. The signal resets and begins simulating
at time=0, without ‘remembering’ where the simulation left off in the last 129-sample
set. This has been the case in my approaches and also the example included in
your reply.
Thanks again, I appreciate your feedback.
BME_guy
06-27-2006 06:32 PM