Remove zero's in a certain area

hi i'am trying to remove the numbers 1 in a certain area and i have already wrote a little program, but it doesn't work like it should.
The goal of this program is to replace al the numbers 1 in a certain area
attachments: program
Attachments:
Untitled 4.vi ‏24 KB
MatrixOpteller.vi ‏18 KB

Your VI is incomprehensible with all these recursive calls and probably buggier than an ant farm. Why are row and column controls DBL instead of integers?
This can probably be done with code the size of a postage stamp. Can you explain the problem in detail with words instead of code?
How do you define a "certain area" from the two controls (Rij, Kolom)? Maybe show us a picture!
You probably could take an array subset, autoidex over two FOR loops, and replace it back into the original array. You could also do the entire thing "in place" with a little more code.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Hiding certain areas from the overview page of ESS in portal

    HI All,
    We have a requirement where we need to hide/disable certain areas from the "Overview" page of ESS in portal.
    In Overview page, we have certain links like Employee search,Life and work events,
    Purchasing and travel and expenses.
    I m not able to find these pages under overview workset also.
    We have to hide 'Purchasing' and 'life and work events' areas from the overview page as the customer dosent want to use this sap standard impl.
    Is the customiztion to be done from portal side or do we need to do it from the IMG??
    Can someone pls tell us in detail how to do it?

    It sounds like first you need to understand the Overview page and how it gets built. This all comes from the Homepage Framework configuration in the BACKEND (ECC box). Look in the IMG under "Cross Application Components" (or in the ESS section as will which actually has the same section) to find the configuration area. The Homepage Framework configuration however is also tightly coupled to the portal content (ie. objects in a portal role PCD path are tied to configuration "resources" in the Homepage Framework configuration). I won't get into all that, as there is plenty of material in these forums and documentation (help.sap.com) that describes the details of how all of this works. However, to answer your immediate question....
    Ok....so the "lazy man's approach" is fairly simple....in the IMG where you assign the Areas to the Area Group, you can simply change the display order number of the ones you want hidden to 0 (zero)....this will at least keep your standard entries in place....or you can just delete them from the assignment to the Area Group in the "change" step.
    Sooooo....that gets them off the Overview (Area Group) page. However, they will still be in the standard delivered portal role (for example, the worksets will still show up in the second line of the top level navigation). So you need to remove the worksets from there.
    Now, I call the above the "lazy man's approach" because in actuality, you should build your own custom Homepage Framework to your needs. This way it is safer, customized and you are not touching the standard, delivered entries so you can use them as reference later. Also, you should be doing the same on the portal side....ie. build you own custom role based on delta-linked copies of the standard objects (worksets, pages, and iViews). This might seem like a lot of work, but it is way more flexible....for example, if you need several different ESS "versions" to accomodate different types of users.

  • How to eliminate or remove zeros from 1D array

    How to eliminate or remove zeros from 1D array. Let say I have 1D array having foolowing elements
    "0 0 0 0 0 4 0 0 9 0 0 1 4 0 0 0 0 0 0 0 0 10 9 0 0"
    So after removing or eliminating zeros it will become as follow
    "4 9 1 4 10 9"
    So can any body guide me how can I do that? See attached Image for details.
    Thanks 
    JK

    altenbach a écrit :
    hchiam wrote:
    Here are 2 example .vi's I made based on altenbach's removeZeroes.png in this discussion thread: 
    It seems pretty pointless to post those because no new useful information is given.
    Currently, only the input is defined in the connector pane, making them useless as subVIs.
    unlike my example using integers, an "=0", like any "equal" comparison, is potentially dangerous with DBLs.
    Reshaping a 2D array to 1D before removing zeroes is pretty pointless because a 2D output cannot be recovered. A more interesting scenario would be to remove some columns or rows (e.g. that are all zeroes) from a 2D array.
    You should also clean up the front panel, e.g. properly zero the upper left corner, make the controls/indicators nicely labeled, sized and arranged, and maybe even add scrollbars to the arrays.
    Thank you for those comments.
    Now the input and output are defined (in the updated attachments) for use as example subVI's.  I also cleaned up a few visual details, but I leave the rest for others to cater to their specific uses if they don't want to use this as a subVI (or at least as-is), such as changing the icons or changing to integers instead of doubles.
    I'm not sure about what you mean exactly with "=0" being "potentially dangerous with DBLs".  I'm guessing you had a certain case scenario in mind.  Although the subVI's seem to work fine within my larger program and situation, my situation may not generalize with regards to this point.
    I reshaped from 2D to 1D, with a 1D output, because it could be helpful for things like when later processing just needs a 1D array.  For example, in my situation I had to remove a huge spike of unnecessary "0"'s from a previous subVI that were affecting the output display of a certain histogram.  So it turned out a 1D array output was helpful, and you never know what problems come up, so I included the 2nd example.
    Hopefully if someone is looking for this, they can just use or play with an example subVI (granted that they know how to plug things in for their context).  I was hoping to post a subVI people could put to direct use.

  • Drops connection completely in certain areas of town. Augusta, GA

    >> Duplicate post removed to comply with Verizon Wireless Terms of Service.  See Drops connection completely in certain areas of town. Augusta, GA <<
    Message was edited by: Verizon Moderator

    I have problems around The Augusta Exchange Shopping center and it doesn't pick back up until I get past washington road on I-20

  • Remove Zeroes in Sales Quotation PLD

    Hi Members,
    I have designed the sales quotation PLD in which i have configured for two decimal places.
    If i use suppress zeroes option in PLD, The decimal places zeroes are also not getting displayed.
    example if the amount is 256.00,if i use suppress zeroes option,its displaying only 256,which i don't need.
    I need to display 256.00
    Please kindly suggest an solution.
    Regards,
    Venkatesh.R

    Hi
    U can try with substring formula also.... Round(F_XXX,0)...
    Check this link;
    Re: Remove Zeros in PLD
    Re: Purchase Order Number Zeros
    Giri

  • Pixels appear incomplete in certain areas within text. The words are blurry like the pixels haven't fully opened...

    text appears blurred only in certain areas. When you mouse over the text or highlight the text then remove the highlighting the text becomes crystal clear or sharp and will stay that way.

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Removing zeros on the excel download

    I wanted to know how we can remove zeros from the kebtr at the excel download through ALV without converting it to a type c. for now I am converting it to type c and then validating it this way :
    if tb_main-kebet = 0.
        tb_main1-kebtr = space.
      endif.
    But because of this the formats are not ok and user insists that it should be a numberic field for him.
    Thank you very much.

    Hello Kris,
    I am able to see the data properly in XLS File.
    Use fieldcatlog no_zero = 'X'.
    Now run the transaction -> click on XL Icon ( if you do not get the data properly using navigation),now see the results here.
    you can save same xls file into local machine too.
    Thanks
    Seshu

  • Removing zeros at the begining

    hi,
    How to remove zeros at the begining of a variable value irrespective of the length of that number
    for example,
    data:var type int4.
    var = '0000012434'.
    var= '0003423365'
    var= '0436509843'.
    I want to remove all zeros at the beginning.
    the purpose is I am passing this to a function module which can not allow intial zeros.
    Please help me with code

    Hi,
    CONVERSION_EXIT_ALPHA_OUTPUT
    converts any number with zeroes right into a simple integer.
    Ex:
    '00001234'-->1234
    CONVERSION_EXIT_ALPHA_INPUT
    converts any number into a string fill with zeroes, with the number at the extreme right
    ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if input in the INPUT field is purely numeric, that is, if this input consists only of numbers, possibly with spaces before and after them. If this is the case, then the number string is inserted right- justified in the display field OUTPUT and all spaces to the left of the value are filled with zeroes ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.
    Example:
    (Input field and output field are both eight characters in length)
    '1234 ' --> '00001234'
    Regards,
    Omkaram.

  • Remove zeros from right side

    Hi all,
    I want to remove zeros from right side.
    like : if value is '0.055500000000E+04'.
    then the output should be '0.0555'.
    How can i get such output.
    Plz help me....

    Hi,
    the problem here is u are dealing with a datatype of format F (i.e floating point ) and the output u desire is in packed format .
    You cannot delete the zeros of such data typesas type F instead u can move them to the packed datatype and get the result.
    do one thing declare a variable of type p and move the value of type f which u have right now to the variable u have declared as type p.
    data : v_val type p decimals 4.
    v_val  =  "               <------ assign the type f to type p over here .
    hope this helps .
    regards,
    vijay.

  • IPhone 5 incoming calls go straight to voicemail in certain areas

    I know that this issue has been reported by many users in this and other forums, but I thought I would share my story too.
    I have a iphone 5 that is exhibiting the following issues:
    - When I am downtown Boston and certain areas in MA, incoming calls go straight to voicemail.  The phone does not ring and the only way to tell if people called me is if they leave a voicemail
    - When I make calls, my phone numbers shows as blocked at the receiving end.  So if people block anonymous calls then  I won't be able to call them
    I opened a ticket with VZW and this is what has been done so far to no avail:
    - Got a replacement phone
    - Changed the SIM card
    - Verizon Re-provisionned the phone number
    - Disabled LTE
    - Reset Network Settings
    - Power cycle the phone (many many times)
    Verizon said my issue is due to network extenders in the area.  Well, if this is true then thousands of VZW customers would have this issue as network extenders are all over the place in Boston. So far VZW does not have a solution to my problem.
    My next step is to reactivate my old iPhone 4S to see if it is a iPhone5 issue or something else.  will keep you posted.

    If they say they did, ask them to re-provision the account. Sometimes errors occur and the account is not provisioned correctly, even though features are included in your plan according to the billing system.

  • Remove zeros in LOVs of BW Infoobjects on Webi report

    Dear Experts,
    My BW infoobjects(0GL_ACCOUNT) showing preceding zeros in the BI4.1 WEBI Prompts LOVs, so user don't want the zeros and they need only values and also they compare BEx analyzer with BO since BEx analyzer LOVs shows only values without zeros.
    Is there any function or setting either in BO or BEx designer to remove zeros in the BW infoobjects? so that in BO LOVs display only values without zeros.
    Currently values is 0000123456 in BO LOVs and user want only 123456 as per BEx analyzer.
    BEx query as semantic Layer
    Platform: BI4.1 SP01
    BW: BI7.3 SP6
    Please help
    Thanks in advance.
    Regards
    Karuppiah N

    Hi
    Try to make use of custome display fomrat option in business layer.
    Find the below link for custome date format...same process for Numeric objects also
    BI4.1 Business Layer Enhancements - Create Display Format

  • TS3202 How do I remove songs from my iPad which are not on my computer library. Regular synching has not removed these two songs from my iPad. These songs are no longer in my library but still on iPad !!! Any solutions ???

    How do I remove songs from my iPad which are no longer present in my library. Normal synching works for everything else except two songs ' stuck' on my iPad ??  Any solutions. ????  Thanks.

    You can remove them manually on the device. Swipe across the track to bring up a delete button.
    tt2

  • Find certain areas of text from a text file

    Hello all java Gurus! I need your help on something I am trying to do in order to learn java. I am very newbie and please show mercy if I don't understand every answer you probably give me. Here is my problem. I have text file with certain areas I need to "isolate" (to insert the data in a jTable after I solve this first).
    Let's say we have the following data in a text file:
    FILE IS "A.txt"
    ***first***
    this is 1 line in first
    this is  2 line in first
    this is 3 line in first
    ***second***
    this is 1 line in second
    this is  2 line in second
    this is 3 line in second
    ***third***
    this is 1 line in third
    this is  2 line in third
    this is 3 line in third
    **************I now need to read the "segment" that start with " *** blablabab *** " and ends with " ************** " and store the lines of this segment to another text file "B.txt".
    So "B.txt" has let's say this "segment".
    ***second***
    this is 1 line in second
    this is  2 line in second
    this is 3 line in second
    **************How can I do this? I know how to read/write from/to a text file with FileReader and BufferReader but I have no idea how to experiment with this. Is there anyone who can give me a hint or a help to start?
    I am very new to java so be gentle :-)
    Thank you very much in advance.
    Kostas

    Well this is a very good and I think efficient way to
    do but unfortunately I don't have a clue about regex
    and how they work. This is something I should learn.
    With the expression you wrote I would have each text
    block at a time? This will be stored then to an
    Arraylist like above? If you have another idea please
    suggest. I am interested in learning new tricks :-)
    Thanks for your reply notivago!!!
    KostasRegular expressions have a somewhat steep learning curve but they are worthy the effort, they are fast and powerfull text finding tools, the whole idea is that you search the text for some pattern. I will provide you a sample code, it is half way to solve your problem, you will have to make some minor adjustements to use it you your real application(none in the RE itself I hope).
    To understand it, look at the Pattern class documentation and the Matcher class documentation in the API.
    * SectionExtractor.java
    * version 1.0
    * 25/05/2005
    package samples;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    * @author notivago
    public class SectionExtractor {
         * @param args
        public static void main(String[] args) {
            String text =
                     "***first***\r\n" +
                      "this is 1 line in first\r\n" +
                      "this is  2 line in first\r\n" +
                      "this is 3 line in first\r\n" +
                      "**************\r\n" +
                      "***second***\r\n" +
                      "this is 1 line in second\r\n" +
                      "this is  2 line in second\r\n" +
                      "this is 3 line in second\r\n" +
                      "**************\r\n" +
                      "***third***\r\n" +
                      "this is 1 line in third\r\n" +
                      "this is  2 line in third\r\n" +
                      "this is 3 line in third\r\n" +
            Pattern pattern = Pattern.compile( "\\*{3}(.+?)\\*{3}$(.*?)\\*{14}", Pattern.DOTALL | Pattern.MULTILINE);
            Matcher matcher = pattern.matcher(text);
            matcher.find();
            System.out.println( "Header: " + matcher.group(1) );
            System.out.println( "Text Body: \n" + matcher.group(2) );
    }The sample as is, runs and give you output that should be clear on how the expression works. Try running it.
    May the code be with you.

  • Warp certain areas in a photo, PLEASE help.

    I know that PSE 9 does not come with a "warp" feature (in transform or free transform).
    Example scenario: In a photo of a face, I want to flatten or extend his nose.
    Is it possible to select a certain area of photo and distort that area. Or any suggestion.
    Thank you.

    Ah..."Mesh Warp" was the phrase I was trying to think of.  Thanks for jogging my memory.
    You can select an area in the photo and have the Liquefy distortion only affect that selected area.  The distortion won't go beyond the selected area, however.
    Ken

  • Remove Data values above a certain frequency

    Hi,
    I am analysing the resonance peaks of a vibration frequency spectrum with a bandwidth up to 10KHz, however am only interested in peaks situated between 1 and 4.5kHz. Is there a quick way to automatically remove the channel contents outside the area of interest, using a filter or a simple function?
    Excuse my ignorance - Im new to the area!
    Thanks
    hel

    Hello Hel,
    just use chnfiltcalc. Based on the channel your frequency values are held in you can set a FiltLowLimit (would be 1 Khz in your case) or a FiltHighLimit (would be 4.5 Khz). As FiltType you'll have to set 'Band pass' for only handling peaks between those limitations. You'll also have to decide on FilterType, FilterStructure and so on. Hope, you're familiar with filtering in general?
    Hope this helps, just have a look at the help for further information on the other options required.
    The simplest way to configure the chnfiltcalc function would be setting the parameters first (e.g. FiltLowLimit := 1 and afterwards just invoking the chnfiltcalc command.
    Regards,
    Julia

Maybe you are looking for

  • Read AVI Example.vi error #107439597​5

    I was trying to run the  Read AVI Example.vi with those avi files shipped within Vision package. But no success. While the CompressorComparison.avi showed "Error -1074395993 occurred at IMAQ AVI Open File I/O error.", all the others stated "Error -10

  • GL Approval Action History from Workflow tables

    Hi All, I have prepared the query to retrieve the Journal Approval Action History from Workflow tables. Below is the Query. This is the Form Personalization. In the Journal Screen i have attached the Menu Action History and placed this query for form

  • Creating Dimensions Best Practices

    I am going through the different options for creating my dimensions and wanted to get some insight as to what would be considered the "best" way. I do understand that this could be based on context but thought I would see what others had to say. If y

  • Classic will not recognize system folder

    I have installed Classic from the cd that came with my computer. The system folder for os9 shows up in root next to the osx folder, but there is no 9 on the folder. When I try to run classic in system preferences, it says os9 is not installed. I've s

  • Générer des UV avec Photoshop CC

    Bonsoir, J'apprend à utiliser le module 3D de Photoshop et je bloque sur le menu Générer des UV. Je sélectionne les options que je veux parmi celles présentées dans la fenêtre, mais je ne sais pas comment je peux ouvrir l'UV une fois générée par Phot