String offset problem

Hi,
I'm using 1.4.2 at the moment.
I got the problem below and have no idea how to solve it. The program portion is:
String x = node.getText();
The node.getText() should contain value = "\n\r"
However, it always return me "\r" only.
I checked with the debugger and found that when I change the offset value of x to 0, it can return me "\n". However, the original offset value is always kept as 1. That's the reason why it always return me "\r".
Can anyone help and tell me how to get the value "\n" in this case, i.e. any String method which I can check and get the offset value 0 from the string x.
Thanks million in advance.
Regards,
Eric

Can anyone help and tell me how to get the value "\n"
in this case, i.e. any String method which I can
check and get the offset value 0 from the string x.
x.charAt(0);is probably what you mean.

Similar Messages

  • DC Offset problem with Peak 4.14 on MacMini after new hard drive upgrade

    Tiger 10.4.11
    Bias Peak 4.14 (24-bit 44.1 AIFF files)
    USBPre 1.5
    The reason for this new topic is a problem that developed with Bias Peak 4.14 on my MacMini. Suddenly, when I apply the "Remove DC Offset" DSP process to a recording, the Bias Peak meters may stop displaying correctly.
    About 50% of the time, only one meter will respond to the sound, or neither will (the meters work fine on the raw file before I apply the DSP function). The rest of the time, they work normally after DC Offset. I'm still waiting to hear from Bias about this via their forum, but no-one has responded yet. I don't know if this is just a GUI bug or an indication of a recording problem. The really spooky thing is that the problem only shows up part of the time.
    This is happening on a new installation of OS X on a new drive that I installed. See a note at the bottom of this post for a hardware issue that may or may not play a role.
    I've been recording vinyl successfully for a long time now on my MacMini (24-bit 44.1 AIFF), using a USBPre external A/D converter and Bias Peak (currently v4.14). But recently Peak froze as it was saving a file. I had to do a hard shut down which led to a corrupted system. I'd been meaning to upgrade to a larger drive anyway, so I put a 120 gig drive in.
    After first installing/updating OS X on the new drive, and installing/upgrading Bias Peak, I had no problems. But then the control panel for the USBPre froze as I was getting ready to shut down. This worried me, so I ran diagnostics with TechTool and installed eDrive. The meter problem began showing up after this change. I wiped out the partition and reinstalled from scratch again, hoping that this would get things back to normal. But I still have the meter problem after applying DC Offset. Note, I created two partitions on the drive, and put Tiger on the first partition.
    The makers of the USBPRe (Sound Devices) say there is nothing about the USBPre or drivers that should be causing this.
    So I'm stuck, and faced with the following ideas for what might be wrong:
    1. Peak has a bug that I've somehow triggered. This may or may not be affecting the recording.
    2. Something about my recording hardware/driver has changed that is "corrupting" my recordings sometimes, and this is causing Peak to have trouble metering the sound.
    3. I screwed up my computer hardware and this is screwing up the recordings part of the time. See my upgrade note* about the hardware.
    4. The new drive seems to be a little slower to display folder contents. I wonder if this apparent latency could be causing the DC Offset problem in the original recorded file.
    * Upgrade note: When I tried to put the cover of the Mini back on after upgrading my drive and testing it out, I discovered that I hadn't screwed the drive/fan/DVD setup in correctly. The screws had fallen out and disappeared (my tiny screw driver made it very hard to tighten the screws I guess. I thought I’d done it correctly).
    I turned the Mini upside down a couple of times before I discovered the screws missing.. My first attempts to put the cover on with the Mini sitting upright were not successful, so I turned it upside down to take the cover back off. The screws probably fell out then. When I tried putting the cover top down on the table and lowering the Mini into the cover I discovered that the drive/fan/DVD assembly was loose!
    The drive is now secured completely except for the screws, and it is working. The slowness I mentioned above is something I noticed before the screws fell out, but obviously the assembly was not secured 100% even before I lost the screws.
    I apologize for this convoluted post and hope it is clear enough. Please help if you can, I'm under pressure to finish my recording project.
    Vinyl_Man

    Hello, DaddyPaycheck,
    The USBPre is powered by the USB bus, and it is plugged directly into the MacMini.
    The screws remain in hiding. I'm amazed that I didn't find them on the motherboard or something like that. If they don't turn up fairly soon, I'll try to get replacements from an Apple service center. And I'll make sure I have a better small screwdriver.
    I just did a test with Audacity for OS X and Cool Edit for Windows. I opened files that give me the meter problem in Peak and removed the DC Offset. When I opened the files I had modified in Audacity and Cool Edit, Peak metered the sound correctly. Somehow Peak is sensitive to something in the file that does not bother the other apps, and when the other apps have adjusted the DC Offset, Peak is happy. Peculiar.
    I'm thinking about recording with Audacity now instead of Peak. I'm still concerned that something is wrong, though, since I don't understand the problem.
    -Vinyl_Man

  • Time offset problems with file i/o

    Hello everyone, I'm having a problem with the file i/o VI's. I require my application to save serial data at constant five minute intervals. The problem I'm currently seeing is that on each save to a file a time offset is being added which eventually becomes seconds, then minutes and so on. Since this application is meant to be run for a whole year this is a serious problem.
    Attached is the VI, an Arduino program simulating how the DAQ sends data and a file showing my time offset problem. 
    Any ideas/suggestions/fixes are appreciated.
    Thanks
    Jose Molina
    P.S.
    To run the VI upload the code to an Arduino, select it's serial port in the popup VI then click on Ok. The VI will wait for a time that is a modulo of 5 then create a folder structure inside the same location as the LLB. Inside this folder structure should be a file with the data which should be saved every five minutes if left at the default averaging time.
    Attachments:
    7-8-2012.txt ‏3 KB
    Daq_Simulator.zip ‏1 KB
    Weather_DAQ.zip ‏117 KB

    Sorry I forgot to mention that the averaging time is configurable in the pop up vi at the start. I tried 20 seconds because it's much faster for testing than 5 minutes. Timing is being done by a simple counter that increments each time data is received. So if I receive data the timer increments by 5 because data is sent every 5 seconds. Once the timer is equal to the averaging time the data is sent to the enqueue function and then the blocking dequeue function on the second loop sends the data to the file save vi which then saves the data to the file. 
    Attachments:
    counter.PNG ‏13 KB

  • Display offset problems with 1bit RenderedImage

    Hi, I am loading a 1 bit image with JAI and display two versions of it. The first is unmodified and has an IndexColorModel together with MultiPixelPackedSampleModel. The second version has a lookup table applied and therefore has a ComponentColorModel with a PixelInterleavedSampleModel. When I display the complete content of both images everything is fine and they match. BUT when I start to zoom, the first one with the MultiPixelPackedSampleModel has an offset in the x direction if the left edge of the image is not within the view.
    I use Graphics2D.drawRenderedImage(rimg, af). The AffineTransform translates the image in the negative x direction, so the area of interest is displayed correctly. And here it comes: If the x translate value is NOT a multiple of 8 I get the problem with the first image! Second image is always ok.
    It even gets more exciting this applies only for the first tile in the x direction. Subsequent tiles are displayed correctly. The tile offset values for both images are 0 by the way. Since both images are drawn the same way and are only different by their ColorModel and SampleModel, I think this is a bug. Please tell me I am wrong!!!

    And here comes another clue. The width of the image is uneven. If I use the Border operator before scaling to increase the width so that it can be divided by 8, then I have no offset problem - BUT - I have a big slowdown. Is there nobody out have having experienced the same?

  • Offset problem more than 240 characters

    hi all,
    please find the coding,when i run this program i got dump.
    how to correct this dump.
    wa_prchr = 'In Stahl India various sales scenarios are created   standard orders (Order type - OR)Sale order is created based on the customer purchase order from Chennai KanpurKolkattasample orders (Order type - FD)sample orders (Order type - FD)sample '..
    a = 0.
    b = 0.
    do 15 times.
    b = b + 72.
              wa_text =  wa_prchr+a(b).
                  wa_tline-tdline = wa_text .
              wa_tline-tdformat = '*'.
             append wa_tline to tlinetab.
    a = a + 72.
    clear b.
    clear wa_text.
    enddo.
    i got dump like this
    Invalid access to a string (offset and length too large).
    However, the sum of the offset (216) and length (72) specification
    was greater than the length of the string (240).
    This is not allowed.
    Edited by: bala chandran on Jun 26, 2008 7:27 AM

    Problem occurs because length of wa_prchr is 240.
    Whereas  you are doing loop for 15 times and reading 72 characters in each loop pass.
    so in 3rd loop pass, program tries to read 72*3 = 216 (72). As a result, program tries to read wa_prchr till (216+72 ) 288 characters.
    As a result, there is a length mismatch and you get a dump.
    Solution: Either specify length of wa_prchr to 1080 characters.
    Or modify your do loop.
    Reward if useful.

  • Outlook Client recurring appointments time zone / GMT offset problem

    I will try to describe this with text, although it's a very visual problem.  I added a post to my blog with
    it so I could include pictures.  If you think you need pictures to understand the text below, please review that entry.  Please note, the one appointment instance cited below, is an example, there are many others with this same problem,
    and it only happens with recurring appointments.
    Relevant System Information:
    Windows 7 Utlimate
    Office 2010 Professional Plus (14.0.6023.1000 64-bit)
    Exchange services hosted by Microsoft.
    Android HTC Inspire 4G also configured as exchange active sync client.
    Issue Description:
    I have a specifications meeting that is scheduled for Tuesday mornings (every 2 weeks) at 8:30 am.  In the body of the appointment, it even has this text spelled out.  "When: Occurs every 2 weeks on Tuesday effective 11/23/2010 from 8:30
    AM to 11:30 AM (UTC-05:00) Eastern Time (US & Canada)." as an indicator of the actual appointment time.  The problem is that one day, several weeks after this appointment had been sent to me, Outlook 2010 decided that it was really at 1:30 PM. 
    Since that time it's been showing incorrectly on my calendar at 1:30 PM.   So, I recognized almost immediately that this was a 5 hour difference, which happens to also be my timezone offset (except that I'm currently in daylight savings time -- so
    it's really a -4 offset right now).
    I ran the 2010 service pack 1 installer, based on the suggestion of my IT group, and found I already had the service pack installed.  I've tried the timezone tool as well and that didn't work.  Please keep reading.
    Next I went to my exchange host with outlook web access.   The appointment is closer to correct there, showing at 9:30am.  It think here it almost seems as though it's applying the DST, but not correctly, maybe doubling it?. 
    Meanwhile, back in outlook, if I go to the scheduling assistant and look at my time while making an appointment with other invitees it - much to my surprise - matches the time in OWA, not the time in outlook client.
    Finally, if I go to my Android and look at the appointment, it is correct.  8:30 AM.  
    So to summarize:
    Real Appoinment:   8:30 AM
    Outlook Client Time: 1:30 PM
    OWA / Exchange Time: 9:30 AM
    Android Calendar Time: 8:30 AM
    This applies to many others, this is just a convenient example.
    This applies only to recurring appointments.
    Any help would be very appreciated.
    Thanks,
    Jon

    Status Update, and recommended next steps:
    I opened a ticket with HTC support the day before yesterday (Ticket # 03543601). The initial response was an email reply with the typical level one suggestion to remove and re-add the Exchange ActiveSync account on my phone, and if that didn't resolve the
    issue to do a hard reset and then add the account again. Since I have multiple users experiencing this same issue, where the common denominator seems to be centralized around the move from Outlook 2007 to 2010 and the HTC Gingerbread OS, I convinced them that
    this would not be an acceptable remedy, and my case was immediately escalated without hesitation. I will say that though I don't have a resolution, I'll applaud HTC for not giving me the runaround and giving me a live person who could talk intelligently about
    the issue.
    Today, I received a phone call back on this ticket  from someone in the escalations department at HTC named Travis. After explaining the issue in detail to him and referencing
    this specific thread, he acknowledged that it did in fact sound like a coding issue coming from the device where the value in the “dispidApptTZDefStartDisplay” property was being set improperly by the device/stock email/calendar application in their implementation
    of ActiveSync. He then stated that he would relay this to the developers to look into the issue. He further elaborated that the case would either be in a status of, "this is being looked into", or "We believe this to be resolved in [x] update". He said that
    they will probably continue releasing updates for the Incredible (I did not specifically ask about the Incredible 2), and while the Incredible 2 is definitely slated to get Ice Cream Sandwich, the Incredible one is still in a classification of, "being evaluated".
    Personally, I doubt that the Inc 1 will get ICS, but it is possible. From what I have read, the general stance is that phones will be updated for 18 months after release, and the Inc 1 is 24 months old this month (bummer - I REALLY like this phone).
    According to Verizon and HTC, these are the phones that will get ICS (or Android 4.0):
    Ice Cream Sandwich Coming to Many Verizon Wireless Smartphones
    Android 4.0, Ice Cream Sandwich Updates
    While it is possible that an update will be released for the Incredible 1 to fix this issue, it will likely be months before one is available, so we'll probably have to move to Touchdown for Exchange by NitroDesk in order to resolve this issue....or move to
    a newer phone with ICS 4.0.
    Speaking of which, there is a whole laundry list of issues with Exchange ActiveSync and third-party devices. A number of them are listed in this Microsoft KB article:
    Current issues with Microsoft Exchange ActiveSync and third-party devices
    Per the article:
    Microsoft's recommendation for Android - Upgrade to Android OS 4.0
    Microsoft's recommendation for iPhone/iOS devices - Upgrade to iOS version 5
    So, for anyone on Android experiencing this issue (or others listed in the Microsoft KB above), if your phone is likely to get ICS soon, then you may want to hold on and just be vigilant about checking your calendar on OWA. If your phone isn't slated to get
    ICS or if you can't wait, my recommendation is to get Touchdown for $20. You may still have to delete and re-create appointments that are wrong, but hopefully the issue won't happen any more once you move to Touchdown. And if they do, at least you've got a
    shot at a more rapid fix with a company like NitroDesk. (no offense HTC).
    Good luck. I probably won't post again unless I get notice of a fix for this specific issue or some other significantly useful information.
    Jonathan, MCSE
    For reference, here are other forums where this same issue has been discussed:
    Weird Outlook issue
    Calendar appointments move by 5 hours (or whatever the TZOffset
    is) - ActiveSync issue?
    Outlook Client recurring appointments time
    zone / GMT offset problem (This is the thread that you are presently reading)
    Outlook 2010. Recurring meeting time off by 5 hours, what is the problem?
    Recurring Calendar Appointment shifted 6 hours later in Outlook 2010
    (maybe ActiveSync)

  • StageWebView x offset problem

    I'm using StageWebView to load SWF files or HTML pages with SWF content on my Adobe Air 3.8 app for Android and I have a problem when I set the X offset in the viewport. The SWF gets cut off on the right side.
    See this screenshot:
    The viewport covers the area enclosed in the  rectangle with a grey border but a portion of the rhino gets cut off. If I set the X offset to 0, the webview instance shows the SWF properly but the higher the X offset the wider the portion that gets cut off.
    I need to add this happens only on Android running ICS (4.0.4). On devices running Jelly Bean, such problem does not happen.
    One more thing: the black "patch" that covers the rhino part is the background color of the swf. I tested this problem with different SWFs and the strip that shows up on the right side is always of the same color as the remote SWF's background.
    I need to show SWF content centered on the stage and this offset bug is a killer.
    Does anybody know of a fix for a problem like this?
    My code:
    function loadFlashWebView():void {
        //load Flash webview for testing plugin
        webView = new StageWebView();
        webView.stage = this.stage;
        webView.loadURL(flashTestURL);
        webView.addEventListener(Event.COMPLETE, onLoadFlashViewComplete);
    function onLoadFlashViewComplete(evt:Event):void {
        //load view complete handler
        trace("Web view finished loading. Error: " + webview_error);
        webView.viewPort = new Rectangle(67, 80, stage.stageWidth, stage.stageHeight); //the swf gets cut off in ICS
    var flashTestURL:String = "http://mywebsite.com";
    var webView:StageWebView;

    Hi Laurent,
    Which DAQmx driver version are you using?
    It seems that the behavior you have was an unexpected one:
    Error -200478 occurs when using DAQmx Perform Bridge Offset Nulling Calibration with AI.Temp.TC and ...
    Neverthless, it was corrected in DAQmx 9.6 (see CAR 345144):
    DAQmx 9.6 Readme
    Regards,
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Setting input fields to an empty string BIG PROBLEM

    Hi Rob, thanks for your rerply, It makes sense alright, but I am using 2 seperate input fields. I have discovered what is causing the problem .
    After the user types into the inputfield and moves on to a different frame, I have set the input field to an empty string and this is what is causing the problem.
    I have tried setting the input field to an empty string in a movie script and on individual sprites and the first right answer is not excepted.I have to type in the right answer twice to get get a right response. I am actually using three seperate input fields in total, each with a different name and behavior. Even If I use one input field I still have the same problem. Its driving me crazey. Any Ideas.
    Anne

    I believe that the FIM Service always does trims on string, so you may be out of luck.
    What is your scenario / what are you trying to accomplish by setting a space in an attribute? A space is not an empty string in my definition.
    Regards, Soren Granfeldt
    blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt

  • String concat PROBLEM??? Please Help

    I have this strange Question regarding String concat
    If I say:
    String str = "Welcome";
    str.concat(" to Java");
    System.out.println(str);
    The output is: Welcome.
    How do I get the output to Welcome to Java??

    I have this strange Question regarding String concat
    If I say:
    String str = "Welcome";
    str.concat(" to Java");
    System.out.println(str);
    The output is: Welcome.
    How do I get the output to Welcome to Java??
    The problem is that String is immutable, The String you have held in str does not change, rather a new Srtring is returned. So all yo have to do is grab the new String
    str = str.concat("to Java");
    or use the new String without keeping it.
    ie
    System.out.println(str.concat("to Java"));

  • String concat problem

    Hi folks,-
    i know this question might be very simple but i just cannot see what i am doing wrong here.
    String stringA, stringB, stringC;
    stringA= new String();
    stringB= new String();
    stringC= new String();
    stringA = null;
    stringB = "TRUE";
    stringC = "Error:";
    stringA.concat(stringB); // my code stops and quits here w/o error
    // other codewhat is wrong here?
    thanks much

    could you then please explain the following?
    public String concat(String str)Concatenates the
    specified string to the end of this string.
    If the length of the argument string is 0, thenthis
    String object is returned. Otherwise, a new String
    object is created, representing a charactersequence
    that is the concatenation of the charactersequence
    represented by this String object and thecharacter
    sequence represented by the argument string.
    Examples:
    "cares".concat("s") returns "caress"
    "to".concat("get").concat("her") returns"together"
    Parameters:
    tr - the String that is concatenated to the end of
    this String.
    Returns:
    a string that represents the concatenation of this
    object's characters followed by the stringargument's
    characters.
    Throws:
    NullPointerException - if str is null.It returns a new String, which you are
    throwing away. Change your code like this:
    stringA = stringA.concat(stringB);
    and then you'd get somewhere.yes, it makes sense but the description does not say this.
    i think that will work but my problem is with the description of this
    concat operation on the java web site.
    thanks for the help

  • Master Template Drop Zone Causes Frame Offset Problem

    I created a template in Motion with two drop zones. When I use it in Final Cut as a master template, and drop in two video clips, the clips are offset about 4 frames from the originals. I can see this when I toggle the template's track on and off to see the underlying clips that got dropped in from my timeline. The cut points don't match up to what winds up in the template's dropzones for some reason.
    This is a problem, because I'm using the template as a transition between full screen and a PIP-type effect.
    The weird frame offset causes a visual glitch that I have to correct by adjusting the start/end points. This is extremely time consuming, as I have to apply the template to a huge number of clips.
    I'm using the latest version of Final Cut Studio.

    Just discovered that the frame offset increases the further I am into a clip.
    I took a part from the beginning.. frame offset = 2 frames.
    Took one closer to the end of a 4 minute clip.. frame offset = 14 frames.
    The video is encoded in ProRes422 at 29.97 fps, and the Motion template is 29.97 also. Any ideas?

  • String check problem

    I have a doozy of a problem on my hands. My company has introduced a password policy that every user must me now. Some of my criteria is that a password must contain at least one symbol and at least one number. In 10g I can use REGEXP_LIKE function, but I am running 9i. I have tried to use translate, OWA_PATTERN function, everthing. How can I take a string variable, and test to see if there is a symbol in the text or a number. I want to be able to return a true/false value?
    Please advise?

    Like Kamal says, use built-in functionality FIRST.
    Failing that, presumably you would write something like this (I forget the exact naming standard for the password verify function).
    CREATE FUNCTION valid_password (
       p_password IN VARCHAR2)
       RETURN BOOLEAN
    IS
       FUNCTION contains_at_least_one (
          p_string IN VARCHAR2,
          p_characters IN VARCHAR2)
          RETURN BOOLEAN
       IS
       BEGIN
          RETURN LENGTH (TRANSLATE (p_string, 'X' ||
            p_characters, 'X')) < LENGTH (p_string);
       END;
    BEGIN
       RETURN contains_at_least_one (p_password, '0123456789')
          AND contains_at_least_one (p_password, '!£$%^&*(){}~@??|<>');
    END;

  • String overlapping problem in mx:List caused by wordWrap

    I'm using mx:List to display String items. The dataProvider is XMLListCollection. Some of the String is long so it takes more than one rows. I use the wordWrap to display the long String in more than one rows. The problem is that the next String item will overlapping with the long String. The mx:List can not adjust the vertical space for the Strings that needs more than one rows dynamically. Any suggections?

    Here is solution: variableRowHeight="true"

  • String item problem

    I use mobility pack visual designer.
    When I create a string item in visual screen designer it looks like that:
    Title
    <text>
    but after i run my app it looks different
    Title <text>
    Why there's no line break?
    When I try to add the line break manually it doesn�t work because screen designer property editor adds to the code \\n when I put \n
    so generated code looks like that
    stringItem1 = new StringItem("stringItem1\\n", "<Enter Text>");  and I cannot edit it manually because generated code is blocked by net beans
    I can initialize my stringItem object one again
    stringItem2 = new StringItem("stringItem2\n", "<Enter Text>");  but I thing that�s very stupid to reinitialize an object twice
    And the line break after title doesn't solve my problem because if the title is too long the device will automatically brake the line and I�ll get this
    A long long title........
    <text>
    one empty line because of that break
    Any ideas?
    I don�t want to use textField because when you set it to uneditable its color becomes gray.

    Check the actual URL up in the location bar. Your comma may actually be dropping out there, because it isn't encoded such that in value commas can be differentiated from delimiters, so the fields aren't lining up in the URL properly.
    When you go to a page that takes in parameters for assignment in the link, it has 2 fields. The first is the comma separated list of the item names on the page to assign, which wouldn't contain commas in their names. The other field in the URL is a comma separated list of values to be assigned to the previous list. Since these values aren't encoded, the comma in the value is picked up as delimiter and not a part of the value. I have an example I can load up to apex.oracle.com if you need.
    -Richard
    Edited by: rwendel on Aug 13, 2009 11:51 AM

  • Passing string data problem

    Dear readers,
    I came across some problem in my labview VI where I try to pass a string (stored in a local variable) to other string variables connected to that local variable. In this case, I have a local string variable called 'output_string1', which contains the string '123'. I have it set to 'write'. Then I connect 3 string Indicators to this local variable, called 'string1', 'string2', and 'string3'. I would expect these connected string indicators to also contain the string '123', as they're simply connected to the 'output_string1'. But the strange thing is that only 'string2', and 'string3' contains '123', but 'string1' contains a '.' (ie a dot). Would someone be able to provide some kind advice about what I might be doing wro
    ng to get this result? I've attached the vi that I was making that demonstrates what I described. Thank you very much for your help.
    Attachments:
    remove_trailing_zeros_subvi.vi ‏78 KB

    In the last sequence you have intended to concatinate a string from three inputs; the local variable before, a "." and a local of string1. BUT instead of reading the local of string1 you have it in write mode...and the "." is wired into it! So you really wire 123 to that indicator as well in sequence 5, but it is immediately overwritten by a "." in the next sequence.
    That aside though there's two other things about the code that needs to be commented:
    a) You use locals as you would use them if G was a textual language; like variables. In G though we try to avoid locals all together, in G the wire is the variable! The wire in addition ensures the next thing the code lacks; execution control.
    b) Instead of sequences, use data flow. By working
    with the wire instead of locals you can ensure that things execute in the order you want it to, without the need for a sequence structure. And without a sequence structure the code becomes much easier to read and maintain.
    I have attached a modified version of your code that applies these two conversions to a "G" way of programming.
    Removing trailing zeroes can be done much easier though, attached is also an example of one such way.
    MTO
    Attachments:
    remove_trailing_zeros_Simplified.vi ‏45 KB
    remove_trailing_zeros_improved.vi ‏22 KB

Maybe you are looking for

  • Error when trying to format my 22GB SSD

    The SSD originally came partitioned into two volumes. One of them was about 8GB and I have no idea what it was originally used for. The other partition was about 14GB and was used by ExpressCache. After formatting the primary partition on the other d

  • Problem in ABAP Client Proxy

    Hai All, I am working on ABAP Client Proxy to RFC. Here i generated the proxies and wen i execute it i am able to see in sxmb_moni but its showing in Green color which is still in process.but i was unable to find the the receiver business system and

  • Using XML as a Data Source

    In http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10540/datasource.htm#CHDBCAIJ it states you can use XML as your data source and mentions... URLs can include repository or session variables, providing support for HTTP data sources that accept

  • Google Earth 6.2 kmz files have no details in text box

    updated to 6.2  and ios5 I have custom map kmz files that work in PC but when opening the icon in iPad.... the text box is empty. any help is appreciated Thanks  Christopher

  • In BDC we need to read screen value of table control

    Dear All, I was doing a feasibility analysis. One BDC is there where we will have to insert records in table control based on some records of 1st column of table control already populated. We are unable to find a way for reading table control. The BD