LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use delay using boolean inputs

Solved!
Go to solution
Solution
Accepted by topic author kavharshre

I don't understand why you need two switches.

 

Would something like the attached work?

0 Kudos
Message 11 of 35
(1,525 Views)

thank you sir.With one single switch things are working.The boolean problem is solved

 

thank you

regards

kn

0 Kudos
Message 12 of 35
(1,503 Views)

dear sir

I am trying to generate a trapezoidal wave on oscilloscope  using a boolean switch.when switch activates a trapezoidal wave should be generated with speed 20 rpm

Sir I have created two VI s .How to connect both VI not understanding .I went through help of labview.still not understanding.Sir can you please give some examples for both

 

regards

kn

0 Kudos
Message 13 of 35
(1,481 Views)
dear sir I have manages to generate a trapezoidal wave. Now I want to connect to boolean switch such that when high wave should be genrated either using if loop or case. I am attaching the files. regards kn
0 Kudos
Message 14 of 35
(1,453 Views)

@kavharshre wrote:
 I am attaching the files. regards kn

There is nothing attached....

0 Kudos
Message 15 of 35
(1,439 Views)

dear sir

sorry sir files did not get attached.Sir actually this is one VI and I want toconnect to other VI also.

 

 

regards

kn

Download All
0 Kudos
Message 16 of 35
(1,426 Views)

Why do you need 8 parameters to define a trapezoidal?

Why do you need so many (broken) case structures if there are only two states?

Also, please set all controls to reasonable default values before saving, so we have some idea what's normal.

0 Kudos
Message 17 of 35
(1,418 Views)

sir

 

Actually when sur switch is high then only waveform should be displayed else no waveform.can't get it

I am attaching the file

 

0 Kudos
Message 18 of 35
(1,407 Views)

As I said already, please put typical default values into all controls and make the new values default. You attached VI has all values at zero and we don't know what you are using.

 

You have a dataflow problem (among may other problems!). Your switch is outside the loop, thus it will only get read once when the program starts and never again. If you want the updated value to be read at each loop iteration, the terminal belongs inside the loop.

 

Also mind your data representations. All "points" inputs should be blue (I32). All other inputs should be outside the inner FOR loops, because they should not change during the inner loops.

0 Kudos
Message 19 of 35
(1,398 Views)

dear sir

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.

 

secondly sir I have attached a main and subvi program. in sub vi it generates some frequency on enable at output. on connector pane inputs are enable and freq .This works

Now in main again taken all elements in while loop op element connected to output terminal of connector pane.this doesnt.work

Actually I want to connect subvi to main vi.

attaching files.

sir can u give me some alternate method for subvi also as well as wave generation with other loops if else etc

 

thanking you

regards

kn

 

Download All
0 Kudos
Message 20 of 35
(1,382 Views)