Preflight droplet process returns too early – before it's done

I'm calling an Acrobat preflight DROPLET from program that I'm writing, and I need to know when the files are ready, that is when the preflight fixups are done.
I need to know this in order to go on with some other file system stuff in my program, that needs to be done after the preflight fixups.
I guess the droplet just tells Acrobat what to do, and then exits. The Droplet process stays up for a while but exits before the work is done.
There is an question from 2009 asking the exact same thing, but no answer.  Preflight droplet returns too early
Since it's in a locked section of the forum I venture to ask the same question now, six years later.
Checking the modified dates of all files does not seem to work since a preflight obviously does not alter files that are not in need of being altered.
I'm on windows, and I don't know whether this is a platform dependent problem.
What should I do?
Thanks,
Andreas

This is not a good way to do it. But this is the way I do it now...
It seems to work but there is no guarantee that it will work in the future, or even on all machines.
private static int WaitForAcrobatReady() {
  // Get the current Acrobat instance.
  var app = new Acrobat.AcroApp();
  // While a preflight (droplet) is running, app.GetNumAVDocs() will
  // not return ANYTHING, it will just hang.
  return app.GetNumAVDocs();
To sum up the efforts of the last weeks: Acrobat doesn't seem to be made for inclusion in other automation jobs. This is just another thing that doesn't work.
(I had to use the C# library PDFSharp to do other things that Acrobat can do really well only that it's not possible to set those properties, or start that kind of actions, from "outside".)

Similar Messages

  • Preflight droplet returns too early

    I want to convert a color PDF into grayscale. So I created a new preflight profile where nothing happens except color fixup:
    Advanced > Print Production > Preflight
    PDF Fixups > Convert to Grayscale
    I saved the profile and created a Droplet named grey.exe.
    When I call grey.exe smallSize_1MB.pdf everything  is fine. But when I have to convert a PDF having big filesize like grey.exe bigSize_160MB.pdf the Droplet .exe process returns before the preflight is done.
    Problems: A script (e.g. a batch file) continues without waiting for the Droplet to finish. So the script cannot make use the Droplet's result, e.g. a preflight report or the converted PDF file.
    Why does the Droplet's .exe process return too early? Everybody can test this with the help of the attached Droplet and the following batch scripts:
    smallSize.bat (use something small, e.g. 1 MB or smaller):
    copy /Y smallSize.pdf tmp.pdf
    grey.exe tmp.pdf
    echo "return"
    pause
    bigSize.bat (use something really big, e.g. 160 MB or bigger):
    copy /Y bigSize.pdf tmp.pdf
    grey.exe tmp.pdf
    echo "return"
    pause
    Ideas, anyone?
    Message was edited by: Droptix  I am using Adobe Acrobat 8.0 Professional.
    Message was edited by: Droptix  As an alternative I can imagine to re-produce the Droplet's function by Interapplication communication (IAC) through OLE, see http://www.adobe.com/devnet/acrobat/interapplication.html -> if anyone can tell me how to do a grayscale conversion via IAC/OLE... would be great! I know the IAC/OLE basics, can open, save and edit PDFs but don't know how to convert. It would also be possible to use: Advanced/Print Production/Convert Colors > set all Document Colors to convert > set Blending profile for instance to Gray Gamma 1.8 > set conversion options to don't embed profile.

    This is not a good way to do it. But this is the way I do it now...
    It seems to work but there is no guarantee that it will work in the future, or even on all machines.
    private static int WaitForAcrobatReady() {
      // Get the current Acrobat instance.
      var app = new Acrobat.AcroApp();
      // While a preflight (droplet) is running, app.GetNumAVDocs() will
      // not return ANYTHING, it will just hang.
      return app.GetNumAVDocs();
    To sum up the efforts of the last weeks: Acrobat doesn't seem to be made for inclusion in other automation jobs. This is just another thing that doesn't work.
    (I had to use the C# library PDFSharp to do other things that Acrobat can do really well only that it's not possible to set those properties, or start that kind of actions, from "outside".)

  • I turned on my system too early before the ups properly turned on n later i forcefully offed it by holding d power button n later when i turned it on its turnning off by itself

    plz help me how to correct my error n i check for disk utlities n it showed me a error "key is not found" something n cant be repaired n backup files n re-instal os so wht to do?

    Do as instructed. Backup the computer if the computer is still working. Then you will need to do ONE of the following to repair the drive:
    A. If you are using Snow Leopard.
    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. Be sure you configure your initial admin account with the exact same
             username and password that you used on your old drive. After you finish Setup
             Assistant will complete the installation after which you will be running a fresh
             install of OS X.  You can now begin the update process by opening Software
             Update and installing all recommended updates to bring your installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    B. If you are using Lion or later.
    Install or Reinstall Mavericks or Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    OS X Mavericks- Erase and reinstall OS X
    OS X Mountain Lion- Erase and reinstall OS X
    OS X Lion- Erase and reinstall Mac OS X
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.
    If this does not repair the problem with your hard drive, then the drive may have failed and requires replacing.

  • FCP7 HELP - Exported quicktime mov plays differently than what I edited on the timeline. The playback shows the clips with ins and outs that are different than what I set in the clips when I edited - some are too early and the clips don't playback

    Please help ASAP.
    Specs: IOS 10.6.8
    Processor 2.4GHz Intel Core i5
    Memory 4GB 1333 MHz DDR3 -- Everything is edited, sourced, and stored on an 2TB external hard drive to make things go faster.
    Editing with FCP 7
    When I export the sequence I edited with quicktime, the playback video is very different from what I edited on the timeline. The playback has the clips with ins and outs that are way off than what I cut, and some of the clips don't show at all or have changed transitions. However when I play in the timeline in FCP, the sequence is fine, just the way I cut it.
    The source of the clips was one long .mov that I cut into clips for the timeline. Everything has gone smoothly but the exported .mov is just so different.
    How can I get the time codes of the clips to be the same in the exported .movs? I just want the quicktime .mov to represent my edit exactly.
    This video is due tomorrow - if the solution is too time consuming, can I play within the FCP player window and Log and Capture?
    Thanks,
    MV

    What is your source material? Is it H.264? FCP does not work correctly with that material.
    Click on a source clip in the FCP Browser, and once selected, type Command + 9 to see the item properties for the clip. Either report those properties, or take a screen shot of the item properties, and post that here.
    Next, click anywhere in your timeline, and then type Command + 0 {zero} to see your Sequence Settings. Either report those Sequence Settings, or take a screen shot of the Sequence Settings and post that here.
    MtD

  • CCME 4.0 matches number too early!

    Hello,
    once again I have a problem with my CCME 4.0.
    It happens quite frequently that someone from the outside calls a extension within our organisation. But the CCME bagins matching too early, before all digits are received. One or sometimes even two digits are left out.
    Example:
    Caller dials 12345-234 with 12345 being the main number and 234 being the extension. Now the CCM begins matching at 12345-23 already. The voice rule for incoming calls now cuts all but the last three digits and tries to match that to an extension. But since there is a digit missing, the CCM tries to match "523" instead of "234". And of course the extension "523" does not exist. So the caller gets a "number not assigned".
    This is quite annoying! How can I force the CCME to wait until all digits are received from the telephony service provider?
    Regards,
    Eyad Tayeb.

    The requested debug (of a succesful call):
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960443: <009><009>Component = Invoke component
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960444: <009><009><009>Invoke Id = 22962
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960445: <009><009><009>Operation = Diversion Leg2
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960446: <009>Progress Ind i = 0x8183 - Origination address is non-ISDN
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960447: <009>Calling Party Number i = 0x2181, '3462211214'
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960448: <009><009>Plan:
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960449: ISDN, Type:National
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960450: <009>Called Party Number i = 0xC1, '9209299'
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960451: <009><009>Plan:ISDN, Type:Subscriber(local)
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960452: 533213: Sep 6 15:27:45.121: ISDN BR0/1/1 EVENT: process_rxstate: ces/callid 1/0x192A calltype 2 HOST_INCOMING_CALL
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960453: 533214: Sep 6 15:27:45.121: ISDN BR0/1/1 EVENT: host_incoming_call: call_id 0x192A, Guid = 50AAF3E5965D bchan 0
    10.10.1.251 960462: 533223: Sep 6 15:27:45.125: ISDN BR0/1/1 Q931: extract_redirect_orig_called_ie: IE type redirecting num none reason 15 cnt 1 plan -1 type 0 pres 1
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960463: 533224: Sep 6 15:27:45.125: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960464: Calling Number=3462211214, Called Number=9209299, Voice-Interface=0x46AA9C28,
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960486: 2: Dial-peer Tag=299
    2006-09-06 13:27:36 UTC Local7.Debug 10.10.1.251 960487: 533232: Sep 6 15:27:45.133: //-1/50AAF3E5965D/DPM/dpMatchPeersCore:
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960489: 533233: Sep 6 15:27:45.133: //-1/50AAF3E5965D/DPM/dpMatchPeersCore:
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960490: Match Rule=DP_MATCH_DEST; Called Number=299
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960491: 533234: Sep 6 15:27:45.133: //-1/50AAF3E5965D/DPM/dpMatchPeersCore:
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960492: Result=Success(0) after DP_MATCH_DEST
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960494: Result=SUCCESS(0)
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960495: List of Matched Outgoing Dial-peer(s):
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960496: 1: Dial-peer Tag=20003
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960497: 2: Dial-peer Tag=299
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960498: 533236: Sep 6 15:27:45.137: ISDN BR0/1/1 Q931: TX -> CALL_PROC pd = 8 callref = 0x81
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960499: <009>Channel ID i = 0x89
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960500: <009><009>Exclusive, B1
    2006-09-06 13:27:37 UTC Local7.Debug 10.10.1.251 960501: 533237: Sep 6 15:27:45.153: ISDN BR0/1/1 Q931: TX -> ALERTING pd = 8 callref = 0x81
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960502: 533238: Sep 6 15:27:51.825: ISDN BR0/1/1 Q931: TX -> CONNECT pd = 8 callref = 0x81
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960503: <009>Channel ID i = 0x89
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960504: <009><009>Exclusive, B1
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960505: 533239: Sep 6 15:27:51.929: ISDN BR0/1/1 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x01
    2006-09-06 13:27:43 UTC Local7.Debug 10.10.1.251 960506: 533240: Sep 6 15:27:51.929: ISDN BR0/1/1 EVENT: process_rxstate: ces/callid 1/0x192A calltype 2 HOST_CONNECT
    2006-09-06 13:27:44 UTC Local7.Info 10.10.1.251 960507: 533241: Sep 6 15:27:51.933: %ISDN-6-CONNECT: Interface BRI0/1/1:1 is now connected to 3462211214

  • IDisk quits too early, launch too late

    i found iDisk is quitting too early, before the apps close. So any app with preferences saved on iDisk will have problems.
    Also it launches too late, after the app like Things launch and can't find their database
    I thinks is a very bug SL bug.
    Also links from iDisk saved in Finder left bar disappear after at every startup

    kytim wrote:
    I need to be rational about my needs.
    In general
    Retina cannot upgrade RAM.  Storage can be upgraded, but more $ than upgrading the non-Retina unit.
    Non-Retina unit can upgrade RAM  base-4 GB to 16 GB for about $85 (cf. OWC.)  HD can be replaced with SSD or larger HD.   
    Therefore lack of "upgradability" in Retina
    No optical drive in Retina.
    The non-Retina has  Ethernet and FireWire ports, and a slot for a secure cable- the Retina  none of these ports.

  • Outlook displays date of birthdays one day too early in MS Office 2007, 2010 and 2013

    Hi
    We are supporting several clients that has issues with Outlook. Different versions of Windows, Office and different exchange server versions. Some contacts' birthdays
    just "magically" changes to one day too early.  I have done extensive research with no answer. I have experienced this issue personally as early as about 2005 or 2006 with a Windows Mobile PDA.
    Our local time is GMT +2 without daylight-savings. I have checked the settings in Windows (Vista Pro and Win 7 pro
    x86 and x64) and the calendar settings, I have reloaded a couple of pc's, created new profiles, installed new server hardware with newer exchange.  Even tried a few off-the-wall ideas like resetting all views to default.
    Some users' address books are shared, some not. Some uses Apple, Android, BB or Windows phone, some don't.  Some connects through VPN, some don't. Some uses
    AVG, Avast, Eset Nod, Forticlient, Mcafee, etc....
    I have been fighting this problem for months, and can find no conclusive answer that resolves this.
    If I manually open the contact and rectify the date, it will stay correct for a very random time period and then shift
    again.
    I am about to lose a couple of my biggest clients, and probably my job as well, so I need urgent help.
    Please no remarks on OS version, Office version or mobile devices, as this is definitely not the issue.
    HELP!

    Hi,
    Have the users check on OWA, does the issue persist? Please also make sure the timezone of Exchange is also properly configured.
    I'm not an expert about Exchange, I hope this blog can be helpful:
    http://blogs.technet.com/b/fun_with_powershell/archive/2013/04/30/where-is-the-time-zone-property-stored-in-exchange-2010.aspx
    To further dig the problem, rectify the date on owa and drop Outlook for a while(or one day), check the result the next day if the problem will come back.
    Regards,
    Melon Chen
    TechNet Community Support

  • Server0 process taking too much time

    Hi All,
        Once i start the Netweaver server, the server) process taking too much time.
    When i was installed Netweaver that time 13 min, after 2 months 18 min.. then 25 min now it is taking 35 minutes.... to become green color.
    Why it is taking too much time, what might be the cause.....
    Give some ideas to solve this problem..............
    The server0 developer trace has this information continuously 6 to 7 times...
    [Thr 4204] *************** STISEND ***************
    [Thr 4204] STISEND: conversation_ID: 86244265
    [Thr 4204] STISEND: sending 427 bytes
    [Thr 4204] STISearchConv: found conv without search
    [Thr 4204] STISEND: send synchronously
    [Thr 4204] STISEND GW_TOTAL_SAPSEND_HDR_LEN: 88
    [Thr 4204] NiIWrite: hdl 0 sent data (wrt=515,pac=1,MESG_IO)
    [Thr 4204] STIAsSendToGw: Send to Gateway o.k.
    [Thr 4204] STIAsRcvFromGw: timeout value: -1
    [Thr 4204] NiIRead: hdl 0 recv would block (errno=EAGAIN)
    [Thr 4204] NiIRead: hdl 0 received data (rcd=3407,pac=2,MESG_IO)
    [Thr 4204] STIAsRcvFromGw: Receive from Gateway o.k.
    [Thr 4204] STISEND: data_received: CM_COMPLETE_DATA_RECEIVED
    [Thr 4204] STISEND: received_length: 3327
    [Thr 4204] STISEND: status_received: CM_SEND_RECEIVED
    [Thr 4204] STISEND: request_to_send_received: CM_REQ_TO_SEND_NOT_RECEIVED
    [Thr 4204] STISEND: ok
    [Thr 4204] STIRCV: new buffer state = BUFFER_EMPTY
    [Thr 4204] STIRCV: ok
    [Thr 4204] *************** STSEND ***************
    [Thr 4204] STSEND: conversation_ID: 86244265
    [Thr 4204] STISearchConv: found conv without search
    [Thr 4204] STSEND: new buffer state = BUFFER_DATA
    [Thr 4204] STSEND: 106 bytes buffered
    [Thr 4204] *************** STIRCV ***************
    [Thr 4204] STIRCV: conversation_ID: 86244265
    [Thr 4204] STIRCV: requested_length: 16000 bytes
    [Thr 4204] STISearchConv: found conv without search
    [Thr 4204] STIRCV: send 106 buffered bytes before receive
    [Thr 4204] STIRCV: new buffer state = BUFFER_DATA2
    [Thr 4204] *************** STISEND ***************
    then
    [Thr 4252] JHVM_NativeGetParam: get profile parameter DIR_PERF
    [Thr 4252] JHVM_NativeGetParam: return profile parameter DIR_PERF=C:\usr\sap\PRFCLOG
    this message continuously
    Can i have any solution for the above problem let me know .
    Thanks & regards,
    Sridhar M.

    Hello Manoj,
           Thanks for your quick response, Previously the server has 4GB RAM and now also it has same.
    Yesterday i found some more information, like deployed(through SDM) applications also take some memory at the time of starting the J2EE server...Is it right?
    Any other cause...let me know
    Thanks & Regards,
    Sridhar M.

  • Preflight Droplet/Acrobat Startup Automation Problems

    Hello,
    We're experiencing some problems regarding preflight droplets not being executed for some instances when the Acrobat XI application
    (Acrobat Pro XI and Windows XP) is not yet opened before the preflight droplet is executed (Acrobat is started/opened due to the preflight droplet call but it doesn't execute the preflight droplet anymore).
    If Acrobat is not yet opened and we executed the droplet, Acrobat opens and loads but the preflight action is not executed (we waited for a long time thinking Acrobat is still warming up but nothing really happens), we tried executing preflight droplet again (with the opened faulty Acrobat) and still does nothing. We needed to close Acrobat and reopen manually before we execute the preflight droplet for it to work again. Note that we are executing the preflight droplet using the commandline using our program (java) and not using drag and drop. Seems Acrobat is still initializing so it wasn't able to queue the preflight process... Note though that this does not happen all the time.
    Can anyone from Adobe check if this is a known issue?
    Currently, the only resolution is to manually open Acrobat and open the preflight window and let it initialize and close the preflight window again and leave acrobat open before executing executing the droplet (which is a bit troublesome if we want to automate opening Acrobat when server is restarted or just turned on)
    Please advise if there is a fix for this? Or is there a way to initialize the preflight preferences on startup of Acrobat via commandline line or any other option.
    we can try to execute a script/bat file to start up Acrobat + initialize its preflight preferences before executing our program (though we're not sure if initializing the preflight preferences can be automated on startup of Acrobat).
    Thanks

    Hello,
    We're experiencing some problems regarding preflight droplets not being executed for some instances when the Acrobat XI application
    (Acrobat Pro XI and Windows XP) is not yet opened before the preflight droplet is executed (Acrobat is started/opened due to the preflight droplet call but it doesn't execute the preflight droplet anymore).
    If Acrobat is not yet opened and we executed the droplet, Acrobat opens and loads but the preflight action is not executed (we waited for a long time thinking Acrobat is still warming up but nothing really happens), we tried executing preflight droplet again (with the opened faulty Acrobat) and still does nothing. We needed to close Acrobat and reopen manually before we execute the preflight droplet for it to work again. Note that we are executing the preflight droplet using the commandline using our program (java) and not using drag and drop. Seems Acrobat is still initializing so it wasn't able to queue the preflight process... Note though that this does not happen all the time.
    Can anyone from Adobe check if this is a known issue?
    Currently, the only resolution is to manually open Acrobat and open the preflight window and let it initialize and close the preflight window again and leave acrobat open before executing executing the droplet (which is a bit troublesome if we want to automate opening Acrobat when server is restarted or just turned on)
    Please advise if there is a fix for this? Or is there a way to initialize the preflight preferences on startup of Acrobat via commandline line or any other option.
    we can try to execute a script/bat file to start up Acrobat + initialize its preflight preferences before executing our program (though we're not sure if initializing the preflight preferences can be automated on startup of Acrobat).
    Thanks

  • Is it too early to start with JavaFX Mobile Development ?

    There are no developer compnents except "TextBox"
    The only samples i can see are "showing Photos in grid like structure & similar kinds of app" :(
    it doesn't even support Swing
    What developer wants "Data Entry Form" which user will submit data to Server Or Store data To Database & then Process the Data & return Result to user, Etc & much more req
    why javaFx is more Media Oriented( Audio, Video,Graphics,Animation,Games,etc)
    What benifits it provides to Developer.I am basically targetting JavaFX Mobile
    Please Reply to help me understand What Can I do In JavaFx mobile domain
    Thanks & Regards,
    Pravin

    Hello, and Welcome to the HP Support Community! As with any Internet Forum, you have to realize that you are visiting a "hospital" - most folks here are the minority who have had problems. If one was to judge the human race by visiting a hospital, you might run outside screaming "WE'RE ALL DOOMED!  EVERYONE HERE IS SICK!!!"   Those who have no issues at all do not come here and check in.  The few that actually do come by and offer compliments are far and few between, and they are greatly appreciated by us! I've asked HP about Win10.  They will not provide an answer until the final release is out.  It could run with zero issues, or not! The Sprout is an amazing device - a large touchscreen All In One computer with some cool options not many other PC's could ever do! Is it too early?  I've had one for almost a year (a loaner from HP for my participation here).  Glitches?  A few that were easily remedied.  The decision is up to you.  If worried about Win10, then wait a month or two.  The device runs fine on Win 8.1.  Why change to Win10? WyreNut

  • TS4.2: VI too early to convert

    Hi,
    I'm getting the error -18002 VI too early to convert when I execute a TestStand 4.2 sequence file with the TestStand Base Deployment Engine. I created the Deployment installer with the deployment tool in TS4.2 and installed it on a second system. I added all needed LV runtimes and drivers incl. TestStand Deployment Engine. All installed softwares shown in the MAX are equal to the Developing system. But on the target system I always get the mentioned error. So I searched the NI Forum and found a similar Problem, but no real solution for that. I think, that the TestStand Base Deployment Engine on the target system chooses the wrong LV runtime engine, something higher then 8.2.1 (this is the version of the VI's). When I change the Labview adapter the the developing system to 8.6.1, I get the same error. But with 8.2.1, everything works fine.
    How can I change the default LabView Runtime Version for the TestStand Base Deployment Engine?
    Thnaks in Advanced
    M. Tiedje
    Solved!
    Go to Solution.

    mtimti wrote:
     [...]I need a something like the LabView Adapter (like in TestStand developing system) in the TestStand Base Deployment System.[...]
    The TestStand deployment has also settings for Adapters. It is possible, that your UI does not supply you with the option to change those settings. You can always install the predefined UIs delievered with TestStand and run it on the deployment system. You can then change the settings for the LV Adapter as needed.
    mtimti wrote:
    [...]All my settings and software version are identical on both systems.[...]
    If this is true, then the LV Adapter settings should already be correct. Therefore, there has to be another reason for this behavior. But please check the settings as described before.
    mtimti wrote:
    [...]The whole problem started when we decided to change the TS version form 3.5 to 4.2. everything was fine with 3.5 and I thought I only need to deploy everything again and that's it, bau then came the VI version error.[...]
    Never heared something like this. I asume that not only TestStand was updated in the process. Is it possible, that you have been working with something older than LV 8.2 when using TS 3.5? If so, please masscompile all VIs using 8.2 before deploying them.
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Folder action kicks in too early

    I have a little applescript that is to add all files that are added to a specific folder to an iTunes playlist.
    I added the script as a folder action to the folder.
    It seems to work fine with single files.
    However, when I copy several files (which takes a few seconds), then the script gets started too early, i.e., when only half of the files have been copied over. Consequently, only some of the files get added to the playlist.
    In addition, when I copy a large number of files, it doesn't seem to work at all.
    Any ideas what's wrong? or what I can do?
    (Is this a bug in Mac OS? I read about an issue in 10.5 where folder actions got started before a single files was finished copying, but I haven't seen of any hints about my problem.)
    Any kind of help will be highly appreciated.
    Best regards,
    Gabriel.
    PS:
    Here is my script, for completeness
    Automatically add the files that are dropped on this applescript to
    playlist named below.
    To adapt it for a different playlist, just change the name below and save as application.
    In addition, you can add this script as a folder action
    Author: Gabriel Zachmann, Feb 2010
    property playListName : "Hoerspiele"
    on open theseFiles
    addTheFiles(theseFiles)
    end open
    on adding folder items to this_folder after receiving added_items
    addTheFiles(added_items)
    end adding folder items to
    to addTheFiles(theFiles)
    tell application id "com.apple.iTunes"
    activate
    set playL to some playlist whose name is playListName
    set playID to persistent ID of playL
    --display dialog ("persistent ID = " & playID) buttons {"OK"} default button 1
    reveal (some playlist whose persistent ID is playID)
    repeat with aFile in theFiles
    try
    add aFile to some playlist whose persistent ID is playID
    end try
    -- set new date, so we know later when we copied the files
    set the file_path to the quoted form of the POSIX path of aFile
    do shell script ("/bin/touch " & file_path)
    end repeat
    end tell
    end addTheFiles
    Message was edited by: GabrielZ

    folder actions have always been buggy and this has always been an issue when folder actions have to process many files at the same time. it's supposed to have gotten better in snow leopard but it's still very far from being reliable. you can try the following trick to slow down your folder action and make it wait to process individual items before they are all copied. that might (or might not ) help
    http://discussions.apple.com/message.jspa?messageID=8277780#8277780

  • GCU membership set to expire 11 months too early

    Hello! I'm posting here about an issue with my Gamer's Club Unlocked membership. These snippets of my emails to Best Buy Customer Support should explain my problem:
    12/19/2013
    Me: I just renewed my Best Buy GCU membership for an additional two years, but my problem is that those two years did not stack with the remaining time on my previous one year membership, which did not expire until February 10, 2014. My newly-renewed membership says it will expire on December 18, 2015, but it should not expire until February 10, 2016. Will you please fix this?
    Date unknown
    Me: I renewed my GCU membership last December, but I haven't received the physical magazine in the mail since then, nor have I ever received any of the digital version's coupons.
    02/25/2014
    Support: I suggest you to go at the store and they will be more than glad to assist you with your concern.
    Date unknown
    Me: I already tried asking the store manager at my nearest Best Buy for help with this multiple times. She said there was nothing she could do, and to contact online customer support. You're the third online customer support Rep to suggest I go back to the store for help. I'm tired of getting bounced back and forth...
    02/27/2014
    Support: We are experiencing system maintenance, reason why it is reflecting that date. As soon as it is over, the correct date will be reflected on your account.
    Date unknown
    Me: It's now been about a week and a half since your most recent reply, and my Gamer's Club Unlocked memberships is still set to expire on December 18, 2015, when it should not expire until February 10, 2016. Surely "system maintenance" wouldn't be going on this long... I asked the store manager of my nearest Best Buy one more time if she could help with this -- once again, she said no. Will this ever get fixed? Or am I just stuck with losing two months of my membership?
    03/11/2014
    Support: In regard to your concern, we were having system maintenance issue however, you will not loose two months of your membership it will expired the date it should be.
    03/12/2014
    Me: I just checked my account, and now my Gamer's Club Unlocked membership is set to expire on 3/10/2015. It's even worse now than it was before! Now it's set to expire 11 months too early. My GCU membership should not expire until 02/10/2016.
    03/12/2014
    Support: We have escalate this case to our support department. This process will take 7 to 10 business day and they will contact you with a resolution to your concern.
    Nearly 4 months later, I have not received any further messages from Customer Support, and my GCU membership is still set to expire 11 months too early. Would someone here please help me with this?

    Hey Bent_00,
    As enuf mentioned, your patience is absolutely incredible and I sincerely thank you for it. It’s clear to me that you’ve spent a significant amount of time working with our support representatives in regards to your Gamers Club Unlocked (GCU) membership expiration date. While I greatly thank you for joining GCU, I do apologize for any confusion you’ve endured about when your benefits should expire.
    This is in fact a known issue and our My Best Buy team has been working to resolve the issues causing your expiration date to reflect incorrectly. While some GCU members are now seeing their correct expiration date, we are aware that some may still be incorrectly reflecting. As enuf further alluded to, we are very confident that this will be resolved well before your GCU benefits would ever expire.
    I appreciate you sharing your concerns with us on the forums. If you have any other questions, please don’t hesitate to ask! Thanks again for being a GCU member.
    Best regards,
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Windows TCP Socket Buffer Hitting Plateau Too Early

    Note: This is a repost of a ServerFault Question edited over the course of a few days, originally here: http://serverfault.com/questions/608060/windows-tcp-window-scaling-hitting-plateau-too-early
    Scenario: We have a number of Windows clients regularly uploading large files (FTP/SVN/HTTP PUT/SCP) to Linux servers that are ~100-160ms away. We have 1Gbit/s synchronous bandwidth at the office and the servers are either AWS instances or physically hosted
    in US DCs.
    The initial report was that uploads to a new server instance were much slower than they could be. This bore out in testing and from multiple locations; clients were seeing stable 2-5Mbit/s to the host from their Windows systems.
    I broke out iperf
    -s on a an AWS instance and then from a Windows client in the office:
    iperf
    -c 1.2.3.4
    [ 5] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 55185
    [ 5] 0.0-10.0 sec 6.55 MBytes 5.48 Mbits/sec
    iperf
    -w1M -c 1.2.3.4
    [ 4] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 55239
    [ 4] 0.0-18.3 sec 196 MBytes 89.6 Mbits/sec
    The latter figure can vary significantly on subsequent tests, (Vagaries of AWS) but is usually between 70 and 130Mbit/s which is more than enough for our needs. Wiresharking the session, I can see:
    iperf
    -c Windows SYN - Window 64kb, Scale 1 - Linux SYN, ACK: Window 14kb, Scale: 9 (*512) 
    iperf
    -c -w1M Windows SYN - Windows 64kb, Scale 1 - Linux SYN, ACK: Window 14kb, Scale: 9
    Clearly the link can sustain this high throughput, but I have to explicity set the window size to make any use of it, which most real world applications won't let me do. The TCP handshakes use the same starting points in each case, but the forced one scales
    Conversely, from a Linux client on the same network a straight, iperf
    -c (using the system default 85kb) gives me:
    [ 5] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 33263
    [ 5] 0.0-10.8 sec 142 MBytes 110 Mbits/sec
    Without any forcing, it scales as expected. This can't be something in the intervening hops or our local switches/routers and seems to affect Windows 7 and 8 clients alike. I've read lots of guides on auto-tuning, but these are typically about disabling scaling
    altogether to work around bad terrible home networking kit.
    Can anyone tell me what's happening here and give me a way of fixing it? (Preferably something I can stick in to the registry via GPO.)
    Notes
    The AWS Linux instance in question has the following kernel settings applied in sysctl.conf:
    net.core.rmem_max = 16777216
    net.core.wmem_max = 16777216
    net.core.rmem_default = 1048576
    net.core.wmem_default = 1048576
    net.ipv4.tcp_rmem = 4096 1048576 16777216
    net.ipv4.tcp_wmem = 4096 1048576 16777216
    I've used dd
    if=/dev/zero | nc redirecting to /dev/null at
    the server end to rule out iperfand
    remove any other possible bottlenecks, but the results are much the same. Tests with ncftp(Cygwin,
    Native Windows, Linux) scale in much the same way as the above iperf tests on their respective platforms.
    First fix attempts.
    Enabling CTCP - This makes no difference; window scaling is identical. (If I understand this correctly, this setting increases the rate at which the congestion window is enlarged rather than the maximum size it can reach)
    Enabling TCP timestamps. - No change here either.
    Nagle's algorithm - That makes sense and at least it means I can probably ignore that particular blips in the graph as any indication of the problem.
    pcap files: Zip file available here: https://www.dropbox.com/s/104qdysmk01lnf6/iperf-pcaps-10s-Win%2BLinux-2014-06-30.zip (Anonymised
    with bittwiste, extracts to ~150MB as there's one from each OS client for comparison)
    Second fix attempts.
    I've enabled ctcp and disabled chimney offloading: TCP Global Parameters
    Receive-Side Scaling State : enabled
    Chimney Offload State : disabled
    NetDMA State : enabled
    Direct Cache Acess (DCA) : disabled
    Receive Window Auto-Tuning Level : normal
    Add-On Congestion Control Provider : ctcp
    ECN Capability : disabled
    RFC 1323 Timestamps : enabled
    Initial RTO : 3000
    Non Sack Rtt Resiliency : disabled
    But sadly, no change in the throughput.
    I do have a cause/effect question here, though: The graphs are of the RWIN value set in the server's ACKs to the client. With Windows clients, am I right in thinking that Linux isn't scaling this value beyond that low point because the client's limited CWIN
    prevents even that buffer from being filled? Could there be some other reason that Linux is artificially limiting the RWIN?
    Note: I've tried turning on ECN for the hell of it; but no change, there.
    Third fix attempts.
    No change following disabling heuristics and RWIN autotuning. Have updated the Intel network drivers to the latest (12.10.28.0) with software that exposes functioanlity tweaks viadevice manager tabs. The card is an 82579V Chipset on-board NIC - (I'm going to
    do some more testing from clients with realtek or other vendors)
    Focusing on the NIC for a moment, I've tried the following (Mostly just ruling out unlikely culprits):
    Increase receive buffers to 2k from 256 and transmit buffers to 2k from 512 (Both now at maximum) - No change
    Disabled all IP/TCP/UDP checksum offloading. - No change.
    Disabled Large Send Offload - Nada.
    Turned off IPv6, QoS scheduling - Nowt.
    Further investigation
    Trying to eliminate the Linux server side, I started up a Server 2012R2 instance and repeated the tests using iperf (cygwin
    binary) and NTttcp.
    With iperf,
    I had to explicitly specify -w1m on both sides
    before the connection would scale beyond ~5Mbit/s. (Incidentally, I could be checked and the BDP of ~5Mbits at 91ms latency is almost precisely 64kb. Spot the limit...)
    The ntttcp binaries showed now such limitation. Using ntttcpr
    -m 1,0,1.2.3.5 on the server and ntttcp
    -s -m 1,0,1.2.3.5 -t 10 on the client, I can see much better throughput:
    Copyright Version 5.28
    Network activity progressing...
    Thread Time(s) Throughput(KB/s) Avg B / Compl
    ====== ======= ================ =============
    0 9.990 8155.355 65536.000
    ##### Totals: #####
    Bytes(MEG) realtime(s) Avg Frame Size Throughput(MB/s)
    ================ =========== ============== ================
    79.562500 10.001 1442.556 7.955
    Throughput(Buffers/s) Cycles/Byte Buffers
    ===================== =========== =============
    127.287 308.256 1273.000
    DPCs(count/s) Pkts(num/DPC) Intr(count/s) Pkts(num/intr)
    ============= ============= =============== ==============
    1868.713 0.785 9336.366 0.157
    Packets Sent Packets Received Retransmits Errors Avg. CPU %
    ============ ================ =========== ====== ==========
    57833 14664 0 0 9.476
    8MB/s puts it up at the levels I was getting with explicitly large windows in iperf.
    Oddly, though, 80MB in 1273 buffers = a 64kB buffer again. A further wireshark shows a good, variable RWIN coming back from the server (Scale factor 256) that the client seems to fulfil; so perhaps ntttcp is misreporting the send window.
    Further PCAP files have been provided, here:https://www.dropbox.com/s/dtlvy1vi46x75it/iperf%2Bntttcp%2Bftp-pcaps-2014-07-03.zip
    Two more iperfs,
    both from Windows to the same Linux server as before (1.2.3.4): One with a 128k Socket size and default 64k window (restricts to ~5Mbit/s again) and one with a 1MB send window and default 8kb socket size. (scales higher)
    One ntttcp trace
    from the same Windows client to a Server 2012R2 EC2 instance (1.2.3.5). here, the throughput scales well. Note: NTttcp does something odd on port 6001 before it opens the test connection. Not sure what's happening there.
    One FTP data trace, uploading 20MB of /dev/urandom to
    a near identical linux host (1.2.3.6) using Cygwin ncftp.
    Again the limit is there. The pattern is much the same using Windows Filezilla.
    Changing the iperf buffer
    length does make the expected difference to the time sequence graph (much more vertical sections), but the actual throughput is unchanged.
    So we have a final question through all of this: Where is this limitation creeping in? If we simply have user-space software not written to take advantage of Long Fat Networks, can anything be done in the OS to improve the situation?

    Hi,
    Thanks for posting in Microsoft TechNet forums.
    I will try to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thank you for your understanding and support.
    Kate Li
    TechNet Community Support

  • Material Cost Estimate - Release too early

    Hi,
    I ran the cost estimate for one material on 12.06.2008 and i released the cost estimate. Here it is saying 'Cost Estimate released too early'. I thought system is releasing the cost for material for the next month. but i want to update the material cost for this month only.
    And how many days before you have to run the cost estimate for the new month.
    sateesh

    Hi Sateesh,
    Please check the period which you have mentioned in CK24.
    I think the period you have given is of next month. Hence system is giving that message as next month's  period may not have been opened.
    System allows to release cost estimate only once in a period. Normal practice is to carry out cost run at the end of the month.
    Please do let me know if your problem is solved.
    regards,
    makrand

Maybe you are looking for