ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview

I am attaching my VI ,

0 Kudos
Message 21 of 26
(1,006 Views)

I don't know how the A and K should work, but something like this:

 

Sag.png

0 Kudos
Message 22 of 26
(984 Views)

A is the amplitude and k can have any value from 0.1 to 0.9

0 Kudos
Message 23 of 26
(979 Views)

@Bhavani08 wrote:

A is the amplitude and k can have any value from 0.1 to 0.9


The A seems correct as it is.

 

The K might actually be more like you had it in the first place. A for loop with a selector will work, turning the Boolean into either 1 or K.

 

I can't code right now, but if it's not figured out tomorrow (by you or a forum member), I'll have a look.

0 Kudos
Message 24 of 26
(971 Views)

Any other ideas to get the graph similar to what I have attached?? 

0 Kudos
Message 25 of 26
(932 Views)

Hi Bhavani,

 


@Bhavani08 wrote:

Any other ideas to get the graph similar to what I have attached?? 


What's wrong with Wiebe's suggestion?

Why do you need "any other ideas"?

 

That's basically the very same code:

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 26 of 26
(923 Views)