Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate an s-curve graph/chart in labview

I would like to generate my s-curve shape in a visible graph in a labview vi. Are there any quick/dirty vi's that can take position, accel/decel, vel and jerk value, and plot this into a time graph? Something akin Motion Assistant...

I am able to construct a trapazoid graph using basic algebra within lab view, but cannot find a good formula to compute an s-curve. I am familiar with converting the jerk value to actual counts/s^3, but from there on, I do not know how NI-Motion calculates to accel, decel and velocity times. Thanks.
0 Kudos
Message 1 of 2
(4,063 Views)
Hello,

What versions of LabVIEW and Motion Assistant are you using? Motion Assistant 1.2 exposes its API to LabVIEW and these functions can be accessed by opening LabVIEW and navigating to All Functions >> NI Measurements >> Motion >> Motion Assistant. Using these VIs, you can set up a move and use the Get Move Profile VI to obtain an array of points for the velocity profile.

Beyond this method, there is no straightforward way to obtain those datapoints.

If you have any questions about this method, please let me know.

Regards,
Scott R.
Applications Engineer
National Instruments
Scott Romine
Course Development Engineer
National Instruments
0 Kudos
Message 2 of 2
(4,053 Views)