From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,897 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,881 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,875 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,826 Views)

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

0 Kudos
Message 5 of 7
(5,813 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,804 Views)

Cheers. I will do that.

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