Does G2 Break this program?
|
01-18-2020, 04:37 PM
(This post was last modified: 01-18-2020 04:38 PM by toml_12953.)
Post: #1
|
|||
|
|||
Does G2 Break this program?
Here's a projectile program that works on my HW A and C machines but doesn't work on my HW D (G2) machine. It passes the syntax check on all three. Can anyone tell me why G2 seems to break it? Try running it with velocity 230 and angle 30. On the older machines, the entire trajectory is plotted. On the G2, only one point is plotted.
Code: FNA(X,Y,Z) Tom L Cui bono? |
|||
01-20-2020, 01:35 AM
(This post was last modified: 01-20-2020 01:36 AM by Tim Wessman.)
Post: #2
|
|||
|
|||
RE: Does G2 Break this program?
On my mac emulator I just tried it and it worked, then I put it into degrees mode and it printed one item...
First thing I normally check when anything trig related is misbehaving. That it? TW Although I work for HP, the views and opinions I post here are my own. |
|||
01-20-2020, 02:17 AM
Post: #3
|
|||
|
|||
RE: Does G2 Break this program?
(01-20-2020 01:35 AM)Tim Wessman Wrote: On my mac emulator I just tried it and it worked, then I put it into degrees mode and it printed one item... Auuuggggh! You are quite correct. The angle mode was degrees on the G2 machine and radians on the others. Thanks for correcting me so gently! Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)