Jump to content

Basic question about Case structure


Recommended Posts

Hi, all LabVIEW gurus, I encountered a problem when I learned how to use the Case structure, as you know, when we add a frame generally we should specify a frame name, but anything I input into the Label area would be always included in a pair of quotation marks automatically, even I didn't add the quotation marks, that's mean, what I input will be treated as a string, but actually, sometimes I wanted to specify a frame as Default, not "Default" . How can I change the Label name without quotation marks on it?

I looked through about this issue in <<LabVIEW for everyone>> and LabVIEW official Help document, both of them tell us not to use quotation marks when input label name, but how can I prevent the LabVIEW itself adds the quotation marks automatically?

Sorry to say so much for this simple questionworshippy.gif

BR//Seraph

Link to comment

Works for me:

<object width="444" height="282"> <param name="movie" value="http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/jingswfplayer.swf"></param>'>http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/jingswfplayer.swf"></param> <param name="quality" value="high"></param> <param name="bgcolor" value="#FFFFFF"></param> <param name="flashVars" value="thumb=http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/FirstFrame.jpg&containerwidth=444&containerheight=282&loaderstyle=jing&content=http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/2009-08-13_2152.swf"></param> <param name="allowFullScreen" value="true"></param> <param name="scale" value="showall"></param> <param name="allowScriptAccess" value="always"></param> <param name="base" value="http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/"></param>'>http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/"></param> <embed src="http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="444" height="282" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/FirstFrame.jpg&containerwidth=444&containerheight=282&loaderstyle=jing&content=http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/2009-08-13_2152.swf" allowFullScreen="true" base="http://content.screencast.com/users/Michael_Aivaliotis/folders/Jing/media/42812b34-e8d7-4dfb-b1ba-f3e6649a8085/" scale="showall"></embed> </object>

Link to comment

Michael, thank you very much for your quick and kind reply, I have been doing just as you did, but I always got "Default" as the Label name, is there anything configuration that I didn't set properly?

I can't see the Flash in Michael's post so I don't know if I'm restating something, but you seem to have a string wired to the Case Selector terminal. You make a case the default by right-clicking on the Selector Label and selecting "Make This The Default Case", not by typing it in.

Link to comment

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.