LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

NXT guitar

Im having troubles making the code for my NXT Guitar. Im trying to make it so that when the slider is at a certain distance from the sensor and when the NXT button is pressed it will play the designated note depending on the distance.

 

http://www.nxtprograms.com/NXT2/guitar/steps.html 

0 Kudos
Message 1 of 7
(5,901 Views)

Hi Craymond,

 

The provided link doesn’t take me to a valid webpage. Are you using LabVIEW for Lego Mindstorms? NXT Module/Toolkit for LabVIEW?

 

Regards,

AGJ

NI

0 Kudos
Message 2 of 7
(5,885 Views)

My mistake. I accidentally typed in an extra character.

Here's the actual link: http://www.nxtprograms.com/guitar/steps.html

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

Would you be able to post your code so that we could have a look at it?

0 Kudos
Message 4 of 7
(5,830 Views)

Thats why I'm here. I need help making it. I dont have anything currently.

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

Craymond,

 

You can start by looking at examples in Help>>Find Examples>Toolkits and Modules>NXT Robotics. There are some examples that use the ultrasonic sensor (like Radar Gun) that should be of help. Some tutorials on LabVIEW basics are available on ni.com and LabVIEW's YouTube channel.

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

Cheers. I will do that.

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