LabVIEW for LEGO MINDSTORMS and LabVIEW for Education

cancel
Showing results for 
Search instead for 
Did you mean: 

NXT Toolkit Programming Guide Supplement

Solved!
Go to solution

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.

0 Kudos
Message 1 of 2
(6,875 Views)
Solution
Accepted by topic author Eagle 1

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.

Message Edited by Eagle 1 on 02-08-2009 09:04 AM
0 Kudos
Message 2 of 2
(6,874 Views)