BD Array Constant cannot be "browsed"?

I've been annoyed by this in the past and a quick search did not yield any answer, so here is it:
Is there a good reason why an array constant on the BD cannot be looked at, in the sense that the array index is no clickable?
For instance, I am parsing a header using an array of strings and while I am debugging the process, I'd like to rapidly check what the index of entry "this" or "that" is so that I can put some conditional probe that will get me there quickly. The problem is, the array is too large to be seen at once on the diagram. Moreover, what I want to do is bring the item I am interested in to the top of the list so that I can check its index:
The problem is, once I step through the code, the array is "frozen" and I can't play with the index control.
That should not change anything to the code, so I don't understand why I am prevented from doing that.
I can browse through cases of a structure or a sequence. Why not an array constant?
Tested in LV 2011, but has been here forever.

You are specifically talking about run mode, right (in edit mode you can change the index).
You can show the scroll bar of the array container. It seems that still works in run mode, but I agree that the index should maybe also keep working.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • String Array Constant Addition

    Is there an elegant way of marking the last element in a string array
    constant? i.e. I take an Array constant, and add a simple string to it,
    so that it becomes a String Array Constant. Now I add elements 1 and 2
    and 3. But now I want to take element 3 out. If I just delete Element 3
    contents from the string control, that is fine, but the # of Array
    elements is still 3. It is just that the 3rd elelment is null. How can I
    make the array length 2? Now I know that starting over is one option
    (just creat a new array constant, and add the two elements) but what if
    my array constant has 100 elements and I want to make it 99. I also
    know that programatically I can remove these elelents, but I am taking
    about in the programming of th
    is constant. I must be over looking
    something... Any ideas???
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    [email protected] wrote:
    > Is there an elegant way of marking the last element in a string array
    > constant? i.e. I take an Array constant, and add a simple string to it,
    > so that it becomes a String Array Constant
    Arrays must be all the same type. If the last element is a constant, all
    elements are
    > Now I add elements 1 and 2
    > and 3. But now I want to take element 3 out. If I just delete Element 3
    > contents from the string control, that is fine, but the # of Array
    > elements is still 3. It is just that the 3rd elelment is null.
    In a string, yes, Empty strings are essentially nulls.
    > How can I
    > make the array length 2? Now I know that starting over is one option
    > (just creat a new array constant, and add the two elements) but what if
    > my array cons
    tant has 100 elements and I want to make it 99. I also
    > know that programatically I can remove these elelents, but I am taking
    > about in the programming of this constant. I must be over looking
    > something... Any ideas???
    This is one of my problems. It is easy to size an array up, but hard to size
    down.
    Of course you can resize at run time but the only way I know to do this
    when editing is to start over.
    Kevin Kent
    Attachments:
    Kevin.Kent.vcf ‏1 KB

  • Array constant grey entry

    Say I have a array constant with 3 elements
    I want to delete the 3rd element and grey it out, so it look like this
    Can't seem to find a good way to do this other than remake the entire array. It is fine when the array only has a few elements, but when it is an array of shared variable reference of 50, it takes some time.
    Thanks
    Solved!
    Go to Solution.

    Exactly like that.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Creating string array constant

    Hey, this is probably a stupid question but I am still trying to figure out everything in LabVIEW. Is there a way to create an array constant that holds strings? I know you can define an numerical array constant but can you also do one for strings, or do I just have to pass multiple text fields into a "build array" function.
    Thanks,
    Paul

    Another tip:
    Many times, you already have a function on the diagram that expects an array of strings (or whatever you specifically need), so the easiest is to right-click the connector and select "create constant". You will get an diagram constant of the default type for that input or output terminal.
    LabVIEW Champion . Do more with less code and in less time .

  • This form template is currently browser-enabled but it cannot be browser enabled on the site

    Hi,
    we have an issue with infopath form when trying to publish the form with browser enabled feature it is showing error "this form template is currently browser-enabled but it cannot be browser enabled on the site" and also "Enable thisf orm
    to be filled out by using browser" option is disabled
    i have triedfollowing
    1. Site Collection Features has "Enterprise Features enabled"
    2. Site Features also has "Enterprise Features" enabled
    3. Forms Library has "View as Web Page" enabled in advance settings
    4. Infopath Forms Service has Render and User Browser Compatible Forms enabled
    5. Tried creating a form with simple section and design checker does not flash any errors (And, yes, the form is made browser compatible)
    6. Tried enable and disable of Infopath Forms Service, Enterprise Features, etc and did an IISRESET each time
    7. Default Form Templates library is also there in view all site contents page, this is also
    8. This is only happening in one site collection, on other site collections this is working
    Anyone please help me on this

    Thanks Darrell,
    Apologies for my delayed response. I wish it was that simple! When I publish, the files are saved throughout the site with files from my 7 other animations (some of which I've decided not to use). Very confusing for an Edge noob. Anyway I've identified and collected them all using Finder into a folder to zip. Now I have to finish sorting about 1.25 GB of images (when I started experimenting with Edge I made the mistake of using big pixel dimensions and many duplicates of varying sizes) that aren't in the animation I want to send you. I don't know which ones to delete without inserting each one in the edge animate composition first as distinguishing the names in the library seems to be a lost cause. Thanks for your patience and I'll send the zipped file with the pruned images within 48 hrs. I'm working with a full laptop that's at the end of its natural life so its taking a lot longer. I hope the whole problem is because of my huge image folder and not to do with javascript etc. The animations work fine by themselves in any browser and after publishing by themselves it seems. Just not in DW...
    Cheers, Gene. 

  • Error : Array constants can only be used in initializers

    Hello All,
    I am using tableview model and declared two-dimensional array.
    Getting error Array constants can only be used in initializers in the line retVal<i>[j] =  {  {  createBy,desc,dispName }  };
    String[][] retVal;
    retVal = new String[20][20]
    //Fetching IResorce propeties here
    int resourceCounter = 0;
    for (int i = 0; i < list.size(); i++) {
       for (int j = 0; j < i; j++) {
          IResource ir = list.get(i);
          createBy = ir.getCreatedBy();
          desc = ir.getDescription();
            dispName = ir.getDisplayName();
         retVal<i>[j] =  {  {  createBy,desc,dispName }  };
         resourceCounter++;
    return retVal;
    Please help me out.
    Thanks
    Risha                              }

    I created ArrayList 
    static public String[] colnames =
                   "News Title",
                   "Short Description",
                   "Published",
                   "Valid To",
                   "Read Count",
                   "Users Details",
                   "Reply" };
         public ArrayList createData() {
               ArrayList rowArrList = new ArrayList();
              ArrayList tableArrList = new ArrayList();
              String createBy = null;
              String desc = null;
              String dispName = null;
              String lastMod = null;
              String name = null;
              String resType = null;
              try {
                   com.sapportals.portal.security.usermanagement.IUser user = null;
                   user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
                   IResourceContext resourceContext = new ResourceContext(user);
                   String path = "/documents/Australia/News";
                   RID rid = RID.getRID(path);
                   com.sapportals.wcm.repository.IResource res =
                        ResourceFactory.getInstance().getResource(rid, resourceContext);
                   IProperty prop = null;
                   String propValue = null;
                   PropertyName propName = null;
                   if (res != null) {
                        if (res.isCollection()) {
                             ICollection collection = (ICollection) res;
                             IResourceList list = collection.getChildren();
                             int resourceCounter = 0;
                             for (int i = 0; i < list.size(); i++) {                              
    //                              for (int j = 0; j < i; j++) {
                                       IResource ir = list.get(i);
                                       createBy = ir.getCreatedBy();
                                       desc = ir.getDescription();
                                       dispName = ir.getDisplayName();
                                       lastMod = ir.getLastModifiedBy();
                                       name = ir.getName();
                                       resType = ir.getResourceType();
                                       rowArrList.add(createBy);
                                       rowArrList.add(desc);
                                       rowArrList.add(dispName);
                                       rowArrList.add(lastMod);
                                       rowArrList.add(name);
                                       rowArrList.add(resType);
                                       tableArrList.add(i,rowArrList);
                                  //}//Inside for loop
                             }//First for loop
                        }//Inside If
              } catch (ResourceException e) {
                   // TODO Auto-generated catch block
                   response.write("Error " + e.getMessage());
              } catch (UserManagementException ex) {
                   ex.printStackTrace();
                   response.write("Error " + ex.getMessage());
              return tableArrList;
          * Constructor.
         public TableViewBean() {
              ArrayList tabArr = createData();
              String[][] data = (String[][])tabArr.toArray();          
              model = new DefaultTableViewModel(data, colnames);
    Edited by: Risha on May 26, 2011 8:52 AM

  • Cannot longer browse the internet after updated 10.5 to 10.5.8

    cannot longer browse the internet after updated 10.5 to 10.5.8

    Did you repair permissions?
    Did you backup your data prior to installing?
    Are you using any non-Apple routers to connect to the modem?
    Is this with a notebook or a desktop Mac?
    Are there any other Macs with 10.5.8 or newer that can connect?
    Does connecting directly to the modem work via ethernet, or are you on dialup?

  • LabVIEW 2014 array constant change

    Why did the "graying out" of array constants change between LabVIEW 2014 and LabVIEW 2013? In 2014 the effect is much more subtle and it's far harder to tell the # of elements in an array constant. Please change this back ASAP!

    My only thought was that they tried to make the disabled elements more readable.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Disabled Elements.PNG ‏24 KB

  • Cannot move browser window when select website for 10 seconds

    After the latest update, when I have firefox up and running and I click on a favourite or type in an address, and website loads.... cannot grab the top bar and move the browser window to another monitor. 10 seconds later... it works.

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode].
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.
    [https://support.mozilla.org/en-US/kb/Options%20window Options]

  • Want to import spreadsheet data into array constant in VI

    I want to create a VI with a static array of double precision values. The values represent an ECG waveform. I have the values in an Excel spreadsheet. How do I transfer these values into the static array (array of constants) in LabVIEW? I can not find a simple cut and paste method to accomplish this. Hopefully, there is a simple way that I'm just missing.

    You could load your data and feed this to an indicator of array of double precision type.
    select and copy your indicator and paste this on to the diagram of your VI. This will create a constant.
    If you what this to all happen at runtime, thenyou will have to use a Global or local variable and use this as your constant.
    Ray.
    Regards
    Ray Farmer

  • [BUG]: Dll modifies input array constant

    Hi,
    Not really an important one, but some of you (Ben might like it... Tested
    in LV6, 6.1, 7.0 and 7.1.
    When a dll function modifies more (1d or 2d) input arrays, one constant is
    used to initialize them and less then all indicators are wired, LV
    overwrites the constant values...
    To reproduce this, I created a two dlls (one in assembler and one in
    LabVIEW, assembler one is attached). The dll fills the array with the number
    2.
    Run the VI, update the diagram (close and open again, or scroll). The values
    in the constant array now have the same values as the output array!
    This behavior is reproducible with (at least) 1d and 2d arrays, and (at
    least) U32 and DBLs.
    I'm sure other array data types (SGL, U8, I8 etc.) s
    how the same behavior,
    but pointers to scalar values do not. Perhaps strings also do this?
    Try putting a flat sequence frame around it, and put a few seconds wait
    before and after it. You can see the constant changing while the vi is
    running.
    Regards,
    Wiebe.
    [Attachment Callbug.dll, see below]
    [Attachment Callbug.vi, see below]
    Attachments:
    Callbug.dll ‏3 KB
    Callbug.vi ‏13 KB

    Ben,
    The topic from the advanced course does seem to be describing this. So this
    behavior doesn't seem to be a bug. I couldn't find anything about this in
    the "Using External Code in LabVIEW" manual.
    When pointers to values are used, the constants are not updated, so that is
    inconsistent, but it does say "may receive", so that is covered...
    Perhaps the only bug is the fact that the block diagram is not refreshed
    properly, after the values are changed... Just kidding...
    Next question is how to make use of this?
    Regards,
    Wiebe.
    "Ben" wrote in message
    news:50650000000500000078D30100-1079395200000@exch​ange.ni.com...
    > Hi Wiebe
    >
    > Your question reminds me of a phrase from proverbs
    >
    > "A wise man goes into his store house and brings forth treasures both
    > old and new".
    >
    > I was not able to find documentaion on the the call library function
    > that talks about this issue but I did find the following in the
    > "LabVIEW Advanced 1 Course Manual, August 1998 Edition, part number
    > 321366C-01 page 242".
    >
    > "If you do not wire an indicator to the output terminal of a terminal
    > pair, LabVIEW assumes that the CIN will not modify the value you pass
    > to it. If another node uses the input data, LabVIEW does not make a
    > copy of the data.
    >
    > Note: If you don't wire the output terminal, the source code should
    > not modify the value passed into the terminal. Nodes connected to the
    > input terminal wire may receive the modified data.
    > "
    >
    > This topic brought our class to a stand still when we(those who were
    > still awake) realized that data could flow backwards through a wire!
    >
    > I believe the behaviour you have observed is correct and the quote I
    > cited above.
    >
    > I will venture a guess that the requirement from the CLA exam
    > "CLD-VPP-03-04 ...Review a LabVIEW application for run-time behavoiur
    > and memory management issue, ....Destructive and non-destructive
    > buffer reads on branched wires"
    >
    > had the behaviour in mind.
    >
    > I posted a Q re:this req years ago but never got a definative answer.
    >
    > All of the above is just my opinion.
    >
    > I would love to hear from others.
    >
    > What do you think?
    >
    > Ben
    >
    > BTW: I do not think they teach that anymore.

  • Error Site Studio : Cannot instantiate browser control

    Hi,
    I got this error when starting Site Studio on a machine where IE7 is the default browser. Can I work in Site Studio without those controls ?
    Jean-Philippe

    Hi,
    I am facing the same issue with my SS(10gR4) UCM(10gR3)
    Create a SS_LAYOUT_TEST_MAIN.hcsp page, Source & Desing tab is showing the respective data but preview tab is showing message "The webpage cannot be found".
    From UCM , SS_LAYOUT_TEST_MAIN.hcsp is displaying the content.
    Have you got the solution for this, Please suggest.
    Thanks
    Ashish
    Edited by: oraucm on Apr 10, 2013 6:15 PM

  • Cannot access browser

    Hello there, I am posting this message on behalf of my sister.
    She cannot access her browser on the blackberry curve 8520, it comes up saying please contact your network provider. She is connected to wifi and I do not understand why it won't let her access it, so I thought I'd install the browser back to see if it has any effect.
    So is there anyway someone could give me a blackberry browser link and a blackberry appworld link aswell because my sisters app world has vanished.
    Thanks

    Hello rsanto360 and welcome to the BlackBerry Support Community Forums.
    If your sister's data plan doesn't include browsing, this error may appear.
    Have her go to Options>Advanced Options>Browser and ensure the default Browser is set to Mobile HotSpot. If she does subscribe to a data plan, have her contact her mobile carrier to ensure Browsing is included.
    As for the issue with BlackBerry World, she can install it from www.blackbery.com/appworld
    Let us know if this helps.
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Initialize array vs array constant

    j'ai besoin d'un tableau initialisé.
    de ces 2 options:
    - la fonction initialize array
    - une constante tableau
    quelle est la meilleure ? ... et surtout pourquoi.
    en terme de performance, de gestion mémoire (ou autres paramètres)
    Je me doute que si la fonction "initialize array" a été créée ... il y a sans aucun doute une raison
    mais quelle est-elle ? ... par rapport à l'utilisation d'une "constante tableau".
    merci à tous.
    edit:
    la fonction "initialize array" permet (en effet) de fixer dynamiquement la taille,
    serait-ce le "pourquoi" de son existence ?

    perso, j'utilise assez fréquemment la fonction "initialize array" dans les cas où je connais (à l'avance) la taille de mon tableau,
    ou plus précisément ... quand je connais la taille "maximum" de mon tableau.
    J'utilise toujours "initialize array" conjointement avec les fonctions "replace array subset" et "reshape array".
    comme ceci par exemple :
    je préfère de loin cette méthode plutôt que d'utiliser la fonction "build array" ... ou un tunnel d'indexation.
    C'est un peu plus de code, mais LV connait la taille du tableau dès la compilation ... et ça, c'est plus de vitesse.
    De plus ... (je n'ai pas vérifié) ... j'ai lu que le tunnel d'indexation était "relativement" lent. (et encore d'avantange avec le tunnel indexé conditionnel)
    Je ne fais pas d'acquisition, mais je pense que ce système n'est pas incompatible avec un code d'acquisition.
    Un acquisition se passe pendant un temps "fini", on connait (en principe) la fréquence d'échantillonnage,
    je ne vois donc pas d'interdiction de "prévoir" dès le début un tableau de taille connue.
    Mais ... je ne suis pas un spécialiste de l'acquisition.
    initialiser un talbeau 2D d'une taille de 20*5 avec la valeur 0 doit prendre moins de mémoire que d' initialiser un tableau de la même taille avec la valeur 1000
    là ... queneni ... initialiser un tableau x avec la valeur 0 ou 1000 occupe exactement le même espace mémoire.
    Les données se trouvent sur 32bits ... et notre mémoire centrale se moque de savoir si la valeur mémorisée est x ou y ... c'est toujours 32bits.
    1000 x U32, c'est 1000 x (4 octets) = 4000 octets dans tous les cas.
    Pour conclure, je dirais que la fonction "initialiser un tableau" ne sert qu'aux cas particuliers où l'on doit donner la même valeur pour un tableau
    avis pertinent.
    perso, je dirai que "initialize array" est utile quand on connait à l'avance la taille ou la taille maximum d'un tableau.
    mais ta vue des choses est intéressante.
    merci Kaleck0 pour ton intervention.
    Les discussions "de fond" sont toujours très intéressantes.

  • Cannot install Browser Helper successfully

    Hi,
    When install browser helper with "InstallBrowserHelper.bat" ,but always get a popup saying"OpenScript cannot be installed successfully while a browser instance is running.There are 3 instacnes of Internet Explorer running. ....." even though I confirm that there are no IE or FireFox or other explorers running. I try to restart my machine then double the .bat file , but got the same popup.
    Can anybody help me ?
    I also tried to execute the browserHelpersInstaller.jar and double click UninstallBrowserHelpers.bat to uninstall browser helper, but again and again got the same popup saying 3 instances of Internet Explorer running. Why are always 3 instances of Internet Explorer ?
    Looking forward for your help! Thanks very much!
    Regards,
    Angyoung
    Edited by: angyoung on Apr 2, 2013 8:50 PM

    Hi DM,
    I've reinstalled OATS after delete reg OracleATSHelper under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\, then double click UninstallBrowserHelper.bat, delete folder Oracle IE ToolBar, double click InstallBrowserHelpers.bat, howerver, I still got a popup saying " WebDom Browser Helper installation failed! Failed to register OpenScript IEToolbar DLL".
    Still I cannot run openscript cases through OTM. There are 2 situations:
    1) Without stopping the Agent in OTM server. Run recorded case through OTM, no browser is automatically opened and it stopped at the first step, saying "*Failed Object "/web:window[@index='0' or @title='New Tab']" failed to respond to action: <Message name="Navigate"><Parameter WindowIndex="0"></Parameter>*<Parameter Url=......."
    The same case can be run successfully from OpenScript.
    2) Stop the agent in OTM server , Run c:\> C:\OracleATS\agentmanager\bin\AgentManagerService.exe -c C:\OracleATS\agentmanager\bin AgentManagerService.conf in a cmd prompt ,then execute the script from OTM, however, a browser is automatically opened on the agent side only for 1 second. Also, the result is failed...
    How can I run openscript cases from OTM successfully??
    Can anybody help me?
    Regards,
    Angyoung

Maybe you are looking for

  • Call merging (conference calling) not working on iOS 8.1 & iPhone 6 (VZW)

    Hello Everyone. I've discovered a problem with call merging on my new Verizon iPhone 6 (iOS 8.1). When I add a caller and then hit the merge call button after the second caller answers, the screen says that the calls are now merged. However, the orig

  • Badi in ecc6.0

    screen in se18 and se19 in ECC6.0 is different from ECC5.0    so please guide me step by step to build badi in ecc6.0         rahul siemens

  • Confusion about report Server

    Hi all , I am complete newbie to Report Server.  I have a query regarding the report server . We have installed 11gR2 Report server , on OEL  following the standard Oracle Documentation. After completing the installation some online blogs suggest abo

  • Multiple Assets in One Track - Errors

    I am having problems with clips cutting to black after a chapter break. The audio continues to play, but the video disappears. This occurs randomly when multiple videos are added to the same track. Does anyone have any info? Thanks in advance.

  • Very slow download speed though modem line rate no...

    Hi I recently noticed (today, 31st December) that our download speed had dropped very low, to approx 0.5Mbps. The upload speed is normal, approx 1Mbps. The modem line rate is however normal (8Mbps dowm, 1Mbps up). I have checked the download speed us