Jump to content
cpipkin

SubVI Not Looping - Simple Universal Instrument Tuner

Recommended Posts

Hello,

I'm using the subVI "String Selector.vi" to select the frequency I need to tune to. The "Instrument Tuner.vi" determines whether or not the instrument's frequency is sharp, flat, or in tune. When I run "string selector.vi" independently (in a while loop or running continuously), the output / "desired fundamental frequency" updates quickly and correctly. However, now that I am using it within the Instrument tuner VI, it does not update.

My goal is to get the "Desired Fundamental Frequency" to update if i click on a different instrument / string the same way it does when I click octave1, octave2, or octave3. Any ideas as to how i can get the desired fundamental frequency to update correctly?

Thanks!

instrument tuner.vi

String Selector.vi

Share this post


Link to post
Share on other sites

Well the string selectors listboxes of instrument tuner.vi (Cello Strings, Guitar Strings, and so on) are not related to the ones inside String Selector.vi at all... You need a way to pass their values to String Selector.vi otherwise String Selector.vi will keep using their default value (index 0).

  • Like 1

Share this post


Link to post
Share on other sites

@Manudelavega -> thanks! I thought they were connected for some reason. I solved it by giving each listbox a slot on the pattern terminal.

 

Edited by cpipkin

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.