LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Equation for bullet fired from gun. Want to use inputs: ymax, xrange,velocity, and starting points x0, and y0. Any input helps, Thanks.

Trying to make a VI for example a bullet fired from a gun.  I want to use the inputs(numeric counters): starting points Y,0, and X,0.  Also want to use the inputs: velocity, max range of X (xrange), and max height of Y (Ymax).  I need to put a subVI in as well i figured I'd put in the equation to convert rad to degrees as my subVI.  Having trouble with the equations and how to plot them on the block diagram (I'm new at labview if you haven't noticed yet).  Any advice/help/input would be greatly appreciated.  Thank you.P1010001.JPG
0 Kudos
Message 1 of 8
(3,459 Views)

Is there anybody here who doeesn't think this is a homework question?

 

Show us what you've done. If you haven't done so yet, you should go through the LabVIEW tutorials. You should also look at the shipping examples. There's lots of examples on graphing. 

Message 2 of 8
(3,455 Views)
I cant lie, this is project that I'm leader for, but if I knew wat I were doing I wouldn't be asking for help.  As for what I have done I've got the equation down I just can figure how to wire it correctly, I dont even know where to start.  Is there a link you could send me to give me some of the shipping examples, or any other helpful links?  Thanks.
0 Kudos
Message 3 of 8
(3,446 Views)

What is the point in being the leader when the leader himself wants the VI on the platter. your whole question will be answered if you, 🙂 open Labview. Take the tutorials that will get you going on the basics. Then goto Find Examples and search plotting, graphs. Numerous VI's will show up to help you.

 

And then if you are lost while actually trying to do something... People here will be more than willing to help. But sadly at this juncture of time this is the most i can help. Because we all are morally bound.

 

 

Regards
Asad Tirmizi
Design Engineer
Institute of Avionics and Aeronautics

" Its never too late to be, what u want to be"
Using LabVIEW 8.2
0 Kudos
Message 4 of 8
(3,433 Views)

What is the point in being the leader when the leader himself wants the VI on the platter. your whole question will be answered if you, 🙂 open Labview. Take the tutorials that will get you going on the basics. Then goto Find Examples and search plotting, graphs. Numerous VI's will show up to help you.

 

And then if you are lost while actually trying to do something... People here will be more than willing to help. But sadly at this juncture of time this is the most i can help. Because we all are morally bound.

 

 

Regards
Asad Tirmizi
Design Engineer
Institute of Avionics and Aeronautics

" Its never too late to be, what u want to be"
Using LabVIEW 8.2
0 Kudos
Message 5 of 8
(3,431 Views)

Check the numeric functions group and all will be clear.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 8
(3,405 Views)

ricoswavay wrote:
I cant lie, this is project that I'm leader for, but if I knew wat I were doing I wouldn't be asking for help.  As for what I have done I've got the equation down I just can figure how to wire it correctly, I dont even know where to start.  Is there a link you could send me to give me some of the shipping examples, or any other helpful links?  Thanks.

There is a fair bit of useful information in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free. LabVIEW also ships with lots of examples. Just select the Help -> Find Examples menu item.

 

In your specific case it seems that you just want to calculate some scalar values based on a couple of equations and some constants that are provided via front panel controls. In this case you would just need some of the functions from the Numeric palette (add, multiple, square root, etc) and the Mathematics palette (for the trig functions). Try something simple first, like adding two numbers. All it takes is a single numeric function on the block diagram, two controls, an indicato, and three wires. 

Message 7 of 8
(3,369 Views)

Smiley Surprised


ricoswavay wrote:
I cant lie, this is project that I'm leader for, but if I knew wat I were doing I wouldn't be asking for help. ...

Smiley Happy 

 

Ben breathes a sigh of relief after learning that someone ELSE did NOT get that follow-up project he has been waiting for the government to fund.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 8 of 8
(3,365 Views)