02-21-2016 11:40 PM
02-22-2016
12:55 AM
- last edited on
01-06-2025
10:35 AM
by
Content Cleaner
Hi guy,
what a nice request in this forum…
I'm trying to understand bouncing ball program..
We don't know what you are talking about. Which program do you try to understand? Can you supply its block diagram?
I don't how to create a ball in 3d space
I guess this is about basic physics and mathematics. You should have learned this in school/university!
and to create a sub-VI..
You want to learn LabVIEW? Good choice!
Start to learn at https://learn.ni.com/ (There are a lot of other resouces on www.ni.com to learn LabVIEW!)
Pls help me..
We will help you for your homework?) as soon as you start to show you own work done so far and to name the exact problems you have!
Btw. read this plea!
Mail me if u have the program to niranjana.suja@gmail.com
02-22-2016 08:06 AM
After you have done all the things GerdW recommended, if you have specific questions, please ask them. I am currently working on a program which involves a bouncing ball. Wikipedia has some useful articles on the mathematics required.
Lynn
02-22-2016
09:29 AM
- last edited on
01-06-2025
10:36 AM
by
Content Cleaner
The LabVIEW Control Design and Simulation Module has a shipping example that shows you how to code the dynamics of a bouncing ball example and it also shows you how to animate the ball in a 3D picture control:
C:\Program Files (x86)\National Instruments\LabVIEW 2015\examples\Control and Simulation\Case Studies\Physics\Bouncing ball\Bouncing Ball 3D.vi
To understand this code, you must know the equations of motion of a ball and the concept of a zero-crossing used in a ordinary-differential equation(ODE) solver.
If you don't know how to code in LabVIEW, please look at common LabVIEW tutorials available on the web and look at this "Introduction to LabVIEW in 3 Hours for Control Design and Simulation":
http://www.ni.com/tutorial/5855/en/
This should help get started with it.
02-22-2016 10:32 AM
If you don't have any fancy toolkits (or aren't allowed to use them) you can still create 3D objects and move them around based on your equations for motion. Look at: Help > Find Example... Then browse to Building User Interfaces > Generating 3D Pictures and play with some examples. I would start with the simple Create and Render Objects.vi.
Once you have your ball you can move it around, scale it and rotate it with the translation VIs in Graphics and Sound > 3D Picture Control > Transformations.
02-22-2016
10:32 AM
- last edited on
01-06-2025
10:36 AM
by
Content Cleaner
Yeah if you are new to LabVIEW, looking at 3D modeling is probably not the right place to start, lots of complicated things going on which are proably going to go over your head. There are some free training links at the bottom of this page that you should look into.
https://forums.ni.com/t5/Community-Documents/Unofficial-Forum-Rules-and-Guidelines/ta-p/3536495
While you're at it you should read the section under Posting a Question, and Things Not To Do.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-22-2016
11:01 AM
- last edited on
01-06-2025
10:37 AM
by
Content Cleaner
@NiranjanaPotter wrote:
Guys.. One help.. I'm new to LabVIEW.. I'm trying to understand bouncing ball program.. I don't how to create a ball in 3d space and to create a sub-VI.. Pls help me.. Mail me if u have the program to niranjana.suja@gmail.com
I guess you are reffering to this youtube video?
you can create the subvi by modifying this ni example found in:
C:\Program Files (x86)\National Instruments\LabVIEW 2015\examples\Graphics and Sound\3D Picture Control
"By modifying" I mean add this vi https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/picture/3d-picture-control/transfor... to the example.