From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arbitrary signal generation

Solved!
Go to solution

Hi,

 

I would like to create a program which simulate the signal given by the contraction of a cardiac chamber. It should be periodic with a settable frequency and amplitude. I've been using an event structure with a timeout interval equal to the time interval of the signal and a "simulate arbitrary signal" block. The problem arises when I plot the signal because the graph shows all the waveforms side by side instead of been not zero only after the set time interval. You can find attached an example of the signal I would like to get and the one I get and the labview VI.

 

I hope that my question is clear, thanks in advance for the help.

 

Federico

Download All
0 Kudos
Message 1 of 5
(2,741 Views)

Hi fedezava,

 

you need to create a waveform that consists of a sawtooth and a flat line.

Right now you just use the sawtooth alone…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,733 Views)

Ok, but how can I set the duration of the flat line in real time?

0 Kudos
Message 3 of 5
(2,714 Views)
Solution
Accepted by topic author fedezava88

So you want something like this?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(2,706 Views)

Thanks for the quick help.

 

Best regards,

 

Federico

0 Kudos
Message 5 of 5
(2,685 Views)