09-24-2013 02:32 AM
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.
09-25-2013 01:12 AM
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
09-25-2013 02:07 AM
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.
09-25-2013 02:30 AM
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
09-25-2013 10:47 AM
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.
09-26-2013 07:56 AM
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
10-15-2013 02:11 AM
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
10-16-2013 07:35 AM
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
10-16-2013 08:08 AM
@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?
10-16-2013 08:18 AM
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