LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulating signal propagation in LabVIEW

Hi, I have a problem with simulation of signal propagation in LabVIEW.
I need to simulate delaying of certain signal (pulses) according to the picture. I need to acquire the delayed signal waveform at points A and B.
Additionally, I need to send another signal form point A in the direction of arrow, if the signal from the source doesnt come in certain time limit.
I tried to solve this problem, but I did not any idea, how this could be done in LabVIEW.
My final programme should simulate heart electrical activity and several heart rythm disorders and their correction by pacemaker.
Thank you for your tips.
Jan

Message Edited by Konigusko on 04-26-2006 02:03 PM

0 Kudos
Message 1 of 4
(2,773 Views)
That sounds like an interesting problem. Right now, though, it sounds rather vague. There are any number of ways of accomplishing this in LabVIEW, so it would probably help to know what types of signals you'll be sending, whether the process should run continuously, etc.

For now I came up with an example that sends values from A to B to C. You can specify the delay time for the signals to "travel" from A to B and from B to C respectively. In reality, what I did was to bundle each signal into a cluster with a start time. Then I pass each new signal in a buffered queue to another loop which checks how old each new incoming signal is. If it is old enough (the propagation time has elapsed), then the signal is displayed at position B and is passed onto C, which repeats this process.

I used LabVIEW queues to accomplish this. To transmit numerical values, you might also consider using Waveform data types, which similar to my example bundle together timing information (t0) and an array of Y-values for the signal. Check it out, I hope this helps!

Jarrod S.
National Instruments
0 Kudos
Message 2 of 4
(2,754 Views)
I have already written some VI, which should simulate my task.
I would like to ask you, if I solve my problem in good way, or if it is possible to use some other structures/modules in LabVIEW, using which would be the design of my simulator easier?
Thank you.

0 Kudos
Message 3 of 4
(2,744 Views)
It might help to know exactly what you are trying to accomplish. I didn't take too deep of a look at your code, but I didn't see what it was trying to do. What type of signal propagation are you trying to do? Are you trying to graph data, display it in real-time, or just simulate the results of the time propagation?

Jarrod S.
National Instruments
0 Kudos
Message 4 of 4
(2,722 Views)