02-08-2009 08:52 AM
I'm starting this thread as a place to consolidate information that is helpful in using the NXT Toolkit, but either isn't mentioned in the Programming Guide or isn't as clear as it could be. My hope is that this thread will only contain information, NOT questions or comments. That way, it will make it easy for users to find what they need
If you want to post some information on this thread, please use the Tags so it will be easy to search.
If you want to ask a question, please continue to do so by creating a new thread.
Solved! Go to Solution.
02-08-2009 09:02 AM - edited 02-08-2009 09:04 AM
The Sound File vi allows you to input the file name of a .rso sound file to be played. On page 59 of the Programming Guide, it says the filename is a maximum of 19 characters (15.3 filename). The filename MUST have 19 characters, otherwise, it won't play the file.
See the attached screenshot for one way of converting a "regular" filename to what needs to be input. It makes the NXT say, "Error".
Both functions can be found on the String palette. The first one is the String Subset, and the second one is Concatenate Strings.