05-27-2016 07:16 PM
I want to have two square wave graphs in Labview as outlined below, with the graphs functioning simultaneously at the same positions for example,
for the top graph when it reaches 1 I want it to display a pattern like shown on the bottom graph until the top graph goes back down to 0. The user should be able to input a certain frequency and/or period. In addition, for the bottom graph the user should be able to input what range of amplitudes they want to go between for example between 2.5 and 6. I'm currently stuck on how to approach this problem any help would be greatly appreciated.
Solved! Go to Solution.
05-27-2016 07:52 PM
see this two image
fallow th realted path in labview and work on it
05-27-2016 07:56 PM
Sounds like a homework assignment. Have you had any LabVIEW instruction? Have you viewed any LabVIEW Tutorials? [There are a bunch listed in the upper right of the first page of the LabVIEW Forums].
Think broadly about what you want to do (don't worry right away about how to do it). Think about whether time is a variable in your problem -- there are Time functions if you need them.
Start outlining your ideas using LabVIEW Structures (While/For Loops, Case structures, etc). Use Shift Registers where appropriate. Think about inputs (Controls) and outputs (Indicators).
Try out your code. If you see a "broken" run arrow, click on it to see what errors you've made, and fix them. Run your code -- does it do what you expect?
If your code does not work and you need help with it, post your code here -- just attach the entire VI (so we can see everything, and poke around in it).
Bob Schor
05-31-2016 09:36 PM
So I got a square graph however for the following VI I want to be able to see on my graph that when I turn the Purge Control Button On I will be able to see that the line goes up and turns into a square wave and vice versa when I turn off purge control my graph will show the square wave go down and turn into a straight line. Right now what it is doing is just automatially showing a square wave when I turn my control button on. How could I go about doing this?