• RELEVANCY SCORE 2.97

    DB:2.97:How To Convert Sound To Loop Without Losing Tempo? 88




    Everytime I try to convert a sound to a loop with Apple's loops utility, the new "looped" sound runs slower or faster, I jus't can't get to keep the original tempo to the file. I was wondering if anyone could give me some guidance.

    Thank you.

    DB:2.97:How To Convert Sound To Loop Without Losing Tempo? 88

    in that case its probably an issue where the beats and bars are set wrong.

    this can make the beat seem slower or faster because it actually plays the beat in half-time or double time for example.

    try adjusting the number of bars in the loop and see if that helps.

    usually the utility is able to accurately guess this for you, but sometimes it fails.

  • RELEVANCY SCORE 2.97

    DB:2.97:Re: Updating A File Everytime Loop Runs(Jsl) fj





    I uploaded the data file(i imported into XL while running my script) that I used in the above script

    My script is:-

    Clear Globals();dt = open();k=5;collect_means = {};collect_stdevs = {};collect_group_std={};For( l = 1, l = 2, l++,show(k);For( i = 1, i = 3, i++, //3 times nt = dt Subset( Output Table( "Subset" ), Sample Size( k ), //samples of 5 ); Summarize( m = Mean( :Data ), s = Std Dev( :Data ) ); Insert Into( collect_means, m,0 ); Insert Into( collect_stdevs, s,0 ); // close("subset", nosave); ); New Table("Final", New Column( "means", set values( collect_means )),New Column( "stddevs", set values( collect_stdevs )), //New Column("Group Std",Formula(col std dev(:means))) ); //pt Summary( Group, Std Dev( :means ) ); pt=Data Table("Final") summarize(p=std dev(:means)); Insert Into(collect_group_std,p,0); //close("Final",nosave); k=k+5; ); New Table("Groups",New Column( "Summary Group", set values( collect_group_std )));

    The "Final" sheet in the above script has to be updated everytime when the outer For loop runs. But now, the "FInal Sheet' is not getting updated and using the previous "Final" sheet (using the sheet from the previous iteration.) Can some one help so that "Final" sheet is updated with new values everytime.

    DB:2.97:Re: Updating A File Everytime Loop Runs(Jsl) fj


    Btw, using lists and a lot of intermediary tables is not very efficient. Here all data are numeric and the subsets and the Final tabler seem not to be of interest other than acting as temporary holders for data. In this case I would suggest using matrices instead which are much more efficient, especially for large data sets.

    Try this and compare the performance with the above script:
    Clear Globals();
    dt = Data Table( "Sample Data" );
    collect_group_std = [];
    ks = [];
    For( k = 5, k = 10, k = k + 5,
    collect_means = [];
    ks = ks |/ k;
    For( i = 1, i = 3, i++, //3 times
    sub = Random Index( N Rows( dt ), k );
    collect_means = collect_means |/ Mean( dt:Data[sub] );
    Show( collect_means );
    );
    collect_group_std = collect_group_std |/ Std Dev( collect_means );
    );
    New Table( "Groups", New Column( "k", setvalues( ks ) ), New Column( "Summary Group", set values( collect_group_std ) ) );

  • RELEVANCY SCORE 2.87

    DB:2.87:Java Problem: Reboots Computer sm




    Hi I have windows xp professional sp2, Explorer 6, and jre 1.5.0_04. The problem is this when I play a yahoo or pogo game it runs fine until I close the application down, then it reboots the computer, same thing happens when I try to change or do anything in the java control panel, after I close window system reboots. I have tried uninstaling and updating java, uninstaling and reinstalling IE 6.. also repair, ran file checker and verification, nothing works, same problem everytime. Any help would be gratefull.

    DB:2.87:Java Problem: Reboots Computer sm

    This isn't always the case, but a lot of times java
    causing rebooting of the computer, have to due with
    video card, Directx, video drivers and java. Most of
    the time this is right when a java program starts up,
    not when you are closing a java program, so the
    following may not work. To eliminate these as the
    cause try the following:

    Try the following:

    1. Update Windows DirectX to the latest version.
    2. Update your video drivers to the latest version.
    3. Set your video driver to Application-controlled
    for Ant-Aliasing and Anisotropic filtering instead of
    overriding it.

    If these still don't fix the problem. see my
    responses in
    http://forum.java.sun.com/thread.jspa?threadID=661574
    and
    http://forum.java.sun.com/thread.jspa?forumID=32threa
    dID=657128

    If this fixed your problem, please post a response so
    that others searching for a similar problem can see
    this fixed it for you.When i got home from work today, I tried your 3 ideas, i have all updated drivers and direct x and still have the same problem. all java works except for when i close out game or program computer restarts. thanks for the ideas, any others

  • RELEVANCY SCORE 2.78

    DB:2.78:Updating Flash From A Dynamically Changing Xml File sd


    Creating a non-interactive status display: I want to have the
    flash display reflect data in a server-based XML-file. So far this
    is easy. But I want the display to change everytime the XML file
    changes-- in order to reflect status changes. I've used an
    XMLConnector and specified it and the trigger in the first frame.
    The Flash code catches and shows the XML values initially . But
    when I edit the XML file, the new values are never picked up by
    Flash- its almost as though the values are cached. How do I get
    Flash to regularly be updated from a changing XML file? I've also
    tried putting the trigger in a loop- but that doesn't work
    either.

    DB:2.78:Updating Flash From A Dynamically Changing Xml File sd

    Perhaps if you are using AS to work the XMLConnector you can
    try adding a random variable to the URL

    myXMLConnector.URL = "
    http://domain/thefile.php?" +
    getTimer();

    Again I do not use XMLConnector, but this is what is
    frequently done as one way to overcome caching issues.

  • RELEVANCY SCORE 2.75

    DB:2.75:Queue kx


    Hi!I my attached file i have 2 parallell loops that runs at different speed.The first will "produce" data and the will "consume" the data produced in loop 1.loop 1: enque elements 1 by 1loop 2: dequeue 1 elements Problem, how do i progam this using a queue? LV v.7.0Thanks fred









    Attachments:







    synk.vi ‏94 KB

    DB:2.75:Queue kx

    Hi FredThere's an example that is very similar to your vi.Just open the menu-entry "Find example...". Search for the keyword queues and have a look at the "Queue Basics.vi".Thomas



    Using LV8.0--------------------------------------------------------------------Don't be afraid to rate a good answer... --------------------------------------------------------------------

  • RELEVANCY SCORE 2.70

    DB:2.70:Flush() Fuss 19


    hi,
    Suppose i want to write millions of rec in a file. i generate string and do write. eg/-

    for(int i=0;imillion;i++){
    String s = genRecord(i);
    try
    {
    f.flush(); // now is it correct to do flush everytime, will it increase exec time
    f.write();
    }catch(Exception e){}

    }My Ques as i wrote in comment is if i do flush everytime , will it reduce effeciency. Is calling flush after for loop more efficient?

    DB:2.70:Flush() Fuss 19

    Better try using nio. which are really fast and you dont need to flush at all. Save the data in ByteBuffer in character format and use the nio channel to write it to file.Which is more efficient in the cases of bulk writes

  • RELEVANCY SCORE 2.69

    DB:2.69:Error In Updating The The Deploy Job Target Using Blcli. d7



    Hi, I am trying to update the deploy job target using blcli but is getting below error in the nsh script job log:

    Error Mar 22, 2011 5:01:16 PM Command execution failed. com.bladelogic.mfw.util.BlException: A new version of this object has been saved by another user. Your changes cannot be saved.

    I am reading a file which contains information about servers on which the deploy job has to be executed, my nsh script reads the server name one by one in loop and executes the deploy job. For first entry everything runs fine but nsh script fails when it tries to add the target in second loop and so on.

    Here's the script I am using:

    echo Info 2.0 "Resolving ENV_NAME, HOST_NAME and PATCH information from the file......please wait!!!!!!" ENV_NAME=`echo $VAL | awk -F"," '{print $1}'` echo $ENV_NAME

    HOST_NAME=`echo $VAL | awk -F"," '{print $2}'` echo $HOST_NAME

    PATCH=`echo $VAL | awk -F "," '{print $3}'` echo $PATCH

    #Get the deploy job jobKeyblcli_execute DeployJob getDBKeyByGroupAndName "${DEPLOY_JOB_LOCATION}" "${DEPLOY_JOB_NAME}"blcli_storeenv DEPLOY_JOB_KEYecho

    echo Info 3.0 "Clearing old parameter values from deploy job "${DEPLOY_JOB_NAME}"blcli_execute DeployJob removeOverriddenParameterValue "${DEPLOY_JOB_LOCATION}" "${DEPLOY_JOB_NAME}" "${PARAMETER1_ENV_NAME}"echoblcli_execute DeployJob removeOverriddenParameterValue "${DEPLOY_JOB_LOCATION}" "${DEPLOY_JOB_NAME}" "${PARAMETER2_PATCH}"echo

    echo Info 4.0 "Clearing previous target from deploy job "${DEPLOY_JOB_NAME}"blcli_execute Job clearTargetServers "${DEPLOY_JOB_KEY}"echo

    echo Info 5.0 "Updating the parameter values from configuration file"blcli_execute DeployJob setOverriddenParameterValue "${DEPLOY_JOB_LOCATION}" "${DEPLOY_JOB_NAME}" "${PARAMETER1_ENV_NAME}" "$ENV_NAME"echoblcli_execute DeployJob setOverriddenParameterValue "${DEPLOY_JOB_LOCATION}" "${DEPLOY_JOB_NAME}" "${PARAMETER2_PATCH}" "$PATCH"echo

    echo Info 6.0 "Updating the target server from file"blcli_execute Job addTargetServer "${DEPLOY_JOB_KEY}" "$HOST_NAME"echo

    echo Info 7.0 "Executing the job"blcli_execute DeployJob executeJobAndWait "${DEPLOY_JOB_KEY}"echo

    Any ideas why it is failing?

    DB:2.69:Error In Updating The The Deploy Job Target Using Blcli. d7


    Thanks Bill, it works after making necessary changes. It indeed was incrementing the dbkey of the job after each action.

  • RELEVANCY SCORE 2.67

    DB:2.67:Please Help Why My Vi Runs So Slow? sc


    My VI runs too slow (several seconds!) on P4 3.2 GHz and 1G ram. The SubVI out the loop is just read a text file and takes less than 0.1s. All other SubVIs are similiar to the attached second SubVI (SD_of_Incrementad....). Thank you very much in advance.Daya









    Attachments:







    copy_PowerSpectrum.vi ‏53 KB

    DB:2.67:Please Help Why My Vi Runs So Slow? sc

    Daya,

    What are the settings on your subVI? Are the subVIs set to be reentrant oris your viwaiting until one version sof hte subvi si finished running before itcan use it again?Without you having attached all the parts I can't run it myself to see how it is functioning. Check this Knowledge Base for more information on reentrant subVIs.



    Regards,Hillary ENational Instruments

  • RELEVANCY SCORE 2.65

    DB:2.65:Mail Crashes Everytime I Quit sk


    Mail has been crashing everytime I quit since updating to 10.8.2. I thought I might need to delete the prefs file, but I don't know where to find it. Any thoughts?Thanks,Bruce

    DB:2.65:Mail Crashes Everytime I Quit sk

    Mail has been crashing everytime I quit since updating to 10.8.2. I thought I might need to delete the prefs file, but I don't know where to find it. Any thoughts?Thanks,Bruce

  • RELEVANCY SCORE 2.63

    DB:2.63:Saving Array Data From A Waveform Chart a7


    I am using a CRIO 9004 and a 9237 bridge module to measure some strains from strain gauges. I've got one timed loop that reads the DMA FIFO and puts the arrays of values (16 data points, 4 per channel) into a queue. In the consumer timed loop a For loop scales the binary data, auto indexes it into arrays, then the arrays are merged into a 2D array for the four channels displayed on a waveform chart . Everytime the consumer loop runs it indexes 4 data points (per channel) yet the waveform chart plots them in a consecutive manner and doesn't overwrite the previous four. If I convert the arrays to waveform arrays I don't see anything on the waveform chart.If I pass the 2D array of data to a array indicator inside or outside the consumer loop I get only 16 data points. I want to save the information that appears on the waveform chart after the consumer loop but because I'm not using waveform data type I can't use the write waveforms to file vi. The waveform chart history buffer has been set to 195360.Idealy we will run the four channels for 120 seconds charting the data and saving the data. The minimum data rate is 1613kS/s (403 per channel) The data can be saved after the loops have finished gathering and processing or while they are running. I noticed when I tried to write to TDMS it slowed the consumer down. Same thing if I use a shift register with the volume of data.I suspect I'm not sending data to the chart in the correct manner ( usualy takes two attempts to "clear chart" using shortcut menu). I'm not too familiar with timed loops /producer consumer loops and just tried to put something together based on examples. I've attached my host vi and front panel screenshot.

    DB:2.63:Saving Array Data From A Waveform Chart a7

    Hope they appear attached this time.









    Attachments:







    Basic DMA (Host).vi ‏444 KB

  • RELEVANCY SCORE 2.63

    DB:2.63:Spool File Creating az


    hi i am running a unix loop and in that creating a sql statement. now i want to spool the result to a file . but the problem is the spool file should have time as the name. loop runs after every 2 mins.

    while [ true ];
    do
    sudo su - BATPBL!
    sqlplus hr/hr!
    spool /ankur/ank_XXXX #XXXX should be the time
    select * from guard_usr order by guard_usr_id;
    spool off
    !
    sleep 9
    done

    Please help

    DB:2.63:Spool File Creating az

    Thanks toni n hoez...

    Cheers

    Khurana

  • RELEVANCY SCORE 2.61

    DB:2.61:Windows 8 Goes To Fix Disk Everytime It Is Started Even After Completeing 100 3a


    Every time I start Windows 8 on my Intel i7 system the computer runs fixing disk. It goes to about 33% then jumps to 100% and restarts. It returns to the fix disk and shows 100% then proceeds and starts normally. Is something wrong or is it just
    caught in some loop? If it is caught in a loop, how do I get out of it? Thanks for help in advance.

    DB:2.61:Windows 8 Goes To Fix Disk Everytime It Is Started Even After Completeing 100 3a

    Hi Jo,

    I would suggest you to login to any other computer and create a Windows 8 installation disk. Using that disk you can perform the following troubleshooting methods. You can create the installation disk form the steps given here.

    How to create installation media for a PC refresh or reset:
    http://windows.microsoft.com/en-us/windows-8/create-reset-refresh-media

    Method 1:

    Step 1: Boot to Safe mode using the Windows 8 installation Media.

    Follow the steps given here.

    Please follow the steps given below. Insert the Windows 8 installation DVD in the DVD ROM and restart your computer.

    a) After you boot your computer using Windows DVD or System Repair Disc, a black screen appears with gray text "Press any key to boot from CD or DVD". Press any key.
    b) Select the correct time and Keyboard type.
    c) Click Repair your computer in the lower left corner.
    d) Select Troubleshoot from Choose anoption screen.
    e) Click Advanced options in Troubleshoot screen.
    f) Choose “Windows Startup Settings” and click “Restart” button to restart your computer.
    g) Select Enable safe mode.

    If you are able to go to safe mode then follow step 2 .

    Step 2: Please follow the steps given below to place the computer in Clean Boot

    Perform a clean boot to check if any third party application is causing the issue, as clean boot helps in eliminating software conflicts. Follow these steps given in the link below to start the computer in clean boot.
    http://support.microsoft.com/kb/929135

    Note: Please go through the section: How to reset the computer to start as usual after troubleshooting with clean boot of the Kb article to boot the computer in normal startup after fixing
    the issue

    Method 2: Booting to Recovery Environment with Windows 8 installation media.

    This is an alternate way to boot the PC and run recovery tools when something goes wrong with the operating system.

    Please follow the steps given below. Insert the Windows 8 installation DVD in the DVD ROM and restart your computer.

    a) After you boot your computer using Windows DVD or System Repair Disc, a black screen appears with gray text "Press any key to boot from CD or DVD". Press any key.
    b) Select the correct time and Keyboard type.
    c) Click Repair your computer in the lower left corner.
    d) Select Troubleshoot from Choose anoption screen.
    e) Click Advanced options in Troubleshoot screen.
    f) Click Automatic Repair from AdvancedOptions
    screen.
    g) Next, choose the operating system by clicking on its button.
    h) Windows 8 will then look for problems on hard drive(s) and verify that all required files are intact.

    Method 3: Perform System Restore from Advanced Options screen.

    System Restore allows you to restore your computer to a previous state quickly and easily without losing any of your files or personal settings. Sometimes when you install programs or drivers, they may affect some of the system settings and prevent other programs
    from working correctly. You can use System Restore to revert these settings back to their previous state
    Follow the steps:

    a) After you boot your computer using Windows DVD or System Repair Disc, a black screen appears with gray text "Press any key to boot from CD or DVD". Press any key.
    b) Select the correct time and Keyboard type.
    c) Click Repair your computer in the lower left corner.
    d) Select Troubleshoot from Choose anoption
    screen.
    e) Click Advanced options in Troubleshoot screen.
    f) Select System Restore.

    After you perform System Restore your documents and files will always remain to their previous state.

    Write to us with the status of the issue. We will assist you further.

  • RELEVANCY SCORE 2.61

    DB:2.61:Index Files Keep Getting Overwritten... kx



    We just upgraded to Networker 7.5.1 and for some reason everytime a backup runs the index file is getting overwritten. How do we fix this?

    Thanks Much!

    DB:2.61:Index Files Keep Getting Overwritten... kx


    It does not get overwritten - it get's merged.

    You may see something else, that it get's zeroed each time after backup indicating that it gets written to another index file. (or hostname vs fqdn issue)

  • RELEVANCY SCORE 2.60

    DB:2.60:Preloader cz


    I've got a preloader that runs fine in preview code, but
    doesn't seem to call up the file once it's up on the web. Here's
    the code ~

    var l:Loader = new Loader ();
    l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,loop);
    l.contentLoaderInfo.addEventListener(Event.COMPLETE,done);
    l.load(new URLRequest("index.swf"));

    function loop(e:ProgressEvent):void
    {
    var perc:Number = e.bytesLoaded/e.bytesTotal;
    percent.text = Math.ceil(perc*100).toString();
    }

    function done(e:Event):void
    {
    removeChildAt(0);
    percent = null;
    addChild(l);
    }

    stop()

    Thanx for any suggestions.

    DB:2.60:Preloader cz

    yes, i just answered that question in another thread.

  • RELEVANCY SCORE 2.59

    DB:2.59:Program Failed With Exit Code 1 z7


    We're running a small bat file that robocopies a single file to our workstations from the network. The batch file runs and the file gets copied everytime however execmgr.log shows that it 'failed with exit code 1'. I'm inclined to ignore it but I'm really
    curious why it's throwing this error.
    The program runs a copy.bat file that runs this on the workstation
    robocopy \\myserver\share\filedirectory c:\directory filename.txt /IS
    It runs Hidden and whether a user is logged in or not.Orange County District Attorney

    DB:2.59:Program Failed With Exit Code 1 z7

    As usual, you've offered up a spot on resource to help with my issue. Where do you find all these gems? I completely forgot about using a Task Sequence (again). I think Task Sequence and immediately think OSD only. That blog post also shed light on the error
    16 I was getting early on in my testing. I couldn't find the answer to what that was until now.

    Thanks again. Time to redo my robocopy script.Orange County District Attorney

  • RELEVANCY SCORE 2.58

    DB:2.58:Flash File Runs Fine, Published Files Loop? d7



    Hiall,

    I'm running iMAC with 10.7.2

    I created a flash file that funs fine with in flash, but only when I publish the file, does it show an error and runs in a loop.

    Error message: Line 1 5005 Unknown error optimizing byte code.

    Can anyone please tell me how to find the source?

    Many thanks,

    HD

    DB:2.58:Flash File Runs Fine, Published Files Loop? d7


    http://www.negush.net/blog/5005-unknown-error-optimizing-byte-code/

  • RELEVANCY SCORE 2.55

    DB:2.55:Dw Crashes When Updating Library File f9


    I usually use SSI (server side includes) but I wanted a
    temporary solution while I worked on tying in a cgi application, so
    I thought I would try using the dreamweaver library. It looked
    pretty basic and I had no problem setting up the files, but
    everytime I change the content in the library and try to save DW it
    crashes after asking to update the files.

    I am on a Mac OSX.3.9 dual processor 533 MHz with 640 MB
    SDRAM, permissions regualrly repaired and up to date on all
    updates. No problems, runs like a charm.
    DW MX 2004 all updates are installed.

    I tried deleting DW preferences and repairing permissions
    again but it did not solve the problem.

    Has anyone encountered this problem? Is there a solution or
    workaround?

    DB:2.55:Dw Crashes When Updating Library File f9

    I tried everything short of reinstalling my OS or DW

    The only workaround was to update the library of each page
    individually:

    Modify : Library : Update Current Page
    This didn't cause a crash but also didn't update correctly.
    Unfortunately when I uploaded the site, the links were all
    wrong and library items resulted in 404's

    I ended up taking the library items out -I'll go back to SSI
    with Apache chmod parsing commands -so I don't have to change pages
    from .html to .shtml. I wasted a lot of time, so I lost money on
    this glitch... Needed to draw a line, so I don't lose money on
    project.

    good luck

  • RELEVANCY SCORE 2.54

    DB:2.54:Reading Multiple Arrays Loop j7


    I have a program that reads in a 2d array of data of a text file everytime you clicka button. I need to loop this so it keeps adding to the previous array of data until the program has finished. I know you need a for loop and shift registers but i am still confused on the implementation of it.

    For example: text contains:
    AB
    AB
    AB
    AB

    on the VERY next click i want it to read and store
    ABAB
    ABAB
    ABAB
    ABAB

    so what comes after the array

    DB:2.54:Reading Multiple Arrays Loop j7

    Yes the conversion from string to integer is on purpose. So far its working with the exception that its cascading one underneath each other as opposed to side by side

  • RELEVANCY SCORE 2.54

    DB:2.54:Windows Defendervirus Scan Problem c1


    Everytime Windows Defender(also Avast Virus Scan)scans my pc on its scheduled task,
    my PC freezes...everytime the scan runs. I also noticed that it freezes on a particular file scanned
    imapi2fs.dll, i've tried system restore, didn't work either. what seems to be the problem with this?

    DB:2.54:Windows Defendervirus Scan Problem c1

    Ran System File Checker scan to fix the corrupted files and now it seems to be working.
    Thank you.

  • RELEVANCY SCORE 2.54

    DB:2.54:How Do I Get My Iphone 3gs Out Of The Boot Loop After Updating To 6.1.2? x9


    I've tried to restore my phone with a pre-downloaded ispw file. However, as I try to use the restore file, my iPhone simply restarts its self, cancelling the update completely. What do I do? Please help!!!!

    DB:2.54:How Do I Get My Iphone 3gs Out Of The Boot Loop After Updating To 6.1.2? x9

    http://support.apple.com/kb/TS3694#error3194Unable to contact the iOS software update server gs.apple.com Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors: Install the latest version of iTunes.Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) Rebuild network information".Try to restore from another known-good computer and network.If the errors persist on another computer, the device may need service.

  • RELEVANCY SCORE 2.54

    DB:2.54:Looping Ivssversions Collection Not Releasing Resources If Exiting Prematurely? kz


    Hello all,
     
    I implemented a foreach loop to iterate through an IVSSVersion collection and grab the greatest version number it finds.  However, I stepped through the iteration and noticed that the first version that it goes through is actually the latest version which is exactly what I need.  (IVSSItem.VersionNumber doesn't work for me in certain situations as I explain at the bottom of this post.)  So I decided to put in a break statement to exit the foreach loop so that it only runs once (see code snippet below), and this is where I run into trouble.  Once the Pin command runs in the command line, I get the following error:
     
    File \\[servername]\SourceSafe Databases\Web\Current\data\e\ergaaaaa is already open
     
    Of course, I am only getting this error when my code is running (pinning through VSS works fine, and running the Pin command manually also works fine).  After looking into it for a little, I noticed that as soon as the vssChildItem.get_Versions(0) is run is when the lock on the file is created.  Normally, this lock would be released once the foreach goes through the whole collection.  But, since I am exiting the enumerator prematurely, it seems like the resources aren't being released.  (As to why this is happening is another discussion; I guess it has to do with it being a COM interop.)
     
    How can I exit the foreach loop prematurely without creating the lock on the file I am updating? 
     

    Code Snippet

    DB:2.54:Looping Ivssversions Collection Not Releasing Resources If Exiting Prematurely? kz

    That explains it.  So maybe if I unpin the file first it will then work.  I wonder what will be faster:  unpinning a file or looping through the version history.  My theory:  maybe looping through versions is a lot faster for files with little version history, but maybe unpinning is faster for large history files. 
     
    Thanks for the prompt reply!

  • RELEVANCY SCORE 2.53

    DB:2.53:Error Batch Input Using Office 2007 Cvs xf



    Hi guys.

    I have a batch input that it is working fine with a file data .cvs using Office 2003. There was not problem until the PC was update and got Office 2007. It suppost that the CVS didnt change to CVSX, but everytime that i run the BI doesnt get data. If I use another PC with Office 2003, with the same file, the BI runs well.

    The program use this sentence to upload the file.

    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    FILENAME = PC_ARCH
    FILETYPE = 'ASC'
    TABLES
    DATA_TAB = TH_REC
    EXCEPTIONS
    CONVERSION_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_READ_ERROR = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    GUI_REFUSE_FILETRANSFER = 8
    OTHERS = 9.

    LOOP AT TH_REC.
    SPLIT TH_REC-LINEA AT ';' INTO
    TH_ARCHIVO-zcliente_rec
    TH_ARCHIVO-zcliente
    ....

    DB:2.53:Error Batch Input Using Office 2007 Cvs xf


    Hi Miguel,

    this sounds as if it were a Unicode problem. Never use WS_UPLOAD, but CL_GUI_FRONTEND_SERVICES-GUI_UPLOAD.

    Best wishes

    Alexander

  • RELEVANCY SCORE 2.53

    DB:2.53:Simple Event Help 83


    Hello,I am trying to understand some really simple event matters.I have a windows application, where i want to change a label everytime an event is risen. To be more concrete:I start a thread process in the Form_Load section. Let's say that the process runs a simple for loop counting numbers from 1 till 1000 and raises an event, when the number is dividible by 7.When the event is risen the number should be written out in a label in windows application.To be more specific. I want to port the example on the link bellow, to be working in a windows application, where the loop that raises an event runs in a seperated class.Link: http://www.codeproject.com/csharp/csevents01.asp

    DB:2.53:Simple Event Help 83

    just to add, you may wish to check to see if the event has been instantiated:
     
    if (OnSomethingHappened != null)
    {
       OnSomethingHappened();
    }
     
    sorry, im just a validation type person, making sure that everything is handled correctly. Just a bit of feedback, once again enjoyed TaylorMichael's explanation - he REALLY should write a .NET Framework book. In all seriousness.

  • RELEVANCY SCORE 2.52

    DB:2.52:Save Image And Send To Zip File s3



    Hello

    I am trying to think of a way to save an image from a plot and then save that as a JPEG or BMP file and send it to a zip file.

    I want to loop it so everytime my program runs and it is finished, it will save automatically and add it to the zip file.

    Any help is appreciated.

    xxxMidna19

    DB:2.52:Save Image And Send To Zip File s3


    If you create a reference to the plot and wire an invoke node to it you can select Export Image. This will let you save the file as a BMP. You can use the built in Zip functionality (on the File I/O Menu) to add the image to a zip file.

    To print the whole front panel you can create a VI Server Reference and wire another invoke node to it. Select Print Panel to Printer.

  • RELEVANCY SCORE 2.52

    DB:2.52:Keypressed And Run() Question sp


    I have an infinite loop running in the run() method for an applet. Is there anyway I can call to the keyPressed() method everytime the loop in the run() method runs, as that loop is currently running faster than what the keyPressed() method.

    DB:2.52:Keypressed And Run() Question sp

    Unless you have a really bizarre requirement, I think you would be better off using a KeyListener.

  • RELEVANCY SCORE 2.52

    DB:2.52:Remove Images From Jpanel cx


    Hi,
    I have a JPanel called imagePanel and a JTree and every time a node is selected in the tree, a set of images are gonna be displayed on the imagePanel
    with the loop below. But the next time a node is selected the images that were added via the loop the first time, has to be removed. What code can I use to
    empty the imagePanel everytime, before the for-loop runs?

    //Some code here to empty the imagePanel so it begins from scratch

    for(int index=0; index imageNames.size(); index++)
    {

    ImageIcon newImage = createImageIcon("images/" +
    (String)imageNames.elementAt(index));

    imagePanel.add(new JLabel(newImage));
    pictureLabel.setText(null);
    }

    DB:2.52:Remove Images From Jpanel cx

    Hi ,
    try this
    jlabel.setIcon( null ) ;

  • RELEVANCY SCORE 2.52

    DB:2.52:How Do I Stop A Automator Script To Execute... Randomly d3


    I have successfully created a script to resize images.Now, everytime I clik on a file or on a folder Automator runs that script and I get promped to select the file to resize.How do I stop or control this? Thanks for the help

  • RELEVANCY SCORE 2.51

    DB:2.51:Increase Macro Speed 7j


    Our system creates reports for Excel but the print settings are incorrect. A previous employee created this macro to clean up all the print settings of the files - it even runs at night. But we often do not have time to wait until night to run the macro.
    But during the day the macro is very slow to run - a copy of it is below. Is there a way of making it much faster?The managers need their reports.
    Any help appreciated.
    Thanks!
    Sub MacroPLPrint_amended()
    '
    ' MacroPLPrint Macro

    ' Run macro at a specified time
    Application.OnTime TimeValue("1:00:00 AM"), "MacroPLPrint_amended"

    ' Turn off the screen updating so that the macro runs in the background
    Application.ScreenUpdating = False

    ' Loop through all workbooks in the folder
    Dim wb As Workbook
    Dim TheFile As String
    Dim MyPath As String
    MyPath = "T:\VISION6\MONTH END\Excel Outputs"
    ChDir MyPath
    TheFile = Dir("*.xls")
    Do While TheFile ""
    Set wb = Workbooks.Open(MyPath "\" TheFile)


    ' Change the PageSetup of the worksheet
    Dim W As Worksheet
    For Each W In ActiveWorkbook.Worksheets

    With W.PageSetup
    .PrintTitleRows = "$6:$10"
    .CenterFooter = "Page P of N"
    .LeftMargin = Application.InchesToPoints(0.748031496062992)
    .RightMargin = Application.InchesToPoints(0.748031496062992)
    .TopMargin = Application.InchesToPoints(0.590551181102362)
    .BottomMargin = Application.InchesToPoints(0.590551181102362)
    .HeaderMargin = Application.InchesToPoints(0)
    .FooterMargin = Application.InchesToPoints(0)
    .PrintHeadings = False
    .PrintGridlines = False
    .PrintComments = xlPrintNoComments
    .PrintQuality = 600
    .CenterHorizontally = False
    .CenterVertically = False
    .Orientation = xlPortrait
    .Draft = False
    .PaperSize = xlPaperA4
    .FirstPageNumber = xlAutomatic
    .Order = xlDownThenOver
    .BlackAndWhite = True
    .Zoom = False
    .FitToPagesWide = 1
    .FitToPagesTall = False
    .PrintErrors = xlPrintErrorsDisplayed
    End With
    Next

    ' Save and close file and loop back and open subsequent file
    wb.Save
    wb.Close
    TheFile = Dir
    Loop
    End Sub

    DB:2.51:Increase Macro Speed 7j

    Thanks for your help.
    Eliminating individual settings which are not different to the default has sped up the macro enormously.
    Ando

  • RELEVANCY SCORE 2.50

    DB:2.50:Update_Prebinding Runs Everytime I Log In. Help Me Stop It! jf


    Hello everyone. So everytime I log in to Mac OS X 10.4.8 update_prebinding runs and gobbles up valuable disk I/O slowing my system down.

    It doesn't matter what user is logging in and it doesn't matter if it's right after a reboot or not, update_prebinding runs everytime and it's starting to annoy me.

    I've deleted the loginwindow.plist file but that hasn't helped.

    If anyone has any ideas please share. Thank you!

    DB:2.50:Update_Prebinding Runs Everytime I Log In. Help Me Stop It! jf

    Current versions of the Unsanity APE and Haxies will automatically run update_prebinding at startup to help eliminate problems with PPC software running in Rosetta. If you read some of the documentation at the Unsanity site you will learn more about the particular problem the APEs cause that results in any Rosetta-based application refusing to launch. The forced run of update_prebinding is a temporary fix for the problem, but it is not a 100 percent fix. Removing the APE and all haxies, however, will stop the prebinding as well as all other incompatibilities introduced by the haxies and the APE.

  • RELEVANCY SCORE 2.50

    DB:2.50:Running A Subvi Without Interfering? fp


    I have a main VI that runs in a continuos while loop, outside of that while loop I bring up a subVI to display data that is gathered in the main VI. The problem occurs in the sense that I want the subVI to come up at the beginning (no problem) and to stay up everytime a user clicks a button on the main VI (problem), instead it dissappears into the background and te user always has to click on the menu below to bring it into view, any way to avoid this? Setting Priorities?

    DB:2.50:Running A Subvi Without Interfering? fp

    Hi Helperif you download the LV Window Utilities VIs from the NI site, you can usethe function "Make window always on top.vi". I think this is what you arelooking for.this is the link to the Window Utilities:http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent74DDE683A1AFF6988625683A000C0D73cat=034E59A8530E09DF862568900018707Aif the link doesn't work, search for:Windows API Function Utilities (32-bit) for LabVIEWGood luckDenis

  • RELEVANCY SCORE 2.50

    DB:2.50:How To Synchronise A For Loop In Time Domain xp


    Hi everyone,I'm running a for loop which executes some complex code, and due to some reason everytime the loop runs it takes different time...like sometimes it executes in 0.91s sometimes in 0.93s sometimes in 0.89 s. I want to synchronise the loop so that it can execute after every fixed interval of time say after every 1s(1000ms). Is there any pallete in Labview which can make this..any delay which starts everytime loop starts and waits till prespecified period of time.Looking for help,Regards

    DB:2.50:How To Synchronise A For Loop In Time Domain xp

    Let's discus this in the other thread:
    http://forums.ni.com/ni/board/message?board.id=170message.id=251936




    LabVIEW Champion . Do more with less code and in less time .

  • RELEVANCY SCORE 2.50

    DB:2.50:Ints Not Updating As Expected? 8c



    You're code is in ' Start()'


    Start runs I believe when the game is visible. There is also Awake, for before this.


    Then there is Update, which is kind of like a while(true) loop, but the 'true' being... game is running, or script is there.


    You want to put your code in 'Update'


    EDIT: Here's the docs (with the correct functionality detailed) , look under the subheading 'Messages' http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.html

    DB:2.50:Ints Not Updating As Expected? 8c


    You're code is in ' Start()'


    Start runs I believe when the game is visible. There is also Awake, for before this.


    Then there is Update, which is kind of like a while(true) loop, but the 'true' being... game is running, or script is there.


    You want to put your code in 'Update'


    EDIT: Here's the docs (with the correct functionality detailed) , look under the subheading 'Messages' http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.html

  • RELEVANCY SCORE 2.50

    DB:2.50:Md5 7p



    I may need to check the exe file everytime it runs up, in case it has been changed.

    May I know how should I start to do it. Thanks.

    DB:2.50:Md5 7p


    Thanks for your example.

    Finally, all the vi may be compiled into exe for customer usage.

    If I cannot compile the checking part and real exe into one, then the checking part can be easily bypassed and they just run the real exe directly. That is what I am worried about.

  • RELEVANCY SCORE 2.50

    DB:2.50:Write Character To File fj


    I'm using a For Loop to process a big string. In the loop, I have aWrite Character to File icon to save data into spread sheet format. Theloop runs 40 cycles, so it take many seconds to finish. I know the maintime is used on the saving files, I tried to put the Write Character toFile icon out of the For Loop, then there will be a type mismatch. Anyone can give me some suggestion about what I should do?Thanks in advance,Guangde Wang

    DB:2.50:Write Character To File fj

    There are both open and close functions in the File I/O pallette. Open is under the advanced functions I think. And you can certainly concatenate strings inside of a for loop. Wire the concatenated string to a shift register as you go through the loop. The reason you get a type mismatch out of the for loop is that the for loop creates an array out by default. If you use the output of the shift register, you won't have the problem.

  • RELEVANCY SCORE 2.50

    DB:2.50:How To Keep Updating File Name In A Loop aa



    Hello,

    I am trying to use the input value (voltage,current) as the file name in a while loop. the voltage and current are increment in the while loop.

    I want to save one file in each iteration and the file name is C:\voltage_current.csv .

    Does anyone how to keep updating the file name in a loop?

    Thanks,

    Tian







    Solved!
    Go to Solution.

  • RELEVANCY SCORE 2.49

    DB:2.49:Writing To A Text File sd


    How do I write to a text file everytime I want to send a string to it that changes all the time in a for loop?

    DB:2.49:Writing To A Text File sd

    Sorry what type is "log" PrintWriter log;and what is "IS08859-1"Google.

  • RELEVANCY SCORE 2.49

    DB:2.49:Run Command - Output Actionisn't Working a8



    Hi,

    i'm trying to configure an output action of run command the problem is that the only action that works with it is echo to debug file (and this also not working everytime).

    to be more specific i've created a batch file whice sends sms to my phone and writes an echo of date and time to a log file everytime i'm running the batch manually it works perfectly but everytime the envision runs it nothing happens.

    has anyone ran into this?

    DB:2.49:Run Command - Output Actionisn't Working a8


    I can run it with engg. team if you can share the files.

    vikas.seth@rsa.com

  • RELEVANCY SCORE 2.49

    DB:2.49:Event Structure Loop Follows A Process Loop In Series. Can This Lock The Process Loop Updates To The Front Panel ? 1f



    Hi,

    I have a "legacy" VI that I decided toupdate withan event structure loop after the processing is completed, sort of a post processing "state machine".

    The VI runs a process measurement in a loop and then ends. ThisVI/loop sectionupdates the front panel during processing, direct wiring to the graph and array indicator.

    Then another loop, in series, begins, and it contains an event structure.

    I have noticed that intermittently the graph and array indicator will not begin or maintain an update, at all. It either always updates or never updates, it doesn't stop or start updating during processing.

    Is it possible that somehow the event structure is not allowing UI updates even though it has not been "called" ?

    ***

    FWIW department:

    1)The Event Structure doesn't use any "lock front panel" states.

    2) If you click a button associated with an event case, during the first loop run, the VI has to wait for the processing loop to finish before responding. This doesn't cause any failure of UI updates.

    ***

    I'm thinking of putting the event structure in parallel, but that involves more overhead to coordinate, etc...




    -------Mark Ramsdale-------

    DB:2.49:Event Structure Loop Follows A Process Loop In Series. Can This Lock The Process Loop Updates To The Front Panel ? 1f


    Some follow up, I placed the event structure in a concurrent loop, rather than in series.This seems to have resolved my front panel not updating problem.

    So, result istwo concurrentloops, one legacy loop running process, and another event structure loop to process user commands that are done "post process". The alternative, building an event structure "into" a legacy loop, seemed to be more tactical that I wanted to go with the code.

    Since all the user process GUI interactions via the event structure are all 'post process', I disabledmost of the buttons on the GUI until the legacy loop completes, this resolves any accidental button pushes that would clog up the event queue.

    All the installed systems are no longer experiencing the front panel 'not updating anything'.

    The weird twist is that the legacy loopalso launches a subVI that shows it's front panel. This front panel was also not showing up. So the main VI front panel and the SubVI would not display, was very frustrating to "not see", but at least code was running and the tests and measurements were being performed.

    Thanks for looking, not sure if this is totally related to the event structure, but changing the order of the data flow from series to concurrent worked for me.




    -------Mark Ramsdale-------

  • RELEVANCY SCORE 2.48

    DB:2.48:Passing Data During While Loop Execution sm


    I have a while loop that writes data to a file. The file itself is opened outside the while loop (I have a header write to the file only once but have continuous data logging). But, the information will not exit the while loop until the loop stops. Since the while loop runs until the stop button is pressed, I would like to know how I can send the data to be written to the file while the while loop continues to execute.

    DB:2.48:Passing Data During While Loop Execution sm

    There are several ways that you can do this. One way would be to open the file and write the header before entering the while loop and passing the reference to the open file into the while loop to write a new line at every iteration. I think that this is the behaviour that you are looking for. There is no need to collect the data at the edge of the while loop and build a huge data array if you do not need the data for further processing outside the while loop.If this approach is not practical you may consider using a queue to pass the data from one location in the program to another. You can find good examples of using a queue in the LabVIEW examples.

  • RELEVANCY SCORE 2.48

    DB:2.48:List Box Not Updating/Table Loop fx



    The "Amount" field in the Cash adjustments table isn't updating when I select a particular invoice in Qlikview. All the other fields I have do update however. Also, when I run my import/load script, I get this message:

    I assume this has to do with my table relations, but I'm not sure which fields to alter. I've attached my QV file. Data is fictitious.

    Added excel files

    Updated QV file

    DB:2.48:List Box Not Updating/Table Loop fx


    I meraged the tables but some fields still don't update. For example, when I click an invoice # I don't get a date.

  • RELEVANCY SCORE 2.48

    DB:2.48:How To Create A Ssis Package For Data Import. x8


    Hi,
    I want to create a package to import some tables from database X from Server XYZ to database X of server ABC.
    (As my X database on server XYZ is gets updating everyday so i need to update it on X of server ABC using the package.)
    So i have created a package using the import export data transformationn services.
    It runs fine while creating. i.e importing data for the first time. But when i have saved that SSIS package on SQL or File system and scheduled it to run daily, but if fails everytime. I am not getting the error its giving. Because everytime when i go to view history of that package it just gives me messages like step1 started by user xyz and failed.
    Can you please help me to sort out this problem.
    If possible give me steps which will help me to create package to run above scenario.
    you can mail me the solution on abhijeets@nedbank.co.za
     
    Thanks in advance.
    Abhijeet.

    DB:2.48:How To Create A Ssis Package For Data Import. x8

    Hi,
    First of all thanks for the reply and the correct solution.
    Previously i got this error  when i run this job from command prompt using DTSExec utility and then to solve this i have added a step before final impot to drop the destination table but it still it get failed that time.
    today after getting your solution i tried the option given by you that to tick the option of drop and recreate table.
    But still it's not working, as i am running it under the Sql Server Agent account.
    So i have created a credentials under the securtiy and the added proxy account in the sql server agent.
    And then change the the option Run as in the step of the package to the created proxy account.
    And again i have executed the job and its running now.
    But if i am importing 200 tables then i have tick that option of drop and recreate tbale for every table.?
    Is there any other efficient option which i can use in my package.
     
    Thanks in advance.
    Abhijeet.
     

  • RELEVANCY SCORE 2.48

    DB:2.48:Running Macro In Do-Loop 17



    I am trying to run a macro named 'collateral' within a do-loop, such that everytime the do-loop is ran, it a) increments the variable 'increment' and b) the macro 'collateral' and the steps captured in it are also ran. Below is the code that I have so far. The variable 'increment' feeds into the macro 'collateral'; the macro 'collateral' runs fine on its own, but things go awry once I put it into the do-loop below.

    Any suggestions?

    -Maroulator

    %let increment=0;

    data test;

    do until (increment=50);

    increment=increment+1;

    %collateral;

    end;

    run;

    DB:2.48:Running Macro In Do-Loop 17


    Hi Tom,

    When you get a chance, could you please take a look at the latest comment in the discussion? I accidentally replied to myself.

    Christos

  • RELEVANCY SCORE 2.48

    DB:2.48:Why The Records Are Not Updating....? kz


    Hello All,

    Why the following procedure is not updating the field estid....?
    the procedure runs without any error....but no updating takes place

    declare
    cursor c1 is select partnumber,tenq_no from mm_bom;
    estid number;
    begin
    estid := 1;
    for bom_rec in c1 loop
    update mm_bom set estid = estid where partnumber=bom_rec.partnumber and tenq_no=bom_rec.tenq_no;
    estid := estid + 1;
    end loop;
    end;
    /

  • RELEVANCY SCORE 2.48

    DB:2.48:Everytime I Start Up, I Receive This Message Error Loading Cusersappdatalocaltemplkwdsz.Dl xa


    Everytime I start up, i receive this message ever since i did a antivirus scan and deleted a infected file. This is the message i get:

    Error loading C:\users\appdata\local\temp\lkwdsz.dl
    Is there anyway to re-install that file or get it back? I'm noticing my comp runs ridiculously slower when surfing the web ever since this file was deleted.

    I run on Windows Vista 64bit.
    *original title - .DLL file missing!! Help please*

    DB:2.48:Everytime I Start Up, I Receive This Message Error Loading Cusersappdatalocaltemplkwdsz.Dl xa

    Hi,
    I would suggest that you try the Methods mentioned below and check if the issue persists.

    Method 1:
    You may also perform a full system scan using Microsoft Safety scanner and check if that detects and removes any virus/malware from the computer.

    Microsoft Safety Scanner
    http://www.microsoft.com/security/scanner/en-us/default.aspx

    Note:
    Any data files that are infected may only be cleaned by deleting the file entirely, which means there is a potential for data loss.

    Method 2:

    Perform Clean Boot.

    Putting your system in clean boot state helps in identifying if any third party applications or startup items are causing the issue. If yes, you may have to contact the program manufacturer for any updates or uninstall and re-install the program.

    Refer the following Microsoft KB article for more information on how to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.microsoft.com/kb/929135

    Note:
    After troubleshooting, make sure to put the computer to start as usual as mentioned in Step 7 in the above KB article.

  • RELEVANCY SCORE 2.48

    DB:2.48:Act_Upg Phase In Ehp4 Sps05 Upgrade xk



    Hi,

    I am in phase ACT_UPG fo EHP4 SPS05 upgrade in ECC 6.0 on Oracle and UNIX.

    Its the fourth day in this phase and i can see that upgrade runs and updates the file SAPAB70014.HD1 in tmp folder.

    I have checked in shadow instance and the jobs are completing successfully.

    Everytime all the files from tmp folder disappear and the upgrade stops with tp return code 8 which I can see from the logs but there is no message from EHPi console.

    When I again start the upgrade from EHPi with option 1 i.e continue ACT_UPG from where it stopped it runs again, so I am assuming it is going into loop.

    I have recently upgraded my SandBox systems and did not recieve any issue in this phase. Please can you explain if this normal or should I continue with the process of running it again till the time it finishes.Also there is no error message from EHPi console.

    Thanks regards,

    Rozal

    DB:2.48:Act_Upg Phase In Ehp4 Sps05 Upgrade xk


    This is not strange, sometimes during upgrade, upgrade tool tries to activate some obsolete objetcs which is no more required in new release. So, by choosing this option we can overcome this problem. But you should use this option after checking all logs.

    Thanks

    Sunny

  • RELEVANCY SCORE 2.48

    DB:2.48:Xmlhttprequest In Long-Running Loop Locks Window Updates ? zc


    I have a routine that downloads a large file in chunks using XMLHttpRequest and setRequestHeader( 'Range', ... ).  In the same loop, I am updating HTML in the window to show the download progress.  Unfortunately, the application window never seems to get invalidated to refresh and show the updated HTML content.
    Is this a known issue ?

    DB:2.48:Xmlhttprequest In Long-Running Loop Locks Window Updates ? zc

    I have a routine that downloads a large file in chunks using XMLHttpRequest and setRequestHeader( 'Range', ... ).  In the same loop, I am updating HTML in the window to show the download progress.  Unfortunately, the application window never seems to get invalidated to refresh and show the updated HTML content.
    Is this a known issue ?

  • RELEVANCY SCORE 2.47

    DB:2.47:Different Loop Speeds 7c



    Hi Guys,

    i have a program that runs in a single 1 second loop, the program reads variables from a set point file and controls a system whilst recording data to a log file.

    The variables in the setpoint file are read at intervals expressed in the file, e.g the file consists of a list of times and values the values will be read at the time spesified, so you can ramp up control signals etc....

    oneitem being controled is a simple on/off solenoid valve, currently i can spesify an on and off time down to the second, but i need to be able to control this valve down to 10 or 100ms.

    How can i do this if my main loop is 1 second, i need to find a way of updating this value every 10ms within a 1 second loop.

    Thanks, Zac

    DB:2.47:Different Loop Speeds 7c


    Thanks guys,

    i will give the soloutions a try.

    Zac

  • RELEVANCY SCORE 2.47

    DB:2.47:Re: Procedure Result At Runtime ? m8


    Hi karthick ,

    dbms_output.put_lie will giv me o/p after whole procedure executed.
    and same for utl file option..
    i want to see result at runtime ..means what the o/p is coming for each row in cursor loop.

    ex-

    procedure emp_proc is
    cursor c1 is
    select * from emp; ....(suppose 10000 rows we r getting)
    begin
    dbms_output.put_line('employee has salary '||ename||sal); (this line will print ans 10000 times for each loop )
    end;

    i will get 10000 lines of result after this procedure wil complete ..
    now i want to check at rumtime ,what is the o/p coming everytime for each loop.

    DB:2.47:Re: Procedure Result At Runtime ? m8

    I like the DBMS_APPLICATION_INFO method also mentioned by Alex.

    It's soooo easy to add to a procedure, adds very little overhead, and requires no additional database objects.

    It's not quite the same as logging of course.

  • RELEVANCY SCORE 2.47

    DB:2.47:Ht1296 Playlist On My Iphone5 Is Not Updating?, Thanks ka


    I have iphone5, how come my playlist is not updating everytime I synced ?

    DB:2.47:Ht1296 Playlist On My Iphone5 Is Not Updating?, Thanks ka

    I have iphone5, how come my playlist is not updating everytime I synced ?

  • RELEVANCY SCORE 2.47

    DB:2.47:My Flash Tween File Won't Stop. fk



    I have imported a Flash file made from a Tween. It runs one time in Flash, but continues to loop, etc when added into my Muse website. Can I control it in Muse? Or can someone tell me how to add a stop to a tween file in Flash???

    DB:2.47:My Flash Tween File Won't Stop. fk


    I have imported a Flash file made from a Tween. It runs one time in Flash, but continues to loop, etc when added into my Muse website. Can I control it in Muse? Or can someone tell me how to add a stop to a tween file in Flash???

  • RELEVANCY SCORE 2.47

    DB:2.47:Updating Numerics From A Loop kz



    I have a simple application that runs in a loop some number of times. Inside the loop data needs to be updated to numeric indicators. I can't get the indicators to change. The code that is calling the SetCtrlVal functions is inside a while loop. I'm calling ProccessDrawEvents having a vague memory that it is related.







    Solved!
    Go to Solution.

    DB:2.47:Updating Numerics From A Loop kz


    ProcessSystemEvents() does the trick for me, too, whereas ProcessDrawEvents() does not. I did discover that ProcessSystemEvents apparently has a pretty high execution cost, as it was slowing the loop down when I used it after each update to the slider. So I now call it on every 50th update. It still keeps the slider from stalling, but allowsthe loop to run much faster.

    Thank you for the assistance!

  • RELEVANCY SCORE 2.47

    DB:2.47:Saving Information On A Server 19


    How do you save information so that everytime you go back to
    that website or refresh the page the information is updated?
    Something as simple as recording site visits so that everytime the
    swf runs it adds 1 to the total number of visits? Would this have
    to be done in external actionscript or could it be saved in a
    simple text file? Thanks.

    DB:2.47:Saving Information On A Server 19

    no, i think most people find php easier than perl.

  • RELEVANCY SCORE 2.46

    DB:2.46:Interrupt Repeat Loops With Buttons 9d


    Hi,

    How do I make buttons available to the user while I run a repeat loop?

    I'm doing a shell script in the background and I'm using a repeat loop to read out the log of the results. Meanwhile, I want to have a Cancel button available to the user.

    The button however doesn't respond while the repeat loop runs, while the rest of my UI is in fact updating (based on the incoming log). I'm even using a one second delay at the beginning of the loop.

    I'm using AppleScript Studio in Xcode/Interface Builder.

    Thanks,

    JW

    DB:2.46:Interrupt Repeat Loops With Buttons 9d

    Thanks, that would work great if the button was actually responsive to mouse clicks while the repeat loop ran. See my reaction above.

  • RELEVANCY SCORE 2.46

    DB:2.46:Starting A Script Evry Time A File Is Opened? m8


    Hi,I would like to write a script that runs everytime a new file is opened what is the easiest way to do this?cheersMike

    DB:2.46:Starting A Script Evry Time A File Is Opened? m8

    Add a post-file open callback.callbacks.addScript #filePostOpen fileName:"C:\\scripts\\whatever.ms"If you also want it to fire when the user does File/New or Reset, also register it for #systemPostNew and #systemPostReset



    Adam PletcherTechnical Art Director, Volition, Inc. / THQblog: Tech Art Tiki

  • RELEVANCY SCORE 2.46

    DB:2.46:Updating Test File Inside Jar From Where Application Runs. s7


    How to update text file inside jar file from where the application runs. My program able to read the text file but updating is not happening. Please anybody help.

    DB:2.46:Updating Test File Inside Jar From Where Application Runs. s7

    How to update text file inside jar file from where the application runs. My program able to read the text file but updating is not happening. Please anybody help.

  • RELEVANCY SCORE 2.46

    DB:2.46:Error Message When Trying To Delete Pdf In 10.1 kf



    With 10.0.03 everything in Acrobat worked fine. In 10.1 I get an error when trying to delete pdf files I've recently worked on. The message says:

    "Are you sure you want to move this file to the Recycle Bin? Then "file name".pdf, Type: Adobe Acrobat Document, Size: 153 KB, Date modified: 6/18/2011 3:28 PM.

    Other times the message is:

    "The action can not be completed because the file is open in Acrobat.exe. Choose file again. Then "file name".pdf, Type: Adobe Acrobat Document, Size: 153 KB, Date modified: 6/18/2011 3:28 PM. Try Again"

    This happens everytime I try to either delete the file using a menu to delete or drag the file to the Recycle Bin by hand.

    Only way to get out of the loop is to log out then log in. This only started happening after updating to 10.1.

    Anyone else see this problem and know how to fix it?

    DB:2.46:Error Message When Trying To Delete Pdf In 10.1 kf


    Just a suggestion but I have found on WIn 7 that showing a pdf in the

    Preview view can make win think the file is open and locked for editing. The

    little icon on the taskbar makes it easier to turn the preview on and off. I

    always check my open explorer windows now when I get messages like that and

    it usually clears it up. Hope it works foryou.

    Jean Notte

    jnotte@gmail.com

  • RELEVANCY SCORE 2.46

    DB:2.46:Utl_File.Put_Line 17


    Why UTL_FILE.PUT_LINE is not writing immediatly to file. When we do tail -f of the file, we are not able to see content in the file. PL/SQL block is updating at the end of the loop iteration only.

    DB:2.46:Utl_File.Put_Line 17

    Hi,
    user12303705 wrote:
    Why UTL_FILE.PUT_LINE is not writing immediatly to file. When we do tail -f of the file, we are not able to see content in the file. PL/SQL block is updating at the end of the loop iteration only.Output is buffered for efficiency.
    You probably don't wash every cup or dish you use immediately after you finish using it; you probably wait until you have a few, then wash them all at one time. It's more efficient that way. (I know: before I was married I was exteremely efficient.)
    Utl_file normally won't write data until it can't hold any more in memory. When you close the file, it writes the rest of the data. If you want to write to disk before closing the file, call utl_file.fflush.

  • RELEVANCY SCORE 2.45

    DB:2.45:Bizarre Error Message When Updating Ipod sp


    Everytime I hook up my Ipod to Itunes to update, about half-way through its update I get this error message:

    "An error occurred while updating the default player for audio file types. You do not have enough access privileges for this operation."

    I click ok and everything transfers over just fine. Any ideas? I just reinstalled Itunes (well, it did a repair) and I still get the error....

    DB:2.45:Bizarre Error Message When Updating Ipod sp

    Make sure that the folder permissions for the folder where your photos are stored are correct. See the link in my above post.

    CG

  • RELEVANCY SCORE 2.45

    DB:2.45:File Backup Problem cx


    Everytime I turn on my computer, the file backup runs on it's own. Also, every time the file backup runs, it fails half way through. It slows my computer down until it finally gives up the backup, whcih is getting frustrating to wait for. How do I make
    it not run automatically?

    DB:2.45:File Backup Problem cx

    My Recovery Disc (D) is full except for a few KB. There seems to be no way to edit it. I have plenty of space on C - can I give some of it to D? I even bought a Pocket Media Drive, hoping to move the Recovery to it, but can't do that either. I am challenged
    to say the least! Can you help me?

  • RELEVANCY SCORE 2.45

    DB:2.45:Microsoft Office Pro 2007 Configuration Runs Everytime I Start Outlook c8


    Every time I start Outlook 2007 it runs the Microsoft Office Pro 2007 Configuration programe which takes a couple of minutes, then brings up the login for my PST file.

    I think it started when I loaded Frontpage 2003, which I had on my old computer.

    Anybode have any clues? Thanks

    DB:2.45:Microsoft Office Pro 2007 Configuration Runs Everytime I Start Outlook c8

    Hi,
    Note: Ensure you have the original Installation source (CD) and the product key for both FrontPage 2003 and Office 2007 before uninstalling and reinstalling it.
    Remove FrontPage 2003 using the Programs and Features then remove Office 2007 using the Fix It file available in the link below:
    Save the Fix It file then right click on it and select ‘Run as Administrator’.
    http://support.microsoft.com/kb/971179

    Next download and install the Office 2003 Editions Resource Kit (Ork.exe) file from the website below:
    http://www.microsoft.com/office/orkarchive/2003ddl.htm

    Use the Office Removal Wizard available in Office 2003 Editions Resource to remove all the installation traces for the older version of Microsoft Office.
    For more help on using Office Removal Wizard check this link:
    http://office.microsoft.com/en-us/ork2003/HA011401771033.aspx

    Next install FrontPage 2003 and ensure all the updates are installed for it before installing Office 2007.
    Once Office 2007 is installed, install the latest updates for Office 2007 including Service Pack 2 for Office 2007.

    Gayathri G S Microsoft Answers Support Engineer.
    We appreciate your participation in MS Forums, Help us understand your needs better. To share your valuable Feedback please Click
    here.

  • RELEVANCY SCORE 2.45

    DB:2.45:Function To Overwrite A File Each Time The Loop Runs az


    I am writing a program for measuring temperature and displaying difference after every 5 mins. I want to overwrite the data in file every 5 mins. I want to know how can i overwrite the data in a file.

    Bhushan



    For Latest TECH News check out my blog at http://directfromdigg.blogspot.com

    DB:2.45:Function To Overwrite A File Each Time The Loop Runs az

    Thanks a lot Brain. This really helped. I got the program running exactly the wayi wanted it to.

    Bhushan




    For Latest TECH News check out my blog at http://directfromdigg.blogspot.com

  • RELEVANCY SCORE 2.45

    DB:2.45:How To Loop Through My Workflow By Looking At The File System? 9s


    Hi, not sure my subject title makes it clear what I want but here it is.I have a workflow which basically looks at an excel file in a folder on the local drive and then does loads of stuff to it. Everytime I want to process a different excel file that is in the same location al I have to do is change the value of a single local variable, which is just the name of the excel file.Is there a way to make this automatic? For exmaple....could I somehow put my whole workflow inside a loop that looks inside that local folder and one by one, get the name of the file, assigns the name to that global variable, and then runs the flow...and continues to do that until it gets to the end??any help would be greatly appreciated...thanks!!!!andy

  • RELEVANCY SCORE 2.45

    DB:2.45:Intermittent Success With Batchfile Push fx



    I have a batchfile that i'm pushing to pc's. it installs msi, then runs one .vbs, has a path statement, then runs 2nd .vbs, and last runs another .bat file.

    my problem is the 2nd .vbs works on some machines and not others. Even if successful landesk server errors with "DNS server not authorative for zone"

    all the other parts are completely successful everytime, but the 2nd vbs only sometimes. I'm possible to track down cause on my test virtual PC's it works everytime.

    any idea's would be helpful.

    thanks

    DB:2.45:Intermittent Success With Batchfile Push fx


    What is that 2nd vbs script doing? Also, have you tried running this manually on an affected machine. Its entriely possible you have an environment issue on some machines and landesk is just showing you an error you would get anyway.

    Manually attempt to replicate on one or two affected machines as it may be something in their config that is the issue rather than an issue in LANDesk.

    Mark Star - MarXtar LANDesk Enhancements

    Home of Power State Notifier Wake-On-WAN for LANDesk

    New Updated Power State Notifier Pro!

  • RELEVANCY SCORE 2.45

    DB:2.45:Dynamic Query In A Loop zd


    Greedings,

    I have the following query which im trying to implement as a dynamic sql. It works fine but my only problem is that the table name will be changing everytime the user runs the query. Accounts will become financial_accounts etc. Is it possible to do that in any way?

    FOR rec IN (SELECT Sum(amount) AS amount,b.acnt_code AS acnt_code
    FROM accounts@db_link a,so_budgets b
    WHERE Trim(b.acnt_code)=Trim(a.accnt_code)
    AND a.period BETWEEN 2011 AND 2012
    GROUP BY b.acnt_code) LOOP

    Dbms_Output.put_line(rec.acnt_code);
    Dbms_Output.put_line(rec.amount)
    END LOOP;Thank you for any help

    DB:2.45:Dynamic Query In A Loop zd

    Thank you so much Solomon thats exactly what i was looking for. Believe me you were a huge help :)

  • RELEVANCY SCORE 2.45

    DB:2.45:Losing Delay When I Loop My Swf File From Indesign a3


    Hello,

    I am trying to make a SWF file from indesign. Its similar to a little slide show. I tried to loop it but everytime it completes the first loop it doesn't keep the delays between the transitions. The first time through I have each image showing for about 3 seconds and it looks great! Then when I loop back around it seems to lose that delay and the image flashes and then does the transition and the delay seems to be on a blank white space.

    Any thoughts?

    Thanks in adavance!

    TK

    DB:2.45:Losing Delay When I Loop My Swf File From Indesign a3

    Hello,

    I am trying to make a SWF file from indesign. Its similar to a little slide show. I tried to loop it but everytime it completes the first loop it doesn't keep the delays between the transitions. The first time through I have each image showing for about 3 seconds and it looks great! Then when I loop back around it seems to lose that delay and the image flashes and then does the transition and the delay seems to be on a blank white space.

    Any thoughts?

    Thanks in adavance!

    TK

  • RELEVANCY SCORE 2.45

    DB:2.45:Foreach Loop- File Processing 8x


    Hello,Can anyone advise how the foreach loop handles file processing?For example, if it is used to monitor a folder identifying files for processing and the package runs the instant a large file is dropped into the folder (i.e. writing has not yet completed)...  Will the file be processed in its partial state and therefore is an extra step required to verify if writing to the file is complete?  Or is the file not picked up by the foreach loop by default unless writing is complete?Many ThanksPaul

    DB:2.45:Foreach Loop- File Processing 8x

    Thanks for both replies, i will look into the file watcher task.Paul

  • RELEVANCY SCORE 2.44

    DB:2.44:Qlikview Outsourcing 73



    i have two QVD files and QVW file.

    The file runs an hierarchical loop.

    It requires enormous storage to process it.

    I get out of virtual/logical memory as my laptop does not have enough storage.

    If anyone runs qlikview on a server or has enormous storage, pls let me know.

    I will put the files in dropbox.

    you can process and drop in it.

    We can agree for an amount if required.

    DB:2.44:Qlikview Outsourcing 73


    i have attached the qlikview sample file.

    It has the script and also the output.

    this has only 25 records.

    When you debug the coding you will find that the number of virtual records generated (Ancestors) is more than 25.

    Actual file has 35 lakh records. So, the number of virtual records will be substantial.

    So, need to optimise this or run in some other system.

  • RELEVANCY SCORE 2.44

    DB:2.44:Missing Installation File *Itunes64.Msi pf


    I cannot update my itunes because everytime it gets to the end I have the problem that it is missing a file and it wants me to browse to this section. I find the file on the computer and click on it and I am in the same loop over and over.

    DB:2.44:Missing Installation File *Itunes64.Msi pf

    I cannot update my itunes because everytime it gets to the end I have the problem that it is missing a file and it wants me to browse to this section. I find the file on the computer and click on it and I am in the same loop over and over.

  • RELEVANCY SCORE 2.44

    DB:2.44:Load Qvd Based On The Variable Value dc



    Can we load the Qvds for the value in the variable.

    for eg: There is a loop where the i value changes and i need the previuos file to be loaded everytime, like my from statement which is as below

    FROM "D:\Working\Max"$(i)-1".qvd" (qvd);

    DB:2.44:Load Qvd Based On The Variable Value dc


    Yes, it possible. It goes something like this:

    For
    SET vQvdPath = 'D:\Working\Max'$(i)-1'.qvd(qvd)';

    Data:
    Load * from $(vQvdPath);

  • RELEVANCY SCORE 2.44

    DB:2.44:Ipad 2 Updated Via Wifi 36 Hours Ago Has Sent It In Recovery Mode j8


    Stuck in a restore loop since updating via wifi my iPad 2 to the latest 6.1 software, on reboot it's gone into recovery mode amp; everytime I click restore iPad the download says it's failed due to corrupt download file, tried 12 times now

    DB:2.44:Ipad 2 Updated Via Wifi 36 Hours Ago Has Sent It In Recovery Mode j8

    Stuck in a restore loop since updating via wifi my iPad 2 to the latest 6.1 software, on reboot it's gone into recovery mode amp; everytime I click restore iPad the download says it's failed due to corrupt download file, tried 12 times now

  • RELEVANCY SCORE 2.44

    DB:2.44:For Each In Loop Not Updating The Progress Bar Until Loop Is Finished sf



    This is an AIR app in flex3 on OSX 10.4.

    I have a loop that is running through an XML object.

    In my example there are more than 3000 children, could be more once distributed.

    While I'm processing the XML, I want to show a progress bar to the user.

    But the progress bar does not update until the loop is finished, the trace prints in the flex builder console as the loop runs.

    Once the loop as finished the progress bar updates (too late of course)

    I have tried importProgress.validateNow(); but no luck

    how can I get a progress bar update each loop.

    TIA

    flashharry

    var trackLength:Number = xml.children().length();

    var trackCount:Number = 0;

    for each(var d:XML in xml) {

    trackCount ++;

    trace(trackCount);

    importProgress.setProgress(trackCount, trackLength);

    //do something

    }

    DB:2.44:For Each In Loop Not Updating The Progress Bar Until Loop Is Finished sf


    try refactoring your importProgress.setProgress(trackCount, trackLength); call into a separate function and call this new function using callLater. Just an idea.

    ATTA

  • RELEVANCY SCORE 2.44

    DB:2.44:Continuous Measurement With Keithley 6517 Electrometer 9a


    Hi
    I have a Keitley 6517 electrometer in my lab that i need to use for my experiments to measure the DC voltage continuously across a capacitor (Sawyer tower circuit),unless I want to stop in the middle. I also have the necessary hardware NI 488 GPIB card, that I purchased and installed and Idownloaded the necessary VI's from the website. I did a dry run to check if my instrument talks to my computerby plugging ina constant dc source to the equipment and running from the single read example VI. It measured perfectly and gave the reading on the computer as 1.5 E+1V. Now, I need to measure a very low frequency0.01Hz signal across a capacitor, so I need to run thisprogram continuously instead of a single read and record it in a excell sheet and simultaneously graph it as a function of time. As my background is notin programming I find it difficult to do this. I know that it is just a simple while loop we need to add in the single read example VI, but I do not have a clue of where to put this while loop, since, i do not want to configure the equipment (like zero check ) everytime the loop runs. I have attached the keithley.llb file. It will be great if some one can help. I really appreciate it. Thanks a lot for the time.

    Sincerest Regards,
    Manoj









    Attachments:







    kei6517a.llb ‏1339 KB

    DB:2.44:Continuous Measurement With Keithley 6517 Electrometer 9a

    I'm flattered but I'm a bit hesitant to publish my email or any other personal information in a public forum and frankly, I would prefer that you thank the entire community. I did nothing that an awful lot of other people do each and every day.

  • RELEVANCY SCORE 2.43

    DB:2.43:Linked Loops za



    Hi!

    In the attacched file I write an array using loop1. In the loop2 2 I build an array of arrays, but im not able to link the two loops in order to add a new array in loop 2 everytime array in loop 1 change.

    Any suggestion?

    Thank You

    Antonio







    Solved!
    Go to Solution.

    DB:2.43:Linked Loops za

    antonio ferrante wrote:
    I would like to write an array done by N of previous column values in order to average those.

    Here is a quick example how you would average the last 10 values for each column using a fixed size buffer. Modify as needed.




    LabVIEW Champion . Do more with less code and in less time .

  • RELEVANCY SCORE 2.43

    DB:2.43:Extending The Scope Of A Variable 77


    Hi ,

    I am using a variable "count" like this:

    for(File file : files){
    int count=0;
    while (m1.find()){

    ++count;
    }
    }
    //I want to print the value of count outside hereHow can I print the value of count outside the for loop everytime. Its lifetime ends outside for loop..

    DB:2.43:Extending The Scope Of A Variable 77

    I realised the limitation of my solution but once again since OP will not elaborate on exactly what they are doing we can only guess.

    With your suggestion there is no need to declare count outside the loop. Unless OP needed to access it at a later stage outside the loop but once again it will only contain the value of count for the last iteration of the inner loop. Maybe there is a need for 2 variables. One to count the inner loop iterations and one to tally all count values. Still guessing though.

  • RELEVANCY SCORE 2.43

    DB:2.43:Startup Repair Everytime Win7 Reboots !! a3


    Hi guys !! Thanks in Advance for your help !

    My system was working really gr8 till last week.. and one fine day, i had done some updates for my win7, then it asked me to
    reboot and as i did.. i got the boot screen and i selected win7 and i got win7 logo blinking.. and then it again rebooted.. and this time it went to startup repair.. after i run startup repair, luckily i had some restore points.. and after i restored my system..
    everytime till now , it goes to startup repair everytime i boot my system ..win7 still asks to get updated and everytime i do it or without updating also it goes to startup repair and again i restore.. it is like a loop !! Could not really find any answer
    by my random search.. help me out asap..

    DB:2.43:Startup Repair Everytime Win7 Reboots !! a3

    Hi,

    From the Windows Update log, I notice different kinds of updates. I suggest you use security software to scan for viruses first, then install those updates one by one to narrow down the issue. (install once update, reboot once)

    If you find the update which caused the issue, please let me know its name.
    Niki Han
    TechNet Community Support

  • RELEVANCY SCORE 2.43

    DB:2.43:Thread: Quickfinder Indexing x7


    I have a GW7 sp1 post office running on a Win2k3 server. QF indexing

    runs every hour starting at 2am. It tries to do an entire indexing job

    on one particular user everytime it runs. It gets about 85% of the way

    through and then gets the following error:

    Error updating QuickFinder indexes: [F041]

    I\'ve searched for the F041 error and can\'t find any information about

    it. Any idea what the error is and what to do about it? Thank...

    DB:2.43:Thread: Quickfinder Indexing x7

    So the indexer does go through and complete on that account ?, despite the

    rebuild making it completely reindex every day. I honestly think you are

    going to have to put a call into Novell for this one, even just to find

    out exactly what that F041 error does mean, and how to cure it.

    Cheers Dave

    -' + '-

    Dave Parkes [NSCS]

    Occasionally resident at http://support-forums.novell.com/

  • RELEVANCY SCORE 2.43

    DB:2.43:Animation Sequence fa


    I have an animation sequence of 60 720 x 486 jpegs that loop when made into a clip. I've done this in Canopus and Adobe .avi before. What's the best way to create a DV .mov file with them using Quick Time Pro and/or FCE. I would actually like to create a loop that runs longer than 2 seconds. Thanks for any help.

    DB:2.43:Animation Sequence fa

    Thanks! I knew that somebody would come up with the answer eventually. Greatly appreciate it!

  • RELEVANCY SCORE 2.43

    DB:2.43:Norton Av2008 Updates Everytime Vm Runs cc



    I know that NAV2008 shouldn't take updates every time I run my Virtual machine. This happens multiple times every day.

    I thought that if I took a snapshot of my VM after updating NAV2008, I wouldn't be prompted to update norton for a while, but that isn't the case. Is there any way to preserve these updates so that I'm not being prompted during every session?

    John

    DB:2.43:Norton Av2008 Updates Everytime Vm Runs cc

    Welcome to the wonderful world of Symantec AV. Its a bloated product that just keeps consuming more memory as the product life moves forward. I remember when I used to use Norton it was too difficult to control what the heck its doing all the time. It shouldnt be that difficult.

    Antivirus is reactive technology anyway (signature based). The future is HIPS products. I'd suggest looking at something like Blink from eEye.com, which is currently free for 1yr for home users. It gives you AV, but thats like the last stand (so to speak). Its more user friendly and definitely more proactive.

    Anyway, just my 2 cents.

  • RELEVANCY SCORE 2.43

    DB:2.43:Problem Updating Acrobat X zm



    I am having problems updating Acrobat X on Windows 7. Everytime an update runs there is a 1310 or 1321 error. Despite repeatedly changing UAC permissions for the files indicated in the errors the errors continue. My first issue was printing problems, which I have worked around, now I can't update, which supposedly will solve the printing issues. I am running the update as the administrator, have tried removing and reinstalling and am getting very frustrated. Any suggestions?

    DB:2.43:Problem Updating Acrobat X zm


    Failure to update via the online process is USUALLY caused by 1 of 2 things

    1-firewall or antivirus settings

    2-windows security settings

    The USUAL fix is to manually download the files and run the updates outside of the Internet

    All Adobe updates start here and select product, read to see if you need to install updates in number order, or if the updates are cumulative

    for the individual product http://www.adobe.com/downloads/updates/

  • RELEVANCY SCORE 2.43

    DB:2.43:Win7 Startup Repair cc


    Hi guys !! Thanks in Advance for your help ! My system was working really gr8 till last week.. and one fine day, i had done some updates for my win7, then it asked me to reboot and as i did.. i got the boot screen and i selected win7 and i got win7 logo
    blinking.. and then it again rebooted.. and this time it went to startup repair.. after i run startup repair, luckily i had some restore points.. and after i restored my system.. everytime till now , it goes to startup repair everytime i boot my system ..win7
    still asks to get updated and everytime i do it or without updating also it goes to startup repair and again i restore.. it is like a loop !! Could not really find any answer by my random search.. help me out asap..

    DB:2.43:Win7 Startup Repair cc

    Hi,

    StartUp Repair often works from a Windows 7 Installation Disk or Windows 7 Repair Disk

    when itdoes not from Recovery or a Recovery Disk. If needed how to make a Windows 7
    Repair Disk is below. A Repair Disk can be made on any computer with a CD burner running

    XP, Vista, or Window 7 as it uses no files from the Host computer.

    You can try some of these in Safe Mode - repeatedly tap F8 as you boot.
    If you do not have a Windows 7disk you can borrow a friends as they are not copy
    protected. YourSystem maker will also sell the physical DVD cheap since you already
    own Windows. Also you can make a repair disk on another computer.
    Try Startup Repair - (If at ANY point you gain somebut not full access to Windows come
    back and try Startup Repair again.)
    How to Boot to the System Recovery Options in Windows 7
    http://www.sevenforums.com/tutorials/668-system-recovery-options.html

    What are the system recovery options in Windows 7?
    http://windows.microsoft.com/en-us/windows7/What-are-the-system-recovery-options-in-Windows-7
    Try StartUp Repair from Recovery Options or Windows 7 disk.
    How to Run a Startup Repair in Windows 7
    http://www.sevenforums.com/tutorials/681-startup-repair.html
    Also from the COMMAND PROMPT of Recovery Console (if possible) or a Windows 7 disk

    Start - type in Search box - COMMAND find at top of list- RIGHT CLICK - RUN AS ADMIN

    sfc /scannow

    How to Repair Windows 7 System Files with System File Checker
    http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html

    Then run checkdisk (chkdsk).

    How to Run Disk Check in Windows 7
    http://www.sevenforums.com/tutorials/433-disk-check.html
    Retry Startup Repair after Chkdsk.

    If needed after those you can try System Restore from Safe Mode orthe Recovery or Windows 7
    disk.

    How to Do a System Restore in Windows 7
    http://www.sevenforums.com/tutorials/700-system-restore.html

    --------------------------------------------------------------------

    If you need to make repair disks - these help repair Windows not re-install.
    Often a thesedisks will help when the OEM Recovery Disk does not.

    Download Windows 7 System Recovery Discs - now charging $9.75 for the ISO
    images to make the disks. (These can be made on any computer running XP,
    Vista, or Window 7 that has a CD/DVD burner.)
    http://neosmart.net/blog/2009/windows-7-system-repair-discs/

    How to Create a Windows 7 System Repair Disc - Free (Must be made on a
    Windows 7 computer running the same 32 or 64 bit.)
    http://www.sevenforums.com/tutorials/2083-system-repair-disc-create.html

    A Installation Disk can also be made to use for Repair. Of course you would use your own
    COA (Product Key).

    Windows 7 (English) with Service Pack 1

    Windows 7 Home Premium (x86) - X17-58996

    Windows 7 Home Premium (x64) - X17-58997

    Windows 7 Professional (x86) - X17-59183

    Windows 7 Professional (x64) - X17-59186

    Windows 7 Ultimate (x86)* - X17-59463

    Windows 7 Ultimate (x64)* - X17-59465

    See MVP Andre Da Costa's message in this thread.

    http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/how-can-i-download-gatewaywindows7recovery-disc/3c0ecd74-cfc1-4188-89c7-a6bbe8113ee1

    ======================================

    If needed :
    What to do if Windows won't start correctly
    http://windows.microsoft.com/en-us/windows-vista/What-to-do-if-Windows-wont-start-correctly

    How to Boot to the System Recovery Options in Windows 7
    http://www.sevenforums.com/tutorials/668-system-recovery-options.html

    What are the system recovery options in Windows 7?
    http://windows.microsoft.com/en-us/windows7/What-are-the-system-recovery-options-in-Windows-7

    A Repair Installation allows you to keep the programs and data though redundant backups
    are always a good idea.

    How to Do a Repair Install to Fix Windows 7
    http://www.sevenforums.com/tutorials/3413-repair-install.html

    Hope this helps.

    Rob Brown -
    Microsoft MVP - profile - Windows Expert - Consumer : Bicycle - Mark Twain said it right.

  • RELEVANCY SCORE 2.43

    DB:2.43:Unexpected Behavior Of Foreach Loop In Ssis 2012 km


    I have come across the unexpected behavior of Foreach Loop in SSIS 2012. While testing package for invalid folder (path asdf:\Vishal_Work does not exists in this case) for source files.

    I observed that the control does not enters into Foreach Loop, but also it does not fails the task. The task Foreach Loop runs successfully, though folder was invalid.
    The package did not throw any warning regardinginvalid folder, but for the unmatched file pattern.
    My concern is ‘why Foreach Loop in SSIS did not failed even if folder was invalid or not exists?’

    DB:2.43:Unexpected Behavior Of Foreach Loop In Ssis 2012 km

    Hi Arthur,
    Thanks for your reply, I have filed a bug. Bud ID: 820599

  • RELEVANCY SCORE 2.43

    DB:2.43:8am Morning Run Labview Once, 4pm Run Once Again, And It Continues Forever Everyday js



    Hi everyone,

    I have wrote a programm with if case which checks whether the time stamp lies between 8am til 4pm with time range. If outside this range, it will send a signal to shut a relay down, if within this time frame, it will send another signal to turn it on. But the problem is, it runs 24 hours everyday to check this condition with while loop and if case, combine with timerange.

    Does anyone has an idea , where the programm only runs twice a day, which is 8am run the program to turn it on, and 4pm run another time to turn it off, without repeating everytime.

    I have a feeling it is time loop structure related and have tried it, but I can't seem to set the start time as 8am, and end time at 4pm, what i can manage to do is that in the first frame in time loop, it runs and it turn on, and the second frame has to wait a very long time(whatever time u set), then it will execute to turn it off. It works but everytime i have to calculate the time difference. I am looking for alternatives.

    Thanks for anyone's help.

    Have a nice day.

    DB:2.43:8am Morning Run Labview Once, 4pm Run Once Again, And It Continues Forever Everyday js


    I think it is Ed Dickens who sprats a signature that reads something to the effect of;

    "Using the abort button to sop your application is like using a tree to stop your car. It will work but you may not like the consequences."

    Calculating time difference for 24 X 7 apps is not as easy as it appears due to Daylight Savings Time. DST introduce one day a yeear that has 25 hours and another day that has only 23 hours. We can not code these dates at development time since they are subject to the will of the congress and are subject to change ("Woe to those who seek to change times and ways." Is that Revelations?).

    Since you target times do not fall into the nebulus hour that may or may not be there, I would recomend you set up a loop (timed or not) that queries the system time once a second to see if the current time meets your criteria. When doing the check don't try to an exact match of the time since the code may run end up missing the exact hour by a handful of seconds one way or the other due to other processes runing on the machine.

    "

    This thing all things devour:

    Birds, beasts, trees, flower;

    Gnaws iron, bites steel;

    Grinds hard stones to meal;

    Slays king, ruins town,

    And beats high mountain down.

    "

    JRR Tolkiens The Hobbit, Riddles in the Dark , Time.

    Ben




    Ben RaynerI am currently active on.. MainStream Preppers Rayner's Ridge is under construction

  • RELEVANCY SCORE 2.43

    DB:2.43:For Each Loop ks


    Hi I'm using visual studio 2008,
    I have a for each loop container that has a SQL task a data flow task within. The loop looks within a folder for *.txt and if it finds it runs the SQL and data flow task. This works correctly.
    What I am trying to do is add a email task to the 'for each loop' that send an email if the *.txt doesn't exist. The problem is the for each loop is always green wether the file is in the folder or not. Though the SQL task and datarun correctlywhen
    the file does exist.
    I have tried using the different constraints success, completion failure but it doesn't work. Failure is not true is there's no file, so you can't use the failure constraint.
    Does anyone have any ideas on how to approach this?

    Thanks

    DB:2.43:For Each Loop ks

    Easiest is probably to add a
    counter within the loop:

    The Validate Counter can be replace with your Mail Task. Just add an expression on the constraint between the loop and the mail task to check if the counter is 0.Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • RELEVANCY SCORE 2.43

    DB:2.43:Problems Using Intel(R) Compiler.. (Novice User) dj



    I seem to be having some problems using ifort to compile a gar-hydrodynamics program, called Zeus, written in Fortran90.

    My computer runs duel Intel Core 2 processors (64 bit) and runs

    Scientific Linux (based on Fedora Core something-or-other). I have

    installed the intel Fortral compiler package appropriate for these

    processors (Intel 64 bit - file l_fc_p_10.1.015_intel64.tar.gz), and it seems to be working correctly (but I am far from an

    expert!).

    When I attempt to build some of the libraries needed by the code I get the following error

    [njs@Quezovercoatl nmlst]$ ifort namelist.f
    namelist.f(2511): (col. 11) remark: LOOP WAS VECTORIZED.
    namelist.f(2514): (col. 11) remark: LOOP WAS VECTORIZED.
    namelist.f(1574): (col. 13) remark: LOOP WAS VECTORIZED.

    namelist.f(1489): (col. 13) remark: LOOP WAS VECTORIZED.
    namelist.f(1404): (col. 13) remark: LOOP WAS VECTORIZED.
    namelist.f(1169): (col. 11) remark: LOOP WAS VECTORIZED.
    namelist.f(1081): (col. 11) remark: LOOP WAS VECTORIZED.

    namelist.f(998): (col. 11) remark: LOOP WAS VECTORIZED.
    namelist.f(689): (col. 33) remark: LOOP WAS VECTORIZED.
    namelist.f(689): (col. 33) remark: LOOP WAS VECTORIZED.
    /compilers/intel/fortran/lib/for_main.o: In function `main':

    /export/users/nbtester/efi2linuxx86_nightly/branch-10_1/20080313_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x26): undefined reference to `MAIN__'

    Unfortunately

    I'm far from a fortran expert and have no real idea what this error is.

    Does anyone know what this means, or have any ideas/suggestions on how I should proceed?

    DB:2.43:Problems Using Intel(R) Compiler.. (Novice User) dj


    You will receive that error when trying to compile and link a Fortran source file that does not provide a Fortran MAIN program. I suspect namelist.f may contain only subprograms and thus is not expected to be compiled and linked.

    To only compile namelist.f, add c option.

    You will need to inspect the Zeus application build procedure (perhaps a makefile?) to know how the application compiles all the associated source files and then links the object files to create the resulting executable.

  • RELEVANCY SCORE 2.42

    DB:2.42:Update Failure Loop 8j



    Everytime Firefox offers an automatic update, it failes in updating correctly, because it says that I have more than one Firefox (which is not the case) and/or I must first close Firefox, although it is not open. There is no way out of this problem other than deleting everything that might be related to Firefox, restarting the computer and before the failure loop starts again quickly de-install Firefox. Is there a way out, or if not, can I cancel the automatic update possibility somewhere?

    DB:2.42:Update Failure Loop 8j

    Question owner


    The next link will lead you to a very helpful website with all kind of answers when one has problems with Firefox updates: http://kb.mozillazine.org/Software_Update#Checking_for_updates
    I'll study that and try to apply the suggestions, once I have problems again.
    Also , I changed the settings in Firefox by Tools, Options, Update, from not automatically install updates to first ask me.
    Then I know there is an update and then I will go to the Forefox website en install from there the newest version in top of the old one.
    Hopefully this ideas will also be helpful for others?!

  • RELEVANCY SCORE 2.42

    DB:2.42:[Solved] $(Cat $File) In Rc.D/Daemon Runs Manually, But Fails At Boot 3s



    Hello Archers,

    Im hoping someone can help me out with this for loop in a startup script;
    for FILE in active/*
    do
    ACTIVE=${FILE##*/}-$(cat $FILE)
    cd $ACTIVE
    ./start-server-rx.sh $ACTIVE
    cd ..
    done

    DB:2.42:[Solved] $(Cat $File) In Rc.D/Daemon Runs Manually, But Fails At Boot 3s

    rockin turtle wrote:
    You could try to use absolute path names in your script.

  • RELEVANCY SCORE 2.42

    DB:2.42:Software Update Not Updating 81


    Hi.My OS(10.6.4) is not updating. Everytime it shows an error while updating after the downloading gets completed. Kindly help.

  • RELEVANCY SCORE 2.42

    DB:2.42:Next Minimum Everytime The Query Runs-Urgent 3j


    Hi guys,

    I have a select statement inside CASE

    LOOP
    Insert Into table

    Select
    CASE
    when x = 1
    then select min(supplier_number) from suppliers
    when x = 2
    then select min(vendor_number) from suppliers;
    ---------------

    END LOOP
    What i need to do is, after the first execution of then select min(supplier_number) from suppliers in the loop, I will have to find the next minimum instead of min(supplier_number)
    I will have to put in some logic instead of the min function.
    Any ideas...as to how to proceed to do this?

    Thanks in advance

    DB:2.42:Next Minimum Everytime The Query Runs-Urgent 3j

    I am pretty sure that there are many options in oracle to perform what you want .. but simply ..

    try to store minimum value in a variable and each time thru the loop say that minimum value of value greater than that variable ... there by you will get next highest for each iteration...

    i will post a query .. when get some time ..

  • RELEVANCY SCORE 2.42

    DB:2.42:File Change Listener 8c


    Hi !

    My java app runs in an endless polling loop (by design) interrogating approx. 100 external devices via a comm port.

    This endless loop is interrupted when any keyboard entry is made, processed, then loop is again allowed to resume.

    I now need to interrupt my app if a certain file is changed(ie: a new line record is added).
    .... then to copy this file into my app for processing, then continue my normal loop polling.

    I think I need to add a "file listener" to this target file , but I'm new to Java.

    Can some one suggest a code snip to get me started?

    Thanks!

    DB:2.42:File Change Listener 8c

    can't remember but i think this worked a long time ago,
    http://www.geocities.com/rmlchan/lrsrc.html

  • RELEVANCY SCORE 2.42

    DB:2.42:How To Use Previous Tdms Data To Simulate Incoming Data Offline j8



    This is not a cRIO question, but a LabVIEW question. I would like to not have to connect to my cRIO everytime I want to develop my real timecode.How cantake a previously saved TDMS data and have Labview read the values from this file one line at a time so that the code runs just as if I were logging new data from the sensors?

    Here's a lengthyexampleto better clarify the question:I'm usingLabVIEW 2011

    I'm using Scan Engine to read say, 10 channels on my cRIO every 100ms. The values from each channelcome into my processingloop as an interleaved1Darraywhere I canprocess the data and saveitas a row ina TDMS file. Then100ms later I get a reading for row two in the TDMS file, then row three etc.

    Now say I just want to tweak a few things on my processing loop like add a new chart etc. and want to make sure it displays properly but do not want to reconnect to the cRIO. Can Ireference the saved TDMS file and getLabVIEW to send the same interleaved 1D array of 10 channelsevery 100msso it simulates just the way the actual data would come in from the cRIO?

    DB:2.42:How To Use Previous Tdms Data To Simulate Incoming Data Offline j8


    Hi jezza,

    You can use the TDMS VIs to read from the file, specifying an array of doubles so that we don't have to get the waveform components in order to get the Y values. We then just build an array on a for loop and set a delay of 100 mS. You can optimize this using a Producer Consumer Architecture if you are worried that the processing VIs are going to take more than 100 mS.




    Regards,Daniel REDSRF Systems EngineerHelp us grow.If a post solves your question, mark it as The Solution.If a post helps, give Kudos to it.

  • RELEVANCY SCORE 2.42

    DB:2.42:Run Once fd


    In a Labview application I am programming inside a case that is inside a while loop. The first time into the case I want to open a spreadsheet file and begin logging data to it. How do I open the spreadsheet file the first time into the case and keep the same file open until I am finished writing data? I have been able to open a file and write to it, but every time the loop runs, the program opens another file. The file is named with the system time as mmddhhmm.

    DB:2.42:Run Once fd

    Try using a shift register on the while loop (right click on the edge of the loop). Wire a TRUE to this from the outside of the loop and have a case statement that opens the file if it is true inside the loop. Then, wire a FALSE to the other out (right) part of the shift register.This way, it is true only the first time running through the loop.Another way would be to open the file before entering the loop and closing it after the loop is complete...Naveen.

  • RELEVANCY SCORE 2.42

    DB:2.42:Updating Xml Gallery xc


    hi! i was woundering if anyone can help me with an xml
    gallery. i have one created and it displays the pictures fine, but
    i would like one which i would not have to edit the xml file to add
    new images into, so the gallery updates itself everytime a new
    image is placed into the folder.

    is this possible or am i stuck with having to edit the xml
    file myself everytime?

    DB:2.42:Updating Xml Gallery xc

    Possible but to update the xml you will need additional -
    server side - software like ASP, PHP, CF, Java.

  • RELEVANCY SCORE 2.41

    DB:2.41:Generating Custom Messages To User c8


    Hello everyone,i'm using a foreach loop container to read a group of excel files and pass their information to a Sql Server database. The process runs well but sometimes there could be some excel files that may not be processed correctly so i'm using transacctions to continue to process on the other files, But i'd like to generate a message everytime an excel file is or not processed. I thought that i could generate a flat file to do it, but is there any other way to accomplish this? I'm also generating a log file (on xml format), but It seems too much information for an end-user.any suggestions?regards.

    DB:2.41:Generating Custom Messages To User c8

    Hello JamieI'm actually using a log provider, so i get the log of the progress. My solution was to get into the log (which is an xml output file) two kind of messages: the first one, an script that Logs a new Sucess file message and another script task which says Failure process file. So at the end of the tasks i need to run, i get just one of the script tasks to log into my file.But is there any other way to do it?.regards

  • RELEVANCY SCORE 2.41

    DB:2.41:Bios In A Loop After Update f8




    MB
    P67A-GD65

    At the moment my pc is i a loop and keeps rebooting
    msi.com/support/mb/P67AGD65.html#down-bios
    i mean this is the official page for updating my board and download drivers

    what can i do to fix the loop ?
    when i remove the usb stick it starts with the file not found error

    DB:2.41:Bios In A Loop After Update f8


    you can ask them, but you are too late for this
    it should be done a 3 years ago for limited time to be exchanged
    http://www.pcstats.com/articleview.cfm?articleID=2589

    User must register for exchange by April 30th, 2011

    but you can ask them anyway

  • RELEVANCY SCORE 2.41

    DB:2.41:For Loop Inside While Loop 79



    To all,

    I have a question, I have a for loop inside a while loop. The for loop runs and displays the log data. It seems that until I stop the while loop that the log data is display. It almost seems that the for loop runs until the while loop is stop.

    Any inputs?

    Thank you,

    Cosmica

  • RELEVANCY SCORE 2.41

    DB:2.41:Logging From Digital Output af



    I'm having trouble logging or recording the information that's being produced by the digital output I have in a for loop. I tried implementing the logging from DAQmx into the loop and I was getting an error about the number of channels not matching the number of lines. I don't know if this is what I need to use or not because I'm wondering if the logdoes save the output, will it rewrite the file everytime the loop runs? That wouldn't be helpful. What I need is that the information for the several channels that we have will display the digital waveform of the output. I'm attaching the code we currently have and the one I tried implementing with the log, which got an error.










    Attachments:







    current(1).jpg ‏109 KB

    DB:2.41:Logging From Digital Output af


    thank you,

    what I am trying to achieve is getting a file or graph that I can save and that will give me the digital waveform of the output.

  • RELEVANCY SCORE 2.41

    DB:2.41:Timed While Loop 9j



    Sorry - I know this has been rehased much here , however my problem sems to differ from others and cannot figure out a solution. I am trying update some measurements for a specified amount of time in seconds in a while loop. I have tried using elapsed time , current time etc. however these seem to stop the measuremetns from updating. What I basically have is I am monitoring 4 analog inputs from a daq card. I am monitoring each input sequentially in a while loop. The user specifies how long the overall process runs. Whatever timer scheme I seem to come up with halts the updating while the timer runs, the loop ends when the timer elapses and my data is not correct and the program advances to the next process. This loop could iterate several times so I need the timer to basically reset every time I enter the loop also. I attached a small sample though I could show the whole vi - but it is large. Thanks for any input!










    Attachments:







    timing_problems1.vi ‏15 KB

    DB:2.41:Timed While Loop 9j

    Don't put the "elapsed time" inside its own while loop. Just delete the small while loops and you should be OK.

    If the bigger loop needs to repeat until the time has elapsed, you cannot prevent it from spinning by trapping execution in the small loop.

    (Try to run your code with execution highlighting and you will see that the small inner loop will spin until the time has elapsed, at which point both loops stop.)

    Of course instead of such a sequence worm, you should refactor your code as a compact state machine. You have an incredible amount of duplicate code for no apparent reason.



    LabVIEW Champion . Do more with less code and in less time .

  • RELEVANCY SCORE 2.41

    DB:2.41:How Do I Refresh A Datacontext? mm


    Hi
    I'm using the first example (LINQ to Entities) on this page to learn about parameter queries:
    http://msdn.microsoft.com/en-us/library/vstudio/bb738521(v=vs.100).aspx

    I'm trying to refresh context when the query runs in a loop (I'm learning about updating a database during the loop). I've read about refresh but I'm not sure if I'm using the right dll in Visual Studio 2013 Express because I can't
    get it to appear in intellisense. How do I refresh the context so the query results are updated through each iteration of the loop I'm using? Is there a using statement I should include at the top of the C# file? How do I make visual studio use the right dll
    if I need to change that?
    I'm also using SQL Server Express 2014.
    Thanks

    DB:2.41:How Do I Refresh A Datacontext? mm

    Thanks for that Fred. I've since found .FirstOrDefault(); does what I want. My aim has been to avoid the insertion of a new record causing an exception with unique values in the database. This is why I wanted to refresh the datacontext, so I could check
    the new record against pre-existing records in the database.
    But when I've got time I'll try your solution to see if it gives better performance.
    Have a good day.