04-25-2012 08:21 PM
This is a Pong Game.
I want to change Paddle 2 to cover the whole Y-axis so the ball would bounce off the Y-axis on the right rather than scoring.
Paddle aligned with ball.vi is the block diagram that control the length of the both paddle.
How do I seperate it so I can change their length individually?
04-25-2012 08:26 PM
What kind of help do you expect us to give?
You provide two screen shots. One is a very small section of a block diagram that is too small too read that is part of a very sophisticated program.
If you had a LabVIEW problem, we could help. But the problem you have is very specific to how your program is written. Nobody is going to be able to dig through this program to figure out your problem even if you did provide more than an unreadable screenshot.
04-25-2012 08:31 PM
Sorry. 😞 first time posting. The program too big i dont know how to post.
The whole program is too big and exceeds the amount i can upload.
04-25-2012 08:36 PM
That looks like a subVI in your program. Since it only has 1 paddle length input, it seems to me you need to add another input, one dedicated to paddle 1 length, the other to paddle 2 length.
04-25-2012 08:55 PM
I tried it this way. But it did not seems to work.
The 2nd picture shows that the paddle aligned with ball.vi have "ball x, paddle 1x, paddle 2x, paddle length and etc" how do i add a length 2 to it?
pardon me if i didn't gave enough information. I will try to make what i want to deliver clearer.
Thank you for trying to help me.
04-25-2012 08:59 PM - edited 04-25-2012 09:00 PM
You need to add it to the connector panel.
I'm guessing you really have never used LabVIEW before and someone else wrote this vi.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
(PS. Fix the spelling of "length" on the controls. You have a "c" in there instead of a "g".)
04-25-2012 09:05 PM
Yes. i have never learn anything about LabVIEW before.
I am just a student and this is a project given by my teacher.
He asked me to find help from this forum if i got any problems.
Thank you for the help. (: i will read throught the Introduction course.