Why does Labview insert quotations in the case structure selector box?

I was building a case structure with an array of strings.  So, I copied the strings from the array on the FRONT PANEL directly into the SELECTOR LABEL.  My 3 strings have the form; to me, these are 5- character strings with spaces, or 7 characters if you count the spaces as string characters 
A, B, C   
A, B, D
A, B, E
So, when I copied and pasted them directly into the selector box A, B, C appeared as "A", "B", "C" and A, B, D appeared as "A", "B", "C" and then I got an error for selector values not unique.  Why didn't it appear as "A, B, C"?
Why did it transform the string I pasted and insert the quotation marks?  I used no quotation marks in my array.  Does the selector label interpret commas as functional characters that require quotation marks??
Thanks,
Dave 

dav2010 wrote:
I was building a case structure with an array of strings.  So, I copied the strings from the array on the FRONT PANEL directly into the SELECTOR LABEL.  My 3 strings have the form; to me, these are 5- character strings with spaces, or 7 characters if you count the spaces as string characters 
A, B, C   
A, B, D
A, B, E
So, when I copied and pasted them directly into the selector box A, B, C appeared as "A", "B", "C" and A, B, D appeared as "A", "B", "C" and then I got an error for selector values not unique.  Why didn't it appear as "A, B, C"?
Why did it transform the string I pasted and insert the quotation marks?  I used no quotation marks in my array.  Does the selector label interpret commas as functional characters that require quotation marks??
Thanks,
Dave 
Actually in CASE STRUCTURE, any frame can have multiple values as 'Case Selector value' and these are separated by a comma. Also if you choose to operate a CASE STRUCTURE using string, it will automatically prefixs & suffixs quotes (") to that string.
But you can enter  "A, B, C" manually and it will remain as it is. But if you copy and paste A, B, C, the CASE STRUCTURE will automatically change it to "A", "B", "C".
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.

Similar Messages

  • Why does LabVIEW skip over commands in programming structures

    Hello everyone!
    Is there a certain way you program to make labview execute ALL commands within a loop before going into another loop? For example, I have a while loop that stops if either the stop button is pushed or if the set point input is greater than 8. If both of these are false, then the code entered a case structure where it controls the output from a plant model. However, labview will enter the case structure without checking if both conditions are met. I've attached the VI and in the next message will post the VIs from the plant. I want it to do the below code,
    IF (Set Point > 8 OR Set Point < 0) THEN
           SET_Point OK= False
    ELSe
          SET_Point OK = True
    END IF
    IF (SET_Point OK = FALSE OR Stop Button pushed) THEN
             ! STOP VI
    ELSE
             ! Enter PID Control Loop
    END IF
    But labview likes to just jump around and skip parts for some reason. So when it for example, skips the OR check it uses the default value of true for the next case structure. It's driving me crazy. Can anyone please tell me why its doing this??
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    General Auto PID Simulator.vi ‏83 KB
    Global 1.vi ‏5 KB

    Ah! I can't believe I made that dumb of a mistake. And thanks for the advice altenbach. My overcomplicated diagram probably lead me to making that error. 
    I have another question though. How come when I use the Write to measurement file VI it will start the process variable at like 40 inches but when I don't use it, it'll start it at 0 and do as its supposed to? I've attached my updated VI with the write to measurement file VI in it. You'll see that if you delete it then it'll do as its supposed to. I don't understand why though..
    Attachments:
    General Auto PID Simulator.vi ‏118 KB
    Global 1.vi ‏5 KB
    problem with PV initialization.JPG ‏132 KB

  • Why does LabVIEW 2009 revert to the old icon editor?

    Hi,
    I have noticed that sometimes when I am trying to edit the icon in LabVIEW 2009, I get the old style icon editor from LabVIEW 8.5 days instead of the more advanced new one with layers, gliphys, etc.  Once the old style editor shows up, there doesn't seem to be a way to go back to the advanced editor.  Has anyone seen this behaviour?  I have version 8.5 of LabVIEW still installed, should I remove it?  Do I need to restart my computer?
    Thanks.
    Bob

    Here are some of the errors I see ...
    Attachments:
    ScreenShot057.png ‏18 KB
    ScreenShot058.png ‏112 KB
    ScreenShot059.png ‏125 KB

  • Why does Adobe sendnow work and the newest and greatest Adobe Send does not work?

    Why does Adobe sendnow work and the newest and greatest Adobe Send does not work? I wasted about 8 hours on trying to get Adobe Send to upload 269 files that amounted to 469MB. When it did not work I made a zip file and after a lot of wasted run time that did not work. The first situation gives little indication of when a file is loaded compared to Adobe SendNow. In both cases with Send it failed with a message like only the first 50 can be loaded. When I went and looked none of them had been loaded. With the zip file (I wanted to hide the individual files so they would not be counted) it appeared to work but very slowly and finally said it was done and I went and looked and it had done anything for oever 2 hours except a false "I'm runninng" indication.
    Thus, I took a chance with Adobe SendNow and it works great. It never gave me a limit on the amount of files nor on the size of the complete job. It shows me one file at a time when it has finished with the file uploading it. SendNow has never given me any problems.
    Why woiuld you want to change the program from SendNow to Send without the newest program being the best, fastest, user friendly program of the two? It just doesn't make sense to me. I suggest that Adobe keep SendNow working until Send is fixed. I would also suggest that SendNow and how it looks be kept, called Send, then modify Send one thing at a time until you get it to the point you need it to be for Acrobat. I have heard nothing good and now I have experienced it that Send is a piece of junk. I wasted most of my work day on giving Adobe the benefit of the doubt to find out I made a very bad decision to trust Adobe to make good decisions on the transfer of a function to another place .... both Adobe's responsibility.without making it painless for your customers that totally rely on you. Don't throw away customer confidence as it is very hard to get it back.

    Funny how you answer to "troll". (What's your handle on AT&T forums?)
    Yep! Verizon living up to it's contractual obligations by not releasing updates. Caveat emptor!
    I think there are some reasonable expectations here to keep customer's happy. When one carrier offers upgrades there is an expectation the same will happen across all the carriers. We have seen that except Big Red.
    Verizon could have said the update is in MS court months ago and stilled the voice of the disgruntled, or at least redirected it, but instead chose to be silent. Not for market share but for partial blame I think.
    We will have to agree to disagree since you only see Terms & Conditions and I, see customer satisfaction.

  • Why does Labview allow a cursor in a indicator?

    Hello,
        Why does Labview allow the user to position the cursor with the mouse inside a numeric indicator? Users think that just because they can put a cursor they should be able to type something and enter data. Is there a way to disable/stop the user from putting the cursor in a numeric indicator?
    Regards,
    Kaspar
    Solved!
    Go to Solution.

    Disabling the indicator satisfies your requirements, but this is funnier.  It would be even better if I calculated the position of the indicator and the "entry point" and just kept the mouse from entering, but I have a project to finish... 
    Message Edited by jcarmody on 03-27-2009 11:58 AM
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
    Attachments:
    move.png ‏4 KB
    test.vi ‏9 KB

  • Why does LabVIEW allow me to have 2 controls with same name

    Here's a general LabVIEW question:
    Why does LabVIEW allow me to have 2 controls with the same name in the same VI?  It seems like this only increases the chances of confusion.  Especially when someone is just looking at a block diagram (or documentation of a block diagram).
    No other programming language that I know of allows this.  I realize that uniqueness of name is not as critical in LabVIEW as it is in any text based language.  For example, in a text based language, if I had 2 variables called abc and I wrote a statement
    abc = 12;
    the compiler would not know which abc was being referred to.  In LabVIEW, if we had 2 controls called abc, the equivalent of doing an abc=12 is writing to a local variable (which is always linked to one of the controls) and there is no ambiguity.  Still, someone looking at the code cannot figure out which abc is linked to unless he does a right click>>Find>>terminal (or a double click).
    Even though I have never and never will name 2 controls the same, I think it would be a nice constraint to see enforced by LabVIEW.
    Any input from NI engineers on this?
    Message Edited by S G on 12-18-2007 03:38 PM
    S G
    Certified LabVIEW Architect, Certified TestStand Developer, Certified Professional Instructor
    Attachments:
    Trial1.JPG ‏21 KB

    I know when you copy and paste a control or indicator, LabVIEW automatically increments the label. But since you can hide the label, and show or hide the caption, there must be another mechanism that LabVIEW uses to keep track of all the controls. I thought I remember back in the "old days" (ver 6 or 6i) LabVIEW would give you an error if you tried to make two controls with the same name. Perhaps that was LabWindows/CVI.
    I don't know where the index is actually stored, but if you look at a property node linked to the Pane, you will see an array of references to the controls and indicators. Since the references are stored in an array, I assume that any local variables are tied to the index of that array. Since the labels themselves are properties of the control, I guess there's no reason to limit what that label is. They all have a unique index number.
    Interestingly, this array of references grows from the beginning. That is, any new control or indicator is put at index 0, not the end of the array.
    B-)
    Message Edited by LabViewGuruWannabe on 12-18-2007 08:45 PM
    Attachments:
    Labels.png ‏12 KB

  • Why does my iPad keep losing the wifi every few minutes?

    Why does my iPad keep losing the wireless connection every few minutes?

    Could be
    1 the routers firmware require an Update
    2 the iPad is defect

  • Why does my ipad drop off the Internet frequently?

    Why does my ipad drop ff the Internet frequently? It will be going fine then just won't connect

    Could be interference from something near you like a cordless phone, etc.

  • Why does I can't install the FORM6I DEMO program

    Hi :
    Why does I can't install the FORM6I DEMO program?
    Environment:WINDOWS98 ORACLE 817 single machine version FROM6i
    The FORM6i installs in the :D:\ FORM60
    The ORACLE817 installs in the D:\ORACLE 817
    While installing the DEMO, always hint is not an ORACLEHOME catalogue, two catalogues can't all install.
    Please the help!

    Hi Mountain Matt,
    Please make sure that you're logged in as an administrator, and that any antivirus software on your system is disabled. Then, trying downloading Acrobat from Download Acrobat products | Standard, Pro | XI, X, and run the installer.
    Please let us know how it goes. If you're still having trouble and need additional help, it will be very helpful to know what version of Windows you're using.
    Best,
    Sara

  • Why does my image not reach the edges of the page when printed, but appears fine as pdf?

    Why does my image not reach the edges of the page when printed, but appears fine as pdf?

    Check a printable area of your printer.
    Make a (grey) rectangle that is larger than the paper size. Print it,
    you'll get a message that some cropping will occur, that's okay. Then take a
    ruler and measure the dimensions of the rectangle printed on the paper or
    the white borders around the printed rectangle.

  • TS1398 Why does my iPad2 not display the WiFi icon?

    Why does my iPad2 not display the WiFi icon? I have implemented ALL of the troubleshooting tips, but my WiFi icon is still missing, and it will NOT recognize the internet connection that I know to work on my computer and iPhone.

    Try the following:
    1. Reset the AirPlay devices
    2. Reboot the router
    3. Reboot the iPad
    Note: The AirPlay icon is now in the Control Center

  • Why does iPhoto not give me the option of ordering a medium size soft cover book?

    why does iPhoto not give me the option of ordering a medium size soft cover book?

    This is the iPod touch forum. There are two iPhoto forums, one for iOS iPhoto and the for OSX iPhoto. Try posting in the appropriate one

  • Why does Adobe refuse to provide the latest version of Camera Raw (like my Canon 6d) for CS5?

    Why does Adobe refuse to provide the latest version of Camera Raw (like my Canon 6d) that could be supported in Photoshop CS5 or earlier?  Its like Adobe saying you want a Camera Raw for you Camera then buy CS6 which is insulting to your customers.

    Kenny_777 wrote:
    Why does Adobe refuse to provide the latest version of Camera Raw (like my Canon 6d) that could be supported in Photoshop CS5 or earlier?
    Adobe's policy to to provide free updates (not upgrades) for currently shipping software, which means the current Photoshop CS6 and Camera Raw 7.x. Development on Photoshop CS5.x and Camera Raw 6.x stopped when Photoshop CS6 started shipping. While it may appear on the surface that's it's a ploy to force users to upgrade to the most recent version when getting a new camera, it's really a policy based on the technical issues of trying to provide backwards compatible software for application that are no longer being developed.
    Camera Raw is a plug-in for Photoshop and as such, it is dependent on the Photoshop SDK in which it loads...it's also dependent upon the system level APIs being used by the applications. Could Adobe keep upgrading old software? Yes, but it would be a technical nightmare.
    Your alternative is simply use the free DNG Converter if you want to use new cameras that weren't in existence when your old software was developed. Pretty simple really and it's not designed as insult to Adobe customers...it's actually an affirmative program to make sure current users are provided support.
    The problem of new camera support for old software is really a problem caused primarily by the camera companies spawning off new cameras whose file formats are undocumented and proprietary. If the camera makers adopted a standard file format that could be opened in standard applications (kinda like DNG) then tis problem would be mitigated. You really should place the lion's share of the problem at the feet of the camera companies...

  • Why does Adobe Flash crash all the time? It is reallyt annoying and I'm considering using another browser. Please tell me how to fix this.

    Why does Adobe Flash crash all the time? It is really annoying and I'm considering using another browser.
    Please tell me how to fix this.

    Try to uninstall your current Flash version and update Flash to the latest version.
    Troubleshoot Flash Player installation for Windows:
    * http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall_the_older_Flash_Player_version
    *http://www.adobe.com/software/flash/about/
    *https://support.mozilla.com/kb/Managing+the+Flash+plugin
    *http://kb.mozillazine.org/Flash

  • Why does installation not start after the message "setup wants to make changes"?

    Why does installation not start after the message "Setup wants to make changes.  Type your password to allow this"?

    Hi
    It wants your system's admin password. Standard procedure on Mac for non-admin users
    Thanks

Maybe you are looking for

  • Hello every one,happy new year!

    Hello, I am a loyal user of Apple, with Apple for a long time, I want to know about siri siri when support for the Chinese? Why can not support the iPhone 4? This is not unfair iphone4 users? My E-mail: [email protected], I hope to give a good explan

  • Regarding RFC Function module in Multimapping

    Hi All I am trying to use RFC function module in Multimapping at target side.I want to call RFC Function based on some condition, if condition fails i dont want to call the Function Module. So i need to change the occurance of target RFC Message to 0

  • Doubt in Validation

    Hi All, I need to validate the input given by the user in Table Maintenance Screen. So i used Table Maintenace -> Environment -> Events option to do that. In that , i configured such that whenever a new entry is created, my validation subroutine will

  • Error in transporting ODS(Error when creating the export DataSource.......)

    Hi All,     When I try to transport ODS from dev to quality i m getting the following error.   <b>DataSource 8XADDR1 does not exist in source system BQ1CLNT355 of version A   Error when creating the export DataSource and dependent Objects            

  • Xform validation by using Xml-schema

    Hello, I want to validate XForm by using XForm Schema. In an xform example attached below , there are two input fields zip and zip2. I am not getting why zip in xform attached below cannot be validated.But zip2 is working fine. I am using mozilla fir