Thread: Sound input VIs
View Single Post
  #1   Spotlight this post!  
Unread 26-11-2009, 02:11
koroverj81 koroverj81 is offline
Registered User
FRC #1189 (Gearheads)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Grosse Pointe, MI
Posts: 3
koroverj81 will become famous soon enough
Sound input VIs

Our team was invited to participate in a Thanksgiving Day parade. We can't really do much with the robot while it is on a small trailer. Our 2009 robot had LED strips to alert the drive team of different statuses. These strips look cool and consume very little power, so we wanted to flash these strips during the parade. But just flashing the strips isn't enough. What would be really cool is if we could get them to flash in time with music we are playing. So I rewired the robot so that the power to the strips ran through jaguars instead of spikes. I also played around with some code to output the amplitude of the microphone input to a chart, using the "Acquire Sound" express VI. Once I moved that all over to a robot project, the Acquire Sound VI was generating an error. After navigating through the subVIs of Acquire Sound, it turns out the sound input VIs aren't supported. ("SubVI 'Sound Input Stop.vi': Sub VI not supported in current target")

tl;dr: Is there a way to change a Jaguar output value based on a change of amplitude from a sound input on the computer deploying the code?
Reply With Quote