11-24-2005 02:36 AM
I've tried to put the play wave file in the piece I think it belongs but The only thing I heard were Error sounds....
I've attached the piece of the program I believe the command should be because there is a bolean that move's when I shoot.
11-25-2005 02:34 AM
11-28-2005 08:27 AM
From the looks of it, you have a button that is "gun triggered sim" that triggers the laser, although it is currently not connected to anything in the program you sent. I would try replacing the false constant on the case structure in the run case with the gun trigger button and add the event sructure as shown earlier around the button. I would also recommend that you put a slight delay in your while loop so that you can have some cpu time to check the even structure (maybe 100 ms, using the wait ms VI).
That should allow you to play the wav when the button is pressed and then execute the run sequence.
Kenny
01-14-2013 02:50 PM
that good feedback, you learn here too, it is very true that the WAV format is important that I leave a exemplo can provide