LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use delay using boolean inputs

Solved!
Go to solution

kavharshre wrote:

I have modified as per your mail.try_sur I want the wave only when switch is high else no output.But now when I run the program it remains constant.


You did not do anything I said. You placed a diagram constant inside the loop and left the swtich outside the loop.

 

I think you should start with a few LabVIEW tutorials first and learn about dataflow.

0 Kudos
Message 21 of 35
(1,021 Views)

Sir

  This time I think I have modified as per your mail.Its working also.

But I have to use double controls for true and false.

Is it possible such that at boolean 0 no output and at boolean 1 output displayed using 1 set of controls

points,speed and angle

 

thank you for the suggestionsand corrections. file attached.

 

regards

kn

0 Kudos
Message 22 of 35
(1,005 Views)

kavharshre wrote:

But I have to use double controls for true and false.


Threre is only one switch, please exaplain what you mean.

 


kavharshre wrote:

Is it possible such that at boolean 0 no output and at boolean 1 output displayed using 1 set of controls

points,speed and angle


Make the false case empty and set the output tunnel to use default if unwired.

0 Kudos
Message 23 of 35
(1,008 Views)

Sir

  thank you I will be trying the above.Sir I have one more query can I change the slope of wave form from square to triangle to trapezoidalby changing the slopes any suggestions please.

 

thanking you regards

kn

0 Kudos
Message 24 of 35
(1,004 Views)

kavharshre wrote:

  thank you I will be trying the above.Sir I have one more query can I change the slope of wave form from square to triangle to trapezoidalby changing the slopes any suggestions please.


Of course. Just use more points for each segment. The rest is simple math.

0 Kudos
Message 25 of 35
(997 Views)

sir

using the existing points can I create square, trapezoidal and triangle wave.Sir I am new and just learning labview can u give some more help.thanking you 

 

 

regards

kn

0 Kudos
Message 26 of 35
(979 Views)

greetings sir

 

Sir this time I am generating sine wave .When boolean is true I should get moving sine wave.

I have tried with some examples sub vi.

frequency should vary with frequency control

Sir I also require initial sine then continuous triangle

Sir I didnt get concept of moving waveform generation

attaching files

 

thanking you

regards

kn

0 Kudos
Message 27 of 35
(953 Views)

greetings sir

 

Sir this time I am generating sine wave .When boolean is true I should get moving sine wave.

I have tried with some examples sub vi.

frequency should vary with frequency control

Sir I also require initial sine then continuous triangle

Sir I didnt get concept of moving waveform generation

attaching files

 

thanking you

regards

kn

Download All
0 Kudos
Message 28 of 35
(933 Views)

@kavharshre wrote:

attaching files


What is the significance of the two VIs you have attached?

 

sine_wave.vi has about four sine generators on the diagram. Please simplify to the essentials and thell us where you have problems. All booleans are diagram constants, thus they cannot be operated when the VI runs. Replace with Controls. Your while loops stop after one iteration.

 

Func.vi seems to be written by a different person. Who? Why did you attach it?

0 Kudos
Message 29 of 35
(928 Views)

sir

Actually I want to generate a moving sine wave.

I have put two options to generate sine wave.

I have problem in clusters which are going to waveform chart

Sir which is more correct to generate a moving sine wave

I am able to generate a constant sine wave but it should move as boolean is true

 

thanking you

regrads

kn

0 Kudos
Message 30 of 35
(926 Views)