Seraph Posted August 14, 2009 Report Share Posted August 14, 2009 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 question BR//Seraph Quote Link to comment
Michael Aivaliotis Posted August 14, 2009 Report Share Posted August 14, 2009 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> Quote Link to comment
Seraph Posted August 14, 2009 Author Report Share Posted August 14, 2009 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? Quote Link to comment
JustinThomas Posted August 14, 2009 Report Share Posted August 14, 2009 try wiring a numeric constant to the case struture selector (the question mark on the case structure frame). Now you should not see the quotes in the case names Quote Link to comment
Seraph Posted August 14, 2009 Author Report Share Posted August 14, 2009 Thanks you two gurus, now I make out what happended for my problem, I'm stupid Anyway, many thanks to you and LAVA! Quote Link to comment
jcarmody Posted August 14, 2009 Report Share Posted August 14, 2009 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.