LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bounceball

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
0 Kudos
Message 1 of 7
(5,138 Views)

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

Usually it's a bad idea to post it's own email address on the web, but surely SPAMMERS like this behaviour…
Best regards,
GerdW


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

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

0 Kudos
Message 3 of 7
(5,059 Views)

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.

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 4 of 7
(5,042 Views)

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

 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 5 of 7
(5,028 Views)

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.

0 Kudos
Message 6 of 7
(5,027 Views)

@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.

 

0 Kudos
Message 7 of 7
(5,014 Views)