Array Control allows Negative Index on FPGA

I couldn't find anything on this topic through NIs search or Google.  I can't be the only one who's seen it though.
I have an array control on the front panel of my FPGA VI and I was trying to get back to the start using the indexing arrows.  Much to my surprise it let me blow right by the start, index 0, and into the negative indices.  Is this intended?  Why?  Bug?
When I try to initialize the value on the FP it goes back to it's default grey disabled state, so it seems like it knows I shouldn't be there.  Also at -1 all visible elements are grey instead of just the first.
(Also it seems I found a bug in whatever version of CCT I'm using, the index is cut off my main array)
Tim Elsey
LabVIEW 2010, 2012
Certified LabVIEW Architect

It's a bug, reported as CAR 130548. It's primarily cosmetic, as you can't assign values to any of the array elements at negative indices.
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman

Similar Messages

  • Arrays (negative index)

    please help me with this question i do not know what is meant by a negative index
    Write a method called initInverse() which initialises each component of a one dimensional array called list with its negative index
    (i.e, list[0] = 0; list[1] = -1

    If there is an ayyar, each member has a number to identify it.
    array[0]
    array[1]
    array[2]
    This number is its 'index'
    Now you are to write a programm that goes through each array-member and sets its value to its negative Index.

  • Allow negative stock on storage location

    Dear all,
    When we allow negative stock on a storage location. At posting time we have an error "deficit stock of batch assignment". Anybody got a clue of what has to be done to correct this ???
    Cheers,
    Olivier

    Dear Oliver,
    Please do the following checks.
    Prerequisites
    To work with negative stocks, you have to:
    · explicitly allow this in the Customizing system for each valuation area and storage location
    · set the indicator Neg. stocks in plant in the material master record of the individual materials (storage data)
    Negative stocks are allowed for special stocks if you have activated negative stocks in the valuation area and for the special stock concerned in the plant. You do not need to activate negative stocks in each material master record.
    Procedure
    You can define whether you want to allow negative stock by making the relevant settings for each storage type in Customizing.
    To do this, choose Logistics Execution -- Warehouse Management--- Interfaces -- Inventory Management -
    Allow Negative Stocks in Interim Storage Types --- Allow negative stock for each storage type in the Implementation Guide (IMG).
    When the allow negative stock indicator is set, the system lets you post negative quants to the corresponding storage type.
    Additionally, you can define whether you want the system to issue an error message (E) or a warning message (W) or no message (blank) when posting negative stock. You can make the relevant setting in the activity Control of System Messages in Warehouse Management. You can determine the notification type using the parameter MSV in the user master record.
    To do this, choose System --- User profile --- Own data.
    Then select the tab page Parameters.
    Enter MSV in the Parameters field and enter the value with which you want to group certain users in the value field (for example 01).
    Choose Logistics Execution ® Warehouse Management ® Interfaces ® Inventory Management ® Allow Negative Stocks in Interim Storage Types ® Control of System Messages in Warehouse Management in the Implementation Guide (IMG).
    Create a new entry with the version number (Value) you have chosen and enter the desired system reaction in the Message Category field (E, W, or blank).
    Regards
    Mangal

  • Use array to store negative number

    Hi,
       I use "Initialize array" to set all the 500 elements to "0". Then I input numbers to  "Replace Array Subset"  and generate a new array. But all the positive numbers are correct, negative numbers just become "0". Why? How can I store the negative number in this array?
       Thank you in advance!

    Hi,
    what data type (numeric representation) are you using for the array elements? If it is integer, make sure it's not unsigned (U8, U16, ...) as this data type doesn't allow negative numbers.
    Hope this helps

  • Given array control reference, how do I obtain array size programatically

    If an array control reference is passed to a sub-vi, how do I obtain the current length of the array within the sub-vi?  I've tried two properties:  "NumRows", which as documented, contains the visible number of rows in the array control.  "IndexVals" contain the indices of the array element in the upper left corner of the array control.  There seem to be no methods for obtaining the current array length.  I tried changing the class of the array reference to cluster then using the "Controls[]" property... but this generated a runtime error.  What am I missing?  Thanks.
    Solved!
    Go to Solution.

    Taki1999 wrote:
    There's a lot of casting going on in your subvi.
    What is the actual use case?  There might be a way to do this which doesn't require the casting and you could work just with the reference that is passed in.
    For your method you need to wire in a strict class specifier into the To More Specific Class conversion.  I'm not sure how to make the strict class specifier.
    I can help with that but first...
    Working with arrays on unknown data types is no esy task and determining the size is a special challenge and I did just that in this Nugget that talks about using control references. This task is much easier when you know at development time what is in the array. That is where the strict type casting comes into play.
    What I would do...
    1) Make sure the contents of the array is a type def (to support data strcuture changes in the future).
    2) Go to the FP of the VI that has the array in question and drop a generic control ref control.
    3) Ctrl-copy and drag the array in question INTO the the generic ref (still working on the FP). You can tell when you find the "sweet spot" in the ref control because it will switch it appearence. See this mini-nugget for an image where the same thing can be done with que refs.
    4) Make the now strict ref a type def.
    5) Use the type-def'd ref from step #4 in the sub-VI as the proptype used by the "To More Specific...."
    After those changes you should be able to work with array in the sub-VI as if it were in the top level.
    BTW:
    Doing the above on the control in the sub-VI that brings in the ref would allow skipping the "To more Specific..."
    Have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Selecting specific data from an array controlled by a boolean array

    Hi!
    I am trying to select specific data from a string array. The string data should be auto indexed to a string array indicator, but I just want specific values to be placed in the new array.
    A boolean array controls when data should be auto indexed to the new string array. Every time a true appears in the for loop, the string data should be placed in the new string array, but I have a problem. I manage to pick the specific data to place in the new array, but i also get empty strings in the array when I am not supposed to write to the array. Instead of empty strings, I want my string data to be "compact". So when bool number 3 in the array is true, I want that string data to be in row 1, and not row 3.
    Can you help me sort this one out?
    Best regards
    Is my avatar the dog from the fraggle rock?
    Attachments:
    testprogram_forum.vi ‏10 KB
    Spørsmål lwforum.jpg ‏74 KB

    Here is a different version that also changes the size of the array for the indicator when the value is changed. You could do as much as you want here.
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    testprogram_forum 2.vi ‏12 KB

  • Which index values can be sent to "Insert Into Array" without changing the present array ? E.g. index -1 ?

    Which index values can be sent to "Insert Into Array" without changing the present array ? E.g. index -1 ?
    Could not find this info via the "Context Help" window.

    If you have to handle situations where you do not want to insert something in an array, then you can either use a negative index value as you suggested, or put the insert node in a case structure, with the "do not insert" case empty (almost...just crossed by the array wire!..)
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How to allow multiple domains under Access-Control-Allow-Origin

    Hi,
    We have a domain where will get CORS request from another domain hosted on seperate DC. We can't set
    Access-Control-Allow-Origin as * due to security concerns & IIS can't take more than 1 value at a time. Kindly suggest how to pass multiple httpheader  for
    Access-Control-Allow-Origin.
    Regards,
    Dhiraj

    Hello Dhiraj,
    This is not the suitable forum for your question, you may post in
    IIS forums for more help.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Conditions type of category "Delivery Costs"(B) donu00B4t allow negative values

    Hello,
    I would like to know if it is possible to munipulate a condition type with category "B" Delivery costs in such a way that it allows a negative entry in the Purchase Order.
    Estandard SAP does not allow it. Message: 06259 "Negative Delivery costs are not allowed".
    If the above is not possible, can anyone tell me how a can manipulate a Discount (fixed amount) in such a way that it not only points at a particlar account (accruels indicator does this job) upon MIGO, but also apears as a line-item upon receiving the invoice (MIRO). As far as I know, only Planned delivery costs can do this job. But they do not allow negative values!
    If anyone has encountered a similar task, please tell me how they solved it.
    Thanks,
    Aart

    Hello Guys,
    The scenario isas follows.
    When one buys fuel, in Chile  one has to pay fuel especific Taxes.
    Version especific config does not resolve this because we need the tax in amount (value) not in percentage.
    In our system we resolved this by creating a material "Fuel especific Taxes" which points at a tax-account  with a special tax-indicator.
    So far so good.
    Now the government implemented a second fuel tax - "Fuel tax variable" which we might resolve in the same way, but the problem is this tax might be negative(!).
    We cannot create a material with a "negative value" in our Purchase Order and discount conditions have inmediate efect on the material costs in the PO.
    The ideal would be incorporate a condition type in the PO which upon invoicing (MIRO) shows up with the tax account (and a possible negative value!
    The model we have developed upto now is using the tabpage "GeneralAccount" in the MIRO but in this model we have to indicate the account ourselves. The system does not propose it.
    Thats why I thought of the "Planned Delivery costs" option.
    Hope this clarifies a bit more the case we have.
    Thanks for any feedback
    Aart

  • Allow Negative Stock in Quality Inspection

    Hi All,
    I have a general question regarding Negative Stock.
    Is it possible by any means to allow -ve stock in Quality Inspection. If yes then what are the customizing settings that are needed.
    Any valuable inputs will be really appreciated!!
    Thanks In Advance!!
    S

    hi
    firstly how can we have negative stock in Quallity
    stock updates in quality from PURCHASE or PROduction so we cant have -ve stock in quality
    negative stock will be there only up on consumtion
    now u can have negative stock in GOODS ISSUE ,as on emergency if u dont have mateial and u have to issue some material to production then u have to have -stock open
    now for this go to material master plant data 2 view and here u can ticl for allow negative stock
    regards
    kunal

  • Allow negative stocks only if i have open purchase order

    Good Morning Gurus
    How to to the customization for the scenario like
    open purchase must for allowing negative stocks in my plant.
    with out open po negative stocks should not allow.
    can we config for this ????????????
    Thanks & Regards,
    Naresh

    Hi,
    Why business go for negative posting, when purchase orders are open and if purchase orders are open, business can go for goods receipt as and when goods are delivered!
    For special purpose, business go for negative stock posting with settings  in OBY6 t.code  for selection of check box  'negative stock permitted' in processing parameters for your company code and with setting in OMJ1 t.code for selection of check box  'negative stock' for your valuation area(plant).
    Regards,
    Biju K

  • Implications that we could have if we allow Negative Stock in SAP

    Hi Gurus.
    Can I have in details the Implications that we could have if we allow Negative Stock in SAP please ?
    Thanks
    Nainar

    Hi Nainar,
    Implications in the sense, if you try to issue more stock than the existing. System pop up an error message that insufficient stock.
    If you activate the Negitive stock then the system allows you to issue the stock.
    Ex : Suppose ur company has power cut and u use generator at the time of power cuts.Now that u use diesel for generator, if suppose u have stock physically avaliable in ur plant and u didnt enter the GR(not avaliable in system). At this point u have to issue the diesel to run generator, hence system will show you negitive stock(-ve quantity) the amount u have issued. Later when u enter GR, it will tally issed quantity.
    To activate Negitive stock at plant level, follow the path
    SPRO>MM>Inventory Management and Physical Inventory>GI/Transfer Postings->Allow negative stock.
    BR,
    Krishna

  • How to set Keyfocus to a single Element in an Array-Control

    How do i set the keyfocus programmatically to a single numeric-control in an array-control.

    This is detailed handled here.
    Guenter

  • Need help sorting 2 arrays linked by their indexes

    I have 2 arrays that have been linked by the index of both arrays. The first array has to be sorted alphabetically, so I need a way to sort the 2nd array so that the indices match up again with the first array.
    Now, I cannot change my ArrayList (i.e. TreeSet, List, etc.) since there is lots of code that would have to be changed. Here is my test code. Hopefully everyone is a fan of the television show Friends so that you can see how if I sort the firstName Array alphabetically, then I have to have the 2nd array sorted to be "linked" back to the first array based on the index. I am looking for ideas, but if you have simple code, that would be great too.
    import java.util.*;
    public class Test
         public static void main(String[] args)
              System.out.println("BEGIN TEST...");
    Test test = new Test();
    test.beginTest();
    System.out.println("\nTEST COMPLETE!");
         public Test(){}
         public void beginTest()
              ArrayList firstName = new ArrayList();
              ArrayList lastName = new ArrayList();
              //Add to firstName ArrayList
              firstName.add("Ross");
              firstName.add("Chandler");
              firstName.add("Rachel");
              firstName.add("Phoebe");
              firstName.add("Joey");
              //Add to lastName ArrayList
              lastName.add("Geller");
              lastName.add("Bing");
              lastName.add("Green");
              lastName.add("Buffay");
              lastName.add("Tribbiani");
              try
                   System.out.println("TESTING...\n");
                   for(int index=0; index<firstName.size(); index++)
                        String first = firstName.get(index).toString();
                        String last = lastName.get(index).toString();
                        System.out.println("Hi, I am " + first + " " + last + ".");                    
              catch(Exception X) { System.out.println("EXCEPTION! "+X); X.printStackTrace(); }
    }

    Keeping the list in synch is conceptually easy.
    Basically anything you do to the one List, you have to do to the other in order to keep them consistent.
    How are you sorting your "firstnames" list?
    Using the Collections.sort method, or some manual coding?
    Would it be possible to change your datastructure from "parallel arrays" to "List of people objects"
    iepublic class Person {
      String firstName;
      String lastName;
      public Person(String firstName, String lastName){
        this.firstName = firstName;
        this.lastName = lastName;
      // appropriate getter/setter methods
    }Then you could build up your list like this:
    List friends = new ArrayList();
    friends.add(new Person("Ross", "Geller"));
    friends.add(new Person("Chandler", "Bing"));
      ...Now when you sort the list, the last name always goes with the first name because they are in the same object.
    You then write different Comparator objects to impose different orderings.
    Hope this helps,
    evnafets

  • Impact Analysis-"GMI: Allow Negative Inventory"

    Hi-
    Wanted to know if the subject profile option if set to "0" has impact in any other transaction other than Batch Material allocation where it'll not allow ingredient consumption which may drive on-hand negative.
    Will appreciate any response.
    -Thanks
    Ramen

    Hi
    632338
    If your Profile option set '0' that is NO, definetly it will not have impact in any other transactions related to inventory only, i mean to say, even u can not transfer the inventory from one warehouse to another even if there is No inventory this is your otherthan Batch process.
    It means when u set u r profile option GMI: Allow negative inventory to NO(0), u can not move/transfer u r inventory until and unless it exists with some inventory. This is the safest and ideal condition for any process industries.
    You have one more option other than YES(1) and i.e., YES WITH WARNING(2), means it does you transaction at the same time and it will warn you by doing so.
    Hope this is clear.
    Thnaks
    Raj

Maybe you are looking for

  • Design Patterns/Best Practices etc...

    fellow WLI gurus, I am looking for design patterns/best practices especially in EAI / WLI. Books ? Links ? With patterns/best practices I mean f.i. * When to use asynchronous/synchronous application view calls * where to do validation (if your connec

  • Flash file optimization

    i'm thinking of buying flash optimizer and would like to know if anyone here has used it- either a good experience or bad. i've heard it's only useful for compressing shapes and not sound or other sthings, but since i'll be using it for hand-drawn an

  • 4500 IOS-XE: Crash on ACL configuration

    Hi All , We have recently migrated from standalone to VSS on our C4500 switches with Sup 7-E. but the switch crashes every time we edit or modify the ACL with below error message : %SYS-3-BADBLOCK: Bad block pointer  %SYS-6-MTRACE: mallocfree: addr,

  • Help Needed from BW Experts on ODS Not displaying Technical settings flags

    I am Currently working on 2.1c .when i go to technical settings of ODS, the required Check boxes (of BEx Reporting,Activate ODS,Update datatarget) are not ticked, and yet the ODS performs all these functions. Can anybody please tell me from where can

  • CS4 IK problem.

    Hi, i'm making a character for my flash game, and I'm using a few independant IK chains for the animation. After creating them, if i try to combine them into a movie clip (i.e. select all, F8), the bones disappear. How could i solve this problem?