LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use delay using boolean inputs

Solved!
Go to solution

kavharshre wrote:

Actually I want to generate a moving sine wave.


Then create a single point with each iteration and use a chart.

0 Kudos
Message 31 of 35
(633 Views)

Sir

I am just a leaner from past 1 month in labview.

Single point means array element and put in for loop is it?

 

Sir I m sorry for the trouble have more 3 problems

 

  1. I want to generate a increasing ramp and constant when case structure is true i.e boolean switch true
  2. when case false then decreasing ramp to be generated.basicall trapezoidal curve
  3. In default case no wave on scope
  4. Im not geetting how to add default here.attaching files

 

 

  1. I am trying array using labview help course
  2. followed as given in the manual but some errors not getting in connection of wires

 

  1. I have generated a sine wave from sub vi can I move it continuously when boolean is true

 

sir attaching files for all

 

 

thanking you

regrads

kn

Download All
0 Kudos
Message 32 of 35
(619 Views)

@kavharshre wrote:
  1. I am trying array using labview help course

You are still lacking some very basic LabVIEW skills, so I recommend to continue with the course for a while longer before coming back here. Also study the shipping examples.

 

If you hover over the broken wires, you'll see that the problem is with undirected tunnels. In your particular case, you are connecting controls and other data sources together, which of course is not allowed. A wire can only have one single data source! If you turn the controls into indicators, things would be slightly more reasonable.

 

What do you mean by a "moving sine"? should X increase forever as the sine fuctions scrolls by? Then you need a chart. If the X scale should be stationary, you can make the sine "move" by updating with non-integer cycle lenghts on a graph. It really depends on what you want.

0 Kudos
Message 33 of 35
(605 Views)

good morning sir

 

The course material is very excellent.Im still studying.

But I have certain tasks assigned which I have to complete

trapezoidal wave generation.

I have tried many examples

 

The program is that xy both vary when boolean is high ramp increses within 3 sec and constant generated for some period of time

and when boolen is off then decreasing ramp(slope)within 3 sec

I have tried a few examples.please can u correct it

  1. stop_profile file has numeric control initially at 0 when running I change to 20 it jumpsand gain numeric changed to 0 it decreases to 0
  2. I have generated a ramp with proper slope and points but don;t know how to vary amplitude(y) w.r.t. X(time axis)
  3. I have created a case structure combining stop_profile file with two conditions 0 to 20 for true and 20 to 0 but not working
  4. Sir can u please correct anyone so that I can complete this task.thanking you

 

 

 

thanking you

regards

kn

Download All
0 Kudos
Message 34 of 35
(583 Views)

greetings sir

 

Sir I am trying nested while loops .

  1. only one while loop works
  2. when I place other while loop inside outer loop it stops working
  3. what basics should be learned for this problem

 

attaching file

 

 

regards

kn

0 Kudos
Message 35 of 35
(565 Views)