12-03-2017 09:25 PM
Hello All,
Good morning,
I have some thing problem in labview, 2 input, Push button and set point
This the tool i Have
- I have sensor the min reading 0 and the max reading 6,
- 1 set point
- 1 push button
- 1 object
This is the rules of program i want
1. I set the set point to 5
2. Then when push button on, the object go to the max of sensor(to 6) then go to the set point,
So the program i want is the object must go to the max of sensor and then go to the set point
Please help me to build the program, see attach pic for the graph
12-03-2017 11:17 PM
I'm sorry, but I don't understand what you are asking.
First, what is a "grafik".
Second, what are you really trying to do? Have you started something in LabVIEW and can post a VI? Is this real equipment, or some sort of simulation you want to run. Can you write some pseudocode to outline the steps you want your program to do.
12-04-2017 05:58 AM
Hi Kidz,
This is the rules of program i want
1. I set the set point to 5
2. Then when push button on, the object go to the max of sensor(to 6) then go to the set point,
So the program i want is the object must go to the max of sensor and then go to the set point
Please help me to build the program, see attach pic for the graph
I suggest to use a state machine approach!
1. state: initialize and wait for "push button"
2. state: increase "object" from zero to "max" at a given/predetermined rate
3. state: change "object" to "setpoint" at a predetermined rate
Hint: All items in quotation marks are "variables" aka wires&shift registers in LabVIEW…
Btw. your image looks like the output of a PID control with badly choosen PID gains… 😄