Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Bubble Wrap

This VI lets you pop bubble wrap with your mouse. Click your way to hours of fun!

bubble wrap.png

(Christian Altenbach): Added a new version that adds sound effect and disallows unpopping. (Bubble Wrap (event based)_MODCA.zip ). Unzip and keep the sound file next to the VI. (LabVIEW 2013)

Comments
Christian_L
Active Participant
Active Participant
on

Popping bubbles is not much fun without the sound.

authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
Jiri_K
Active Participant
Active Participant
on

You should also consider some timing of the loop 😉

CLA, CTA, CLED

HunterSeeker
Member
Member
on

@Jiri

I added an event based VI that should be much more processor friendly.

nolsqn
Active Participant
Active Participant
on

can someone upload 2012 version?

Regards
altenbach
Knight of NI Knight of NI
Knight of NI
on

I am missing sound effects! (Just add one more event case).

It should also not be possible to un-pop a bubble.

altenbach
Knight of NI Knight of NI
Knight of NI
on

You can also significantly simplify the "clean sheet" event.

SimplerCleanBubbles.png

wildcatherder
Active Participant
Active Participant
on

Although I can play the WAV file of the

Bubble Wrap (event based)_MODCA.zip (24.6 K)

on my PC, when I run the VI, the first attempt to pop a bubble results in error:

"(Hex 0x12CA) Cannot recognize sound format."

I have the LabVIEW 2013 Full Development version.  Is something else required to play WAV files?

altenbach
Knight of NI Knight of NI
Knight of NI
on

wildcatherder wrote:

"(Hex 0x12CA) Cannot recognize sound format."

This is your mistake and happens of you run it directly from within the zip file instead of extracting it to a regular folder first. Extract the zip before running and everything should work just fine.

Right-clicking the zip file and selecting "extract all..." will do it.  Try it!

(Note that if you double-click a zip file in e.g. windows 7, it will open a built-in zip viewer that looks very similar to windows explorer. Don't confuse it with a regular folder view. The program will not be able to find the sound file in this scenario.)

Note that my instructions were very clear: "Unzip and keep the sound file next to the VI."

Contributors