LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help doing Trapezoidal Chart Profile

Solved!
Go to solution

I'm a beginner in LabVIEW but I'm trying to do a simple trapezoidal chart profile to find the final velocity by using 6 inputs; current velocity, target position, current position, acceleration/deceleration, change in time and maximum velocity. So if u reply, please give a concise explanation and description of the program. Thanks! 🙂

0 Kudos
Message 1 of 9
(3,036 Views)

Hi Star,

 

but I'm trying to do a simple trapezoidal chart profile to find the final velocity by using 6 inputs; current velocity, target position, current position, acceleration/deceleration, change in time and maximum velocity.

I would guess the "final velocity" is the last value of the "current velocity"…

So what is your exact problem - and what did you try so far?

(Mind to attach your current state of the VI?)

 

So if u reply, please give a concise explanation and description of the program.

When you don't attach any VIs (aka "program") we cannot give explanations…

(When you want to hire someone to do your work you should post in a different board!)

 

 

I'm a beginner in LabVIEW

Did you notice the "Training" section in the header of the LabVIEW board?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(3,023 Views)

My teacher gave me this assignment but I'm totally confused on how to start. I know by using a graph chart we could increment until it reaches the maximum velocity( the line would increase, then stays horizontal ) but I do not know how to continue from there. He gave me the 6 inputs but I only managed to use maximum velocity and current velocity. During the constant acceleration stage, I've been told that the robot moves to a specific destination, which is its current position, but will then decelerate to its target position, which reaches its final velocity. So, I'm wondering if the final velocity is just zero?

 

Well, I wasn't aware of the Training section, however, I'm not entirely sure if they would teach me "Trapezoidal Profile". And also because I'm not entirely a beginner.

0 Kudos
Message 3 of 9
(2,993 Views)
Solution
Accepted by topic author StarStrike21

Hi Star,

 

My teacher gave me this assignment but I'm totally confused on how to start.

Why don't you ask your teacher? Or your classmates?

 

Well, I wasn't aware of the Training section, however, I'm not entirely sure if they would teach me "Trapezoidal Profile".

When you go through that Training you will learn how to handle DAQ data (aka a "signal"), how to collect that data in an array (or waveform), and how to analyze that data. Please try to stay away from the term "Trapezoidal profile", but think about "reading and analyzing a signal"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 9
(2,982 Views)

My classmate is using the formula node to do the coding but I do not understand C+. And also because technically, I already did DAQ since I did Sawtooth & Horizontal Charts but I couldn't do Trapezoidal profile. 

0 Kudos
Message 5 of 9
(2,976 Views)

There are several formulas to use, which are v = u + at and v^2 = u^2 + 2as. Also, how do I get the time from the graph chart. 

0 Kudos
Message 6 of 9
(2,970 Views)

Hi Star,

 

how do I get the time from the graph chart

A chart is an indicator, so you will not get any "time" from a chart.

You should get "time information" from your DAQ device!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 9
(2,951 Views)

Okay. I think I'm almost done with the VI. Turns out its pretty much arranging the formulas in a certain order. But thanks anyways.

0 Kudos
Message 8 of 9
(2,945 Views)

@StarStrike21 wrote:

Okay. I think I'm almost done with the VI. Turns out its pretty much arranging the formulas in a certain order. But thanks anyways.


https://en.wikipedia.org/wiki/Equations_of_motion

0 Kudos
Message 9 of 9
(2,937 Views)