A possible problem with parallel operation?

Hello everyone,
         I am working on a labview program that uses parallel execution, and I am running into a possible problem. Please bear with me, as sometimes it is difficult to explain things happening in Labview in text alone. This application reads data from a server that we have in one of our labs via an ActiveX component. This server is known as a TIU server. The server contains various data including part numbers, serial numbers etc. It sends this data out in three different signals. A sequence count, an ASCII high, and an ASCII low. The sequence counter sends data in the following manner. When the sequence count is 0 and both ASCII high and low are NULL, then a new part number sequence is about to begin. When the count sequence changes to "1", then the next two string charaters listed under ASCII high and ASCII low represent a number that is a "Function ID". There are several of these, and each function ID contains different information either a part number, a serial number, etc. Once this is read, and it is determined that you are looking at the correct Function ID, the next Count shows how many charaters are to follow, and then you read each set of two ASCII characters and concatenate them together until you build the entire ASCII sequence as one variable and the sequence is complete.
       There are several equipment cards attached to this TIU server, and each card is free wheeling it's data out. As soon as power is applied, it will continue to send out all of its function ID's sequentially (Function ID 0-9) in order, in a circular fashion at a 1 Hz. rate. A really strange system to be sure, but it is a limitation that I have to deal with. So now that I have laid a bit of the background on this, here is the problem. Occasionally, (maybe one out of 20 trys), the data seems to get slightly corrupted. For example, in the enclosed code, I ran it 40 times, reading the same part number each time. In theory, it should always be the same result. But it is not. I am wondering if there is an issue with running the "READ TIU SERVER.vi" in PreAllocated clone reentrant execution mode? Perhaps on occasion, one of the instances does not fully close, before another instance begins, and a few bits get flipped around? I suppose it is possible that occasionally the TIU server is actually putting out erroneous data (and I am actually reading everything perfectly), but it is a fairly mature system, and I have not gone down that path yet. I have included the .vi that I am using to read the server data "test.vi", and the "Read TIU Server.vi" that is set to Preallocated clone reentrant execution. In this example, the "test.vi" is only a single instance, but in the actual program, I am running 20-30 of these, as Preallocated clone reentrant execution as well. As there are 20-30 cards on each TIU server to get information from. I am hoping that this makes sense, and that I have laid it out in a logical fashion. Sort of hard to explain in text sometimes. Thanks for the help....
Attachments:
test.vi ‏123 KB
Read Tiu Server.vi ‏15 KB

Hi ,
      Thanks for taking a look. You caught me on the shift register, I had not gotten around to cleaning up a few things. However the "elapsed time" functions acutally are there on purpose. Unfortunately, it takes a VERY long time to get one of those part numbers, as only two ASCII characters are moved accross the bus at a 1 Hz. rate. I orginally had all wait statements, but I discovered that when you stop a while loop, it will continue until the wait timer has expired. With 20+ of these functions in parallel, it was taking upwards of 30 seconds for the program to finally end. From what I was reading on the forums of others that had that problem, a "elapsed time" function can be broken through, while a standard "wait" statement cannot. Now when I press the "STOP" button, the program ends almost immediately.
     This is not a standard piece of equipment that I am using, but I think the explanation is of how it works is fairly accurate. Would you have a guess as to why every so often the data gets corrupted? Other than the bus itself is actually putting wrong data out there? I suppose I should check that as well, but due to the slow rate of the bus, and the tools that we have, I will have to sit and watch it for a long time... Thanks...
Dan

Similar Messages

  • Issue with parallel operation of SAP NW SSO 2.0 and SNC Client Encryption (Logon Groups)

    Hi!
    One of our customers is using the SNC Client Encryption solution to ensure encryption using SNC (based on Kerberos Technology) for their SAP GUI Dialog connections. They have lots of SAP backends DEV, QAS, PRD all with the SNC Client Encryption SNC Lib installed. The profile parameter snc/identity/as contains the following value: p:CN=SAP/<ServiceAccount>@<DOMAIN>.
    Example: p:CN=SAP/[email protected]
    The customer is using one AD Service Account "SNCServiceUser" with one registered SPN "SAP/SNCServiceUser" for all systems (yes, this is not recommended... but the case).
    Important: All users use group entries in the SAP Logon (saplogin.ini). Means, for SAP logon the SNC name can not be manually configured on the SAP Front End. With group logons, the application server's SNC name is dynamically requested by the message server each time a SAP GUI connection is started. The SNC Name is greyed out in this case as dynamically obtained from the applications servers profile parameter snc/identity/as.
    Now our customer implements SAP NetWeaver Single Sign-On 2.0 within his landscape. Based on the Secure Login Server 2.0 (SP3) he likes to use X.509 based authentication to his AS ABAP backends using SAP GUI SNC while others still use SNC Client Encryption.
    Replacing the SNC Library on the AS ABAP
    The Secure Login Library 2.0 (SP3) has been installed on one of the ABAP systems and the SNC Client Encryption SNC Library (which is based on SSO 1.0) is no longer used, thus we changed the parameter snc/gssapi_lib to point to the new SNC library. We removed the old PSE.ZIP containing the keytab and created the new SAPSNCSKERB.PSE incl. the keytab and proper credentials. To ensure parallel operation, we kept the snc/identity/as value as is =  p:CN=SAP/[email protected].
    After restarting the system with initialized Secure Login Library 2.0, still the SNC client encryption works fine for existing users.
    The problem
    We created on the Secure Login Server an SNC certificate for the AS ABAP which has the following X.509 Distinguised Name Fomat: CN=SAP/[email protected] This is to avoid having to change the snc/identity/as to an "real" X.509 DN which would lead to non-working SNC Client Encryption for all the other users using SAP GUI and logon groups.
    As soon as we install the PSE via STRUST on the system the SNC Client Encryption solution stops working with error „Server refuses kerberos key exchange“.
    As part of an pilot implementation we have installed Secure Login Client 2.0 (SP3) on some test PCs. The test PC with SLC is able to perform Single Sign-On with SNC based on X.509 (incl. Encryption) to the ABAP system.
    Seems the SAP System now only tries to do X.509 based authentication thus key exchange fails. The problem is, we cannot change the snc/identity/as value because of the logon groups. If we were able to do so, we would in any case set the server identity to X.509 DN and in addition create the SAPSNCSKERB.PSE incl. keytab. This should work, as confirmed by SAP see this post.  
    Any ideas how to solve this and have both solutions in parallel?
    Appreciate any help.
    Regards,
    Carsten

    Hi all,
    we was able to fix the issue. It was an issue with the customers cluster configuration and the  $SECUDIR variable. This tricky issue leads to non working or sporadic working SNC Client Encryption...
    This was how the configuration looks before:
    Environment variable $SECUDIR is defined:
    "/ABCDEF<SID>/usr/sap/<SID>/DVEBMGSxx/sec“
    sapgenpse seclogin -l -v
    running seclogin with USER="<SID>adm"
    Credentials for username '<SID>adm':
    0 (LPS:OFF):
             (LPS:OFF): /ABCDEF<SID>/usr/sap/<SID>/DVEBMGSxx/sec/SAPSNCSKERB.pse
    1 (LPS:OFF):
             (LPS:OFF): /usr/sap/<SID>/DVEBMGSxx/sec/SAPSNCS.pse
    After changing the $SECUDIR to "/usr/sap/<SID>/DVEBMGSxx/sec“ and re-creating the credentials, it worked like a charm.
    As a result of this we can confirm, this configuration and SNC Client Encryption works with CommonCryptoLib in parallel to the SSO configuration.
    And Valerie was right with 2. SLC starting from V. 1.0 SP2 PL3 was able to convert the CN= part of the SNC Name into an SPN, was my mistake. In addition SNC Client Encryption starting from Version 1 SP1 PL1 does this also.. just to make this clear
    Thread closed hope this helps someone
    Carsten

  • Problems with Sequence Operator in OWB

    Hi everybody,
    i want to use a sequence in my mapping. Now i have two problems.
    The first problem is the following. When i want to import my sequence (exists on my DB) i can select the sequence in the Selection Window, but when i click on Import i didn't see it in the Design Center, also there is no window which tells me that i have successfully imported the sequence.
    The second problem is, when i drag the Sequence Operator into my Mapping i shows the Selection Window where i have to select the poject and object to bind the operator. But i can't select any object.
    Can anyone help me with my problems and tell me how i can use a Sequence and the Sequence Operator in my Mapping
    Many thanks in advance.
    Greetings

    Hi everyone!
    I'm having a repeated problem with sequences in OWB: I'm filling a TIME table with 1096 rows. Now matter how and when I create the sequence it always starts with 2 instead of 1. Moreover, the last value of the sequence is 1101, when it was supposed to be 1097 or 1098....
    I did achieve the right ouput sometimes, but I must be doing something wrong. Here are the several ways I've tried in OWB:
    1) I've created all the sequences by sql code, in SQL DEVELOPER or PLUS*, and then imported to OWB. Because of being imported, I didn't have to deploy each sequence. Then, I've connected (by drag and drop to the canvas mapping) the sequence I wanted with NEXTVAL (as I always do) attached do TIME_ID of table TIME;
    2) I've dropped and created, several times(as before), the sequences and never had problems..until now. I've also experimented creating, by scratch, the sequences just in OWB and then deploy them in Control Center. After this, deployed the mapping and executed, just like in 1).
    So, the difference lies on how I create the sequences and what are the correct steps to create, deploy (if needed), deploy the map and execute the map.
    This is insain and I really need this to work. I've tried so many ways....
    Could someone PLEASE help me with this? Any thoughts?

  • Possible Problem with quicktime causing itunes malfunction

    i think the problem with my itunes is that the quicktime file is screwed up. i tried removing it on add/remove programs, but it doesnt work for some reason. any possible ways to fix this problem? i also tried downloading quicktime separately, but that didnt work either.

    i tried removing it on add/remove programs, but it doesnt work for some reason.
    do you get an error message when you try to uninstall QuickTime, shirish? if so, what does it say? include error message numbers if you're getting any.

  • Internet problems with Parallels.

    Windows 7 shows that I have an active Internet connection, but I get the error "Your computer appears to be correctly configured, but the device or resource is not responding." My network settings for Parallels are "shared" and I've installed Parallels Tools.
    I'm running the trial version of Parallels to see if it's worth buying. The internet worked just fine the first couple of days, but suddenly it won't load any webpages or even show my shared folders. I uninstalled and reinstalled Parallels but that didn't fix it either. I have no problems with my connection on the Mac side.
    Any thoughts?

    On Mac OS X navigate to Applications>Utilities and open terminal, then type line for line in the following.
    $ su -
    Password:
    # echo > /Library/Parallels/.parallels_dhcp_leases
    # killall -HUP pvsnatd
    let us know if it worked

  • Problem with the operator less than or equal to in a weby query

    Hi all.
    The universe is a OLAP Universe
    When i created a query in webi and put the month in the filter area with the operator less than or equal to like this.
    Month (less than or equal to) 2010.01 for example. The all result brings also the all values like 2010.02, 2010.03, etc
    What is the problem and how can fix that ?
    Thanks

    Looks like you are using a less than or equal to with a Sting data type.
    I think you should change to your filter to Year <= 2010 And Month <= 1. Hope you have a month and year object in you BeX.
    Anil

  • Wee Problem with Parallels Desktop and the Westmere Mac Pros

    Just got my new Westmere 8-Core Mac Pro last Friday, and spent the last four days in agony.
    I used Migration Assistant to transfer over my accounts from my old Mac Pro, but it crashed hard -- so hard that I had to reformat the hard drive and do a clean install of the system. So I decided to do a clean install of all of my programs as well, and the Westmere crashed on the Parallels Desktop installation. And, again, it crashed so hard that I had to reformat the hard drive and do a clean install of everything all over again.
    Today, I read a review of the Westmere Mac Pros in Macworld (http://www.macworld.com/article/153704/2010/08/quad8_core_macpro_2010.html?lsrc=top2), and learned:
    We ran into a problem running Parallels on the Westmere-based Mac Pros, so we could not complete the Speedmark 6 suite of tests. When booted into 64-bit mode (as the new Mac Pros do by default) the systems would crash with Parallels installed. Booting into 32-bit mode would allow the systems to start up, but we still couldn’t use Parallels. We eventually tried a complete wipe and reinstall from the Mac Pro’s systems disc and downloaded the very latest version of Parallels to eliminate any other potential problems, and had the same issue. Apple and Parallels are aware of the problem and assure me that Parallels is working diligently on a fix. The application worked just fine on the new quad-core Mac Pro with the Nehalem processor.
    Hoped I saved somebody some time.

    Hi akapod,
    Looks like they may have the fix out.
    Mac Pro (Mid 2010): Kernel panic when installing or restarting Parallels Desktop 5 for Mac
    Please let me know if it's available and fixes it.
    Thanks,
    ivan

  • Will there be any problems with Parallels Program if I upgrade to Maverick OS?

    I have OS 10.7.5 on my intel iMac desktop and MacBook Air with Parallels 9.0.2 running Windows XP.  Will there be any problems if I upgrade to Maverick OS? Do I have to do anything special because of the Parallels side when I upgrade?

    You shouldn't have any issues, since Parallels v9 is the current version.  You might want to visit the Parallels support forums to see if users there are aware of any issues.  I know I upgraded my MBP from Mountain Lion to Mavericks and I had no issues with my Parallels v8.  A short while after the update to Mavericks, I did upgrade my Parallels to v9, but I wasn't really having any problems on v8 either.

  • Problems with parallel compression

    I'm having some problems utilizing parallel compression on some drums. Here's the setup:
    -9 tracks of audio (mixed, EQ'ed, etc. ) outputting to a Bus, which serves as the master drum fader
    -master drum fader has very light EQ and compression, and a limiter
    -audio tracks also have a (post-fader) send going to a separate bus for parallel compression
    -parallel comp bus is heavily compressed, slightly EQ'ed
    -plugins used are all Logic's: limiter, compressor, channel EQ
    The problem is that as I increase the parallel fader, the bass drum loses it's punch. It almost sounds like some kind of phase cancellation. The snare seems to lose a little presence as well. The cymbals, on the other hand, sound great. So if I leave the parallel fader very low, I'm not getting the compression I want out of the cymbals. Any ideas?
    I'm still pretty new to mixing, and definitely to parallel compression, so it seems likely a problem with my plugin settings. I got some advice from a friend of mine, and tweaked a little from there, but here are the settings of the compressor on the parallel bus:
    Threshold: -17 dB
    Ratio: 10:1
    Attack: 10 ms
    Release: 11 ms
    Knee: 0.0
    Peak Mode
    Thanks for your help.

    I guess I'm just a little stuck on the usual parameters (ratio, threshold, attack/release, etc.), though I realize the Warmer doesn't operate in quite the same way.
    Right. It is a bit confusing and there are only some controls which have usual plug-in equivalents. Look at VM as being a limiter, which in turn has an infinite ratio. The compression element of VM (as I understand it) affects the amount of compression underneath the ceiling. So the knee control affects that compression depth, rather than the compression curve, related to threshold, as seen in conventional compressors, like a sub threshold adjustment.
    the knee sets the amount of compression applied to signals leading up to the ceiling, right?
    Exactly. The ceiling, you would think, is the limiter ceiling for output a bit like Logic's adaptive limiter output. It is really a way of moving the output level to something other than 0 dbFS, and works with the saturation settings on the VM's back panel, and the way it handles the input side of VM. So I usually leave the ceiling at zero (as it's not being used for mastering) and change the drive, knee and saturation to taste. So the metering behavior you see, to me makes sense. Compare with pre and post, and adjust the drive, and it is more visually in step. I think it's more like a threshold than anything else. The knee is also affecting VM's make up gain, which you can balance with the drive knob to get the right amount of coloration.
    Drive is, as you say, just an input level.
    I always have FAT on. When used on drums, I change the rear saturation to less high and bass, more mid. I also change the freq. settings to be more active in the low mids, but this changes for each kit. I usually have brick wall and Auto (for release, not auto gain) on, with release set at X1.
    The Mix control is mysterious to me. You would think that it works so that you can change the mix between an unprocessed input to the VM output and therefore use it on a drum submix without a separate bus for parallel compression, but it sounds different to me (and much better) when I use it on a bus set to 100%, so that's what I do, with some EQ before VM.

  • Problems with Parallels and Yosemite

    after upgrading to yosemite windows 7 does not work any more with parallels 10. I get a message that there is no access to harddisk 0 and that no operating system is installed in this virtual machine. The windows 7 VM file then shrinks to  4MB. Any ideas? Thank's

    I upgraded from Mavericks. When opening Parallels and askong  for details of the VM , I get told that the WIN 7 VM has a size of 4 MB. When trying to restore the VM with Time Machine, I find a WIN7.PVM file with 700MB. When TM copies the file, it tells me that 94GB are copied.The copying process than is stopped with an error message, that some files could not be read or written. Thus, restoring the VM with Time Machine has not worked. I then tried to restore the whole system with TM. Restoring finished successful, and the size of the VM was again 700 MB. When opening the VM via Parallels, same mess again: no access to harddrive 0 due to either no connection or user rights. Parallels tells me that the VM size is 4 MB.

  • Kt4v possible problem with bios 1.8 and hd

    Any Idea anyone with this one.
    system running well till the other day when hd went very slow even after defrag, install bios 1.8 and reset the bios and adjusting it for my setup. Come to check my harddrive with maxtor powerdiag 3.04 and could not find the drive or any other drives connected. In the bios setup the drive is present. I removed all drives, cdroms, etc except the maxtor main hd and tried again with the same result. After placing in an ata100 controller card in to a spare pci slot and plugged the hd on to it, that the software sees the drive. The test finished and show the HD to be fine.
    The question is do I have a problem with the onboard contoller or with the new bios or both.
    When I first got this MB I did the same test with the original bios and the hd connected to the MB controller and the software had no problem seeing that and other drive connected.
    my pc  
    6712 mb kt4v
    athlon 2700+
    ti4200 graphics card
    2 off ddr333 512Mb memory
    floppy drive
    sony cdrw
    system software windows xp pro
    hard drive maxtor d740x-6l 60Gb ata133

    I'll stick with the V1.10, but I'd fell better if MSI showed me they actively update their systems by releasing updated BIOS files from time to time.
    I can't sell a 15000$ storage system that doesn't recognise the CPUs installed. The customer would laugh and tell me to come back with a supported system.
    Isn't this a VERY valid reason for wanting updates? Even if it only is an updated CPU list?
    The only reason I tried this MSI board is that it was the only one available with my retailer at the time I bought it with 3 PCI-X 100Mhz slots. Maybe I should go with a Tyan Thunder next time. Tyan at least show some activity.

  • No Video, Possibly Problem With Cable?

    Sorry i this is kinda long, I don't know how I can explain it shorter!
    I'm getting a strange problem.
    Here are the steps that my computer goes through when I boot it up:
    1. Gets to the 38 (from LED debug panel) and beeps. I think that this is a sign that everything is working
    2. Keeps going through the different posts until around the 75 mark I have a choice:
    --- If I just let my machine run, it goes back to 31: "Initialize onboard devices. Load Option ROM from BIOS to memory" and is stuck there.
    --- However, If I press the delete key (which is the key to get me into BIOS) then it stays at 87: "Enter setup screen. BIOS setup if needed/requested.". Then, like I'm in BIOS, if I press escape then enter, it leaves 87 (which I'm guessing is BIOS) and goes to 31, like in the first option.
    All this time, there is no video.
    Because everything looks like it's doing all right (except for the video), as it makes sense that if there's no OS on a drive to boot into and the user doesn't access BIOS, that the computer should get stuck, I thought that the problem was probably with the video card.
    I had another card on hand, also a PCIe card with the DVI port, so I tested that one as well, and it does the exact same thing as the other, so I'm guessing it's not a problem with my GPU.
    I also know that my monitor works, as I've been using it or the past few months with my other computer. However, the only thing that's been changed with video is from using a VGA cable to a DVI one. There's no way to test with VGA with my current card, so I'm thinking that it might be a problem with my one and only DVI cable.
    So, what do you all think? Am I right in my thinking? I'd rather figure out the source of the problem before buying another cable, just to test. Thanks a ton!

    Wow I feel dumb.
    For anyone with the same problem in the future, remember to press the button that changes from VGA to DVI ><

  • Problem With mac Operating system

    ok, had a problem with a piece of software and was told to try and "downgrade" my OS. so i started an installer that was an installer to a previous system. i was on 4.8 and was trying to go to 3.4 i think. I got half way thru and it said start the installer again. restarted. instead of the apple logo coming up a round cross comes up. i connected to my comp thru another comp using the firewire but my user folder is empty. anyways i can find anything in the users folder and fix this problem? cheers

    Who told you to downgrade your OS X version and was this due to the software not being compatible with your OS X version which was 10.4.8?
    What software?
    Your computer detail provided indicates you have an Intel Mac and if so, you certainly cannot downgrade to 10.3 - any 10.3.x version. All Intel Macs have shipped with Tiger (10.4.x) pre-installed and there are no OS X versions prior to 10.4.x that is compatible with an Intel Mac and even if so, you cannot install an earlier or previous OS X version on a Mac that shipped with a later version.
    Unless you meant 10.4.3 which is the version that was pre-installed on your Intel Mac and the version included with the OS X install package that shipped with your Mac when new.
    Did this person who told you to downgrade your OS also tell you to be sure to create a backup or update your existing backup before doing so?
    Did you choose Archive & Install with an option to preserve user and network settings?
    If not and you choose Erase & Install, then your hard drive was completely erased first.

  • Possible problem with StringTokenizer?

    Hi all
    I am having a problem with StringTokenizer and I would like your comments.
    This is a simple class to put the class path folders into an array:
    import java.io.*;
    import java.util.*;
    class TestThis1   {
       public static void main( String plist[] ) {
          String value = System.getProperty( "java.class.path" );
          System.out.println( "\n" );
          System.out.println( value );
          System.out.println( "\n" );
          StringTokenizer st = new StringTokenizer( value, ";" );
          String valueArray[] = new String[ st.countTokens() ];
          System.out.println( "folders in class path: " + st.countTokens() + "\n" );
          int i = 0;
          import java.io.*;
    import java.util.*;
    class TestThis1   {
       public static void main( String plist[] ) {
          String value = System.getProperty( "java.class.path" );
          System.out.println( "\n" );
          System.out.println( value );
          System.out.println( "\n" );
          StringTokenizer st = new StringTokenizer( value, ";" );
          String valueArray[] = new String[ st.countTokens() ];
          System.out.println( "folders in class path: " + st.countTokens() + "\n" );
          int i = 0;
          while( st.hasMoreTokens() ) {
             System.out.println( st.nextToken() );
             valueArray[i++] = st.nextToken();
             System.out.println( st.nextToken() );
             valueArray[i++] = st.nextToken();
    Output:
    D:\java\Viewer_JPro\ckv7\classes\;D:\j2sdk1.4.0\Coroutine for Java 2002\Coroutin
    e\Coroutine4Java.jar;D:\j2sdk1.4.0\Coroutine for Java 2002\JavaDDE\JavaDde.jar;D
    :\j2sdk1.4.0\Coroutine for Java 2002\Java2COM\Java2COM.jar;D:\j2sdk1.4.0\Corouti
    ne for Java 2002\JPrint\JPrint.jar;X:\JTOpen\lib\jt400.jar;X:\Java\wdt400tb.jar;
    D:\j2sdk1.4.0\jre\lib\rt.jar;D:\j2sdk1.4.0\lib\dt.jar;D:\j2sdk1.4.0\lib\tools.ja
    r;D:\j2sdk1.4.0\jre\lib\ext\Coroutine4Java.jar;D:\j2sdk1.4.0\jre\lib\ext\dnsns.j
    ar;D:\j2sdk1.4.0\jre\lib\ext\jai_codec.jar;D:\j2sdk1.4.0\jre\lib\ext\jai_core.ja
    r;D:\j2sdk1.4.0\jre\lib\ext\ldapsec.jar;D:\j2sdk1.4.0\jre\lib\ext\localedata.jar
    ;D:\j2sdk1.4.0\jre\lib\ext\mlibwrapper_jai.jar;D:\j2sdk1.4.0\jre\lib\ext\sunjce_
    provider.jar;D:\j2sdk1.4.0\jre\lib
    folders in class path: 19
    D:\java\Viewer_JPro\ckv7\classes\
    D:\j2sdk1.4.0\Coroutine for Java 2002\JavaDDE\JavaDde.jar
    D:\j2sdk1.4.0\Coroutine for Java 2002\JPrint\JPrint.jar
    X:\Java\wdt400tb.jar
    D:\j2sdk1.4.0\lib\dt.jar
    D:\j2sdk1.4.0\jre\lib\ext\Coroutine4Java.jar
    D:\j2sdk1.4.0\jre\lib\ext\jai_codec.jar
    D:\j2sdk1.4.0\jre\lib\ext\ldapsec.jar
    D:\j2sdk1.4.0\jre\lib\ext\mlibwrapper_jai.jar
    D:\j2sdk1.4.0\jre\lib
    Exception in thread "main" java.util.NoSuchElementException
            at java.util.StringTokenizer.nextToken(StringTokenizer.java:232)
            at com.accuchekinc.util.TestThis1.main(TestThis1.java:25)There are 19 folders in the classpath. However the nextToken() method is skipping some of them.
    Further st.hasMoreTokens() should prevent the loop from overrunning the list of tokens but doesn't.
    Does anyone have any ideas? What did I do wrong?
    Thanks all
    Bill

    while( st.hasMoreTokens() ) {
    System.out.println( st.nextToken() );
    valueArray[i++] = st.nextToken();
    }It looks like you're calling nextToken() twice each
    time through the while loop, but only checking to see
    if it exists once. This would be better:
    while(st.hasMoreTokens()) {
    String tok = st.nextToken();
    System.out.println(tok);
    valueArray[i++] = tok;
    Duhh............ Thanks! It was a long day.
    That makes senses. It is not like say String.length() which returns a set value. Ask and learn.

  • Question of possible problem with "display as" field in MS Outlook contact

    Are you aware of any problems with an apparent shift of the display as field in MS Outlook contacts after the initial syncing with their iPhone? When preparing to send an e-mail in Outlook, the auto populating of the "display as" field is now linked to incorrect contacts. Therefore, one could unknowingly send an e-mail to the wrong recipient. After seeing this error, it appears that many of my "display as" fields have shifted among contacts within my Outlook contacts. This appears to have happened right around the first time I synced my iPhone. It could be completely unrelated to the iPhone syncing but I am curious if other iPhone / MS Outlook users have experienced similar problems.

    There should be no leeway or movement. Return the phone to where you bought it and show them. It should be covered under warranty unless they determine it was dropped or accidental damage.

Maybe you are looking for

  • How to dynamically populate a manager name and level for any user who login

    Hi All, I need some help in doing this in my DB: Table 1 is the the manager hierarchy {which basically shows the structure of every employee's org). Table 2 is a list of all people manager ( all these usernames will also be in table 1). What i need t

  • RE:Possibility of posting 2 IR's for one GR

    I have one issue related to a purchase order which consists of Service entry sheet. In the PO history tab we are able to see 1 GR, 1 IR's and 1Service entries. But the MB5S report shows the total of 2 GR'S and 1 IR's. I could found the details of thi

  • Com.sap.caf.mp.base.exception.EngineException: Problem in server response:

    Hi, I have created one CAF application,which is having one external webservice and one application service.Webservice takes two input parameters(string,boolean) and it returns an arraylist. So when i test the CAF application on the CAF service browse

  • UWL and Input Parameters ?

    Hi, I've implemented the UWL for accepting/rejecting Leave Request with the corresponding workflow in backend R/3. I use the "decision" step in workflow which in UWL is nicely translated to decision buttons for every decision possibility in this step

  • Mail rejects correct Keychain password data

    Intermittent problem Number Three with Mail since Leopard 10.5.x: Mail reports that the server rejects log-in data from Keychain (or possibly ignores existing Keychain data). I've got Mail checking three mail accounts: Two on the same (POP) mail serv