LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i change the length of paddle 2 but affecting the length of paddle 1?

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?

 

 

Download All
0 Kudos
Message 1 of 7
(2,946 Views)

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.Smiley Frustrated

0 Kudos
Message 2 of 7
(2,942 Views)

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. 

0 Kudos
Message 3 of 7
(2,940 Views)

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.

0 Kudos
Message 4 of 7
(2,934 Views)

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.  

Download All
0 Kudos
Message 5 of 7
(2,931 Views)

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".)

0 Kudos
Message 6 of 7
(2,927 Views)

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. 

0 Kudos
Message 7 of 7
(2,923 Views)