Question for File output

Hi experts,
is it possible for XI when it scans a folder from FTP to only pick 1 file every time it scans ?
For example, i have 5 file on my folder, but i want my files to be processed every 30 minutes each by XI
Kind regards,
Jamal

the file will be picked based on file name..to avoid the adapter picking all of them, you have to give a specific file name & not like "abc*"
so if all the files are in the same directory, the adapter may pick all of them..irrespective of poll interval
so to distinguish it, u need to change the filename which will be picked by adapter.. and this will be done by the script...
this way even if 5 files are there.. ur script will indirectly feed ur adapter with the right file (by changing the filename)
you can look for simple script files in the net & develop your logic.
hope it is clear..
Regards
Vishnu

Similar Messages

  • Measuring time elapsed for file output.

    Hello everybody
    I want to add a time constraint for a 'file output.vi'. I want to preset how long (time) should the vi write in my file. For eg. stop writing after 20 seconds. Please suggest an appropriate way for this. Am attaching my vi for your perusal.
    Thanks in advance
    Attachments:
    pic 2.JPG ‏110 KB
    TEST2.31.vi ‏419 KB

    Firstly sorry to post on two threads. Next, i got hold of a colleague's zip drive here's is the code with your modifications. But this is not functional in the following manner:
    1.The programme treats time to write in file and execution time of while loop alike, which is not required.
    If i give 30s for execution of while loop and 20s for file write time. and start writing at the same time when i start the while loop it works file, even if i give 20s for both and start both fuctions at the same time it works fine.
    But when i mention 30s for execution of while loop and 20s for file write time, and start the write function after 10s of while loop execution. I dont get data worth 20s which i want in the file.
    SO please suggest proper modifications
    Thanks in advance.
    Vaib

  • Open dataset for file output does not work

    I have the following code
    OPEN DATASET MY_FILE FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
    MY_FILE is a selection parameter for the filename but when I put any file name, say C:\tmp\test.txt, the code does not create the file for writing. If I create the file manually from windows so that I am sure it exists (Right click-> New -> Text File -> test.txt), SAP still does not open the file for writing.
    Am I doing something wrong?
    I have searched the net and the forums but I can't seem to get a useful answer...
    Thanks in advance!
    Kyle

    Hey Prabhu,
    Thanks. I kinda missed this from the documentation:
    The file must be accessible from the application server. You cannot use OPEN DATASET to process files on the current presentation server (whether PC or workstation). The function modules WS_DOWNLOAD and WS_UPLOAD exist for this purpose.
    [http://help.sap.com/saphelp_40b/helpdata/en/34/55cad198482bc0e10000009b38f91f/content.htm]
    Points have been awarded. Thank you.
    Kyle

  • Hey Guys stupid question for final output.

    Heres a dumb one guys. Ive been working long enough with this program and ought to know but Im having a terrible time. Let me start from the end.
    Final output is 1280 X 720 QT movie inserted into keynote 08' in a new imac 20"
    Knowing that computer displays, display a square pixel I start there.. here are my project settings.
    preset: custom
    1280 x 720
    8 bit
    ntscd1/dv
    field order none
    dither -unchecked
    field rendering and motion blur off
    All looks good here... then off to FCS2 timeline.. here are those settings
    1280x720 (hdtv 720p 16x9 pulldown
    pixel aspect ratio: square
    field dom: none
    Compressor: dv/dvcpro ntsc
    So heres the deal...my video all looks great once on the imac, My GFX however are blown out and somewhat blurry...... I have messed and messed with this thing. My original thinking was to stick with broadcast specs and all would be fine, Now ive starred at this for so long Im losing focus.
    So heres the big question.. knowing we going to a computer display what settings would you guys use??
    Thanks

    I don't know a huge amount about NTSC, but you seem to be mixing square and non-square pixels here from what you have written.
    If you drag a rendered clip into a new timeline do you not get the dialogue box asking if you want to make the sequence into the same format as the clip?
    Check render settings too
    Peter

  • I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file can anyone tell me why its not working?

    I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file can anyone tell me why its not working?

    1)  Apple ID: All about Apple ID security questions
    Torrifromny wrote:
    I want to reset my privacy questions for my apple i.d. But when i request to do so it sends it to a email address that isnt on my file ?
    2)  See Here.  Apple ID: Contacting Apple for help with Apple ID account security
    Ask to speak with the Account Security Team...
    3)  Or Email Here  >  Apple  Support  iTunes Store  Contact

  • HT4792 So I have a question for this: I folowed this procedure, but when I'm trying to import the IOS from IMovies in my laptop I receive a message that states that the IMovie version installed doen't supports IOS files, although I have the last version i

    So I have a question for this: I folowed this procedure, but when I'm trying to import the IOS from IMovies in my laptop I receive a message that states that the IMovie version installed doen't supports IOS files, although I have the last version installed with all the updates... Any ideas, thoughts?
    Thanks

    I also have Jolly's problem. I found the iMovie 9.0.9 folder and tried to launch the older version of iMove. It would not launch. I removed all of the iMovie preferences from the Preferences folder, removed iMove 10 from the applications folder, and restarted my Mac. iMove 9.0.9 still won't launch and I can't access my videos created with the older version of iMovie. Is there a way to uninstall iMovie 10 and reinstall iMovie 9.0.9?
    I am running Yosemitie on a  iMac.
    Paul

  • Questions for Winamp Users on organizing files..

    I have a few questions for those who use Winamp to manage their music files on their player. And this may relate to WMP and CMS users too.
    . Does anyone know what the "Auto Fill" feature does and it's purpose? I tried it a few times and it deletes and adds certain files that I don't know of, even when i have my player sync'ed perfect to my Music Folder.
    2. I thought Syncing means that it will match everthing exact to the player and computer....yet when i use the WinAmp Feature I get duplicate files. Now I have noticed that I have to clear out my library on Winamp and rescan the main folder where i have all my music on the external HD so it won't get confused with the copies I have on my PC. Yet Syncing won't tell the difference. However the CMS sync function I definately like but I don't want to jump to different software to do certain things.
    Other than that I like using Winamp just like I loved CMS pre 2. Firmware upgrade.
    What are everyone else's opinions?
    REACT TO ME!!!!!!!

    Well, I don't really know the answers to your questions, as I sync all my music manually via Winamp. I do have a question of my own on the topic though, if you don't terribly mind ... ^_^
    I know in WMP, when you set the property "Band/orchestra/accompaniment" WMP would find that if it was present in a media file and instead of using the artist's name to create the folder structure (e.g. device\Artist\Album\file), it would place it in device\Accompaniment\Album\file. Does this work in Winamp, and furthermore, is there a way to rearrange the folder structure of the player, or at least move songs around by adding this tag to songs already on the player?
    Thanks...Message Edited by lt3-Hitomi on 04-06-2006 2:40 AM

  • Comments and Moderators settings in RoboHelp Server is for AIR files? Or can it used for Pro outputs as well?

    Please explain how comments are enabled for Pro outputs in RH server. Is it only for AIR file, but i understand AIR output is not supported. Then how Moderators setting work for PRo outputs?

    Hi, PraTha
    If I can amplify what Peter has mentioned above. Actually it is just a wordy way of saying what Peter posted in one sentence! Hopefully it will help a bit.
    The relationship of AIR output and how it relates to Rh Server is admittedly confusing. In fact both are mutually exclusive.
    The AIR Help output does indeed support commenting as well as the moderation of those comments by designated people.
    However RoboHelp Server *does not* support commenting at this time. This feature has been requested and perhaps we will see it in a future release.
    Unlike a help system delivered by HTTP from a web server (like RoboHelp Server's WebHelp Pro), the AIR Help output (.air file) is an application which is installed on the end-user's local computer. For security reasons this works well for distributing and updating a help system. Optionally, it also supports commenting but because the comments must be "stored" somewhere outside the local computer, there are serveral options. One is to store them on an internal server (such as a network drive behind a firewall).
    So where might RoboHelp Server come into the picture at all? Here's the answer. Some organizations deploy both output flavors (AIR and RoboHelp Server) for different systems and different audiences. IF the RoboHelp authors *coincidentally* happen to have RoboHelp Server in their organization, then this server can be used to authenticate (usernames/passwords) for the moderation and storage of comments that AIR Help requires.
    The bottom line is that presently RoboHelp Server does not support commenting for its own output, though it can as a convenient "host" for the comments and moderation of a separate AIR Help system.
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • Checking for files in a folder -- Wrong output

    Hi guys,
    I'm writing a simple program, I have to check for 6 files (hardcoded, they will never change) if they are in certain directories/paths.
    The problem is, I think I have a problem in my IF statements, because it continueally returns false.
    The paths are on networked drives, does that make a difference?
    I'm rather stuck on this one, any help would be appreaciated.
    (some paths/file names have been replaced by "xxxxxxxxx", for security)
    * Checks for files in a directory, prints results.
    * @author Mitchell
    * @version 0.2
    * @date 28 Jul '05
    import java.awt.*;
    import java.io.*;
    import java.lang.Object;
    import javax.swing.*;
    import java.util.*;
    public class FileCheck extends JFrame
        //declare filenames/paths, add more if needed.
        String fileName1 = "file it2_load.txt";
        String fileName2 = "mo_batch.txt";
        String fileName3 = "mo_bcp.txt";
        String fileName4 = "mo_load.txt";
        String fileNameX = "IT2_1000_yyyymmdd.txt";
        String fileNameY = "IT2_2000_yyyymmdd.txt";
        //declare directories to search
        String fileLocation1 = "\\\\xxxxxxxxx\\aus_bear\\Patrol";
        String fileLocation2 = "\\\\xxxxxxxxx\\nz_bear\\Patrol";
        String fileLocation3 = "\\\\xxxxxxxxx\\bear\\remote\\RTS";
        String fileLocation4 = "\\\\xxxxxxxxx\\bear\\remote\\RTS";
        //declares array for filename storage. Change if needed.
        File fileNamesArray1[];
        File fileNamesArray2[];
        File fileNamesArray3[];
        File fileNamesArray4[];
        //set path to find files
        File filePath1 = new File(fileLocation1);
        File filePath2 = new File(fileLocation2);
        File filePath3 = new File(fileLocation2);
        File filePath4 = new File(fileLocation2);
        //string buffer to store results
        StringBuffer results = new StringBuffer();
        //start of FileCheck method
        public FileCheck()
            //collects all filenames from pre-set path1
            fileNamesArray1 = filePath1.listFiles();
            results.append("This program checks for files in given folders."
                            +"\nTRUE = File does exist in folder."
                            +"\nFALSE = File does not exist in folder.\n\n");
            results.append(fileLocation1 + "\n");
            //start for loop1 - check for pre-set filenames in path1
            for(int i=0; i < fileNamesArray1.length; i++)
                    if( fileName1.equals(fileNamesArray1.toString()))
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> TRUE\n" + fileNamesArray1[i].lastModified());
    else if( fileName2.equals(fileNamesArray1[i].toString()))
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> TRUE\n" + fileNamesArray1[i].lastModified());
    else if( fileName3.equals(fileNamesArray1[i].toString()))
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> TRUE\n" + fileNamesArray1[i].lastModified());
    else if( fileName4.equals(fileNamesArray1[i].toString()))
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> TRUE\n" + fileNamesArray1[i].lastModified());
    else
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> FALSE\n");
    } //end for loop1
    //collects all filenames from pre-set path2
    fileNamesArray2 = filePath2.listFiles();
    results.append("\n" + fileLocation2 + "\n");
    //start for loop2 - check for pre-set filenames in path2
    for(int j=0; j < fileNamesArray2.length; j++)
    if( fileName2.equals(fileNamesArray2[j].toString()))
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> TRUE\n" + fileNamesArray2[j].lastModified());
    else if( fileName2.equals(fileNamesArray2[j].toString()))
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> TRUE\n" + fileNamesArray2[j].lastModified());
    else if( fileName3.equals(fileNamesArray1[j].toString()))
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> TRUE\n" + fileNamesArray2[j].lastModified());
    else if( fileName4.equals(fileNamesArray1[j].toString()))
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> TRUE\n" + fileNamesArray2[j].lastModified());
    else
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> FALSE\n");
    } //end for loop2
    //collects all filenames from pre-set path1
    fileNamesArray3 = filePath3.listFiles();
    results.append("\n" + fileLocation3 + "\n");
    //start for loop3 - check for pre-set filenames in path1
    for(int k=0; k < fileNamesArray3.length; k++)
    if( fileNameX.equals(fileNamesArray3[k].toString()))
    results.append("PATH3 >> " + fileNamesArray3[k] + " >> TRUE\n" + fileNamesArray3[k].lastModified());
    else
    results.append("PATH3 >> " + fileNamesArray3[k] + " >> FALSE\n");
    } //end for loop3
    //collects all filenames from pre-set path4
    fileNamesArray4 = filePath3.listFiles();
    results.append("\n" + fileLocation4 + "\n");
    //start for loop4 - check for pre-set filenames in path1
    for(int l=0; l < fileNamesArray4.length; l++)
    if( fileNameY.equals(fileNamesArray4[l].toString()))
    results.append("PATH4 >> " + fileNamesArray4[l] + " >> TRUE\n" + fileNamesArray4[l].lastModified());
    else
    results.append("PATH4 >> " + fileNamesArray4[l] + " >> FALSE\n");
    } //end for loop4
    //construct displaybox for results
    JTextArea textArea = new JTextArea( results.toString() );
    textArea.setEditable(false); //disables modification of results
    Container container = getContentPane();
    container.add( new JScrollPane( textArea ) );
    setSize( 500, 500 ); // set window size
    setVisible( true ); //allow visibility
    //main
    public static void main (String args[])
    FileCheck window = new FileCheck();

    You could try using the File.exists() method.
    The paths are on networked drives, does that make a difference?Try the above on a local file and a networked file.
    I'm writing a simple program, Actually a simple program would be something like:
    File file = new File("xxx");
    System.out.println(file.exists());No need to include all the code you posted.
    http://www.physci.org/codes/sscce.jsp

  • When bates numbering a .pdf in XI, how can I change the file name to include the bates number AND its name?  I know under file output, there is an option for either/or.  I want both.  Thank you.

    when bates numbering a .pdf in XI, how can I change the file name to include the bates number and the file name?  I know under "file output: it's either/or.  I need both.  Thanks!

    Long ago I wrote a little demo using the touch command. Check out the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=25128#M25128
    LabVIEW Champion . Do more with less code and in less time .

  • Change flag deactivaion for PO output message type during change mode

    Hello All,
    WE are using automatic message output determination functionality for PO output type. This output type has been configured for creation and change mode under Fine tuning.
    Two output type are configured, for example ZAAA is output type for ALE and output type ZBBB for  archiving.
    Here  archiving functionality is used to transfer attachment from ERP system to SUS supplier portal as a pdf file. This is done via enhancement and the attachment transfer is working fine.
    During creation mode both the output types are determined and successfully processed and as a result attachment is transferred to supplier portal which is absolutely correct. In the attachment all PO line item can be seen which works well.
    Now I change the PO and add a new PO line item, system automatically default both the output type for change mode and upon saving both the output type are successfully processed.
    Now here is the problem in change mode only the added PO line item is sent as an attachment to the supplier portal. Here the requirement is see all the PO line items including the once which were newly added.
    Solution is if we uncheck the change flag for output type ZBBB during change mode then all the PO line item can be seen under the new attachment with new version.
    Please let us know how this functionality can be acheived ... is there an user exit available.
    We have a work around where we are running a background job every 3 mins and based on the last successfully processed message for output type ZAAA we are attaching first output type ZBBBfor archiving the changes and then ZAAA for sending the changes along with attachment to Supplier portal.However this solution is a temporary one , we need a concrete solution for this.
    Please advise.
    Thanks,
    Yatin

    Hello All,
    Thanks for the reply,
    But we cannot modify the existing print program as this print program is being used in different countries also.
    We already know a solution that during change mode if we remove the change flag from output type ZBBB then all the PO line items along with the recent changes can be seen under the attachment under supplier portal.
    The question comes now, how do we automate this processu2026 Is there any standard progam or user exit available.
    Manually, if you add a message type ZBBB in ME22N tranasction for creation mode then all PO line item with recent changes get transferred but we need to automate this process for create and change PO transaction.
    Thanks,
    Yatendra

  • Dynamic update to Inbound Directory for File Adapter Read

    I've seen references to others asking similar questions but never a good answer.
    I have a process that outputs files into daily dated directories. In other words, my Inbound Direct name is dynamic. I would like BPEL to be able to pick up these files but the Directory Spec for the inbound file adapter seems to be set at design time (or in the case of a Logical Directory Deployment time).
    The directory names are in YYYMMDD format. So it would be:
    importdir/YYYMMDD
    for each day.
    Is there a way I can monitor an entire subtree, or have some event that triggers the directory name to be updated (for instance, a process watches the parent directory and kicks off when a new directory is created), or any other method I can inform the FileAdapter to begin polling a different directory.
    Thanks.

    Hi,
    Look at this document : [Oracle JCA Adapter for Files/FTP|http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAFJCCE]
    Romain.

  • System trace for File, JDBC adapter

    In the  JDBC Adapter Help (help.com) I see:
    „The adapter writes the output (STDOUT and STDERR) for the operating system command in the system trace.”
    Which trace is meant here?
    I have the same question regarding File Adapter.
    Thanks, Jozsef

    Hi,
    have a look at my weblog to see how you can check
    the traces:
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Interview question for support engineer

    interview question for support engineer ....please can i get this sir..need to interview for apple as support engineer...thank you

    Hi Fritz,
    Let us address the problem one by one.
    1. You might need to change the source structure to :
    -root 1..1
    --Value 1..unbounded
    Please note root and Value are the names given by me you can use any names as per your wish. But we cannot have the source as you specified, will this source be ok for you?
    2. Give File content conversion parameter
    recordset name = Vale
    Value.endSeparator 'nl'
    By doing this there will be a Value node created when the source file has a newline character
    3. In message mapping create two UDF
    *UDF1 (Simple ?UDF with input field named *input )
    for (int i=0;i<input.length;i++)
       output += input<i>;
    return output
    *UDF2 (Simple UDF with input field named input)*
    int i = 1;
    String [] value = new String[112];
    while (input.indexOf(";") != -1)
    String counter = "";
    Integer i_int = new Integer (i);
    if (i<10)
        counter = "00"+ i_int.toString();
    else if (i>9 && i<100)
         counter = "0"+ i_int.toString();
    else counter = i_int.toString();
    if (input.startsWith(counter)) {
      value<i> = input.substring(3, input.indexOf(";"));
      if (input.indexOf(";") != -1 )
         input = input.substring(input.indexOf(";")+1);   
    else
      value <i> = "";
    i++;
    int j;
    GlobalContainer globalContainer = container.getGlobalContainer();
    globalContainer.setParameter("Output", value);
    Now do a mapping like this
    Value (context root)--> UDF1 > UDF2> target root node (ie Bewsatz)
    By this step you set all the values in global container named Output
    3. Now for each target  field call this UDF
    *UDF3 (Simple UDF with input field named pos)*
    GlobalContainer globalContainer = container.getGlobalContainer();
    String[] Value = (String[] )globalContainer.getParameter("Output");;
    String outvalue;
    if (Value != null) {
    outvalue = Value(pos) ;
    return outvalue;
    Call this UDF for each output field with positions like 1, 2, 3, ...111
    Please try this
    Regards
    Suraj

  • [CRS2008] Scheduling a report to multiple file output in single schedule

    Hi,
    Is there any way in CRS2008 / Infoview to scheduling one report to multiple file output in one schedule?
    i thought maybe it can, but still not found the way.
    Says,
    I have one report say "Report by Branch.rpt", the parameter prompt is BranchCode.
    I want to generate the "Report by Branch.rpt" for every BranchCode in separate output generate file. Like, "Report by Branch.rpt" for BranchCode A, or "Report by Branch.rpt" for BranchCode B.
    So, if i run the schedule, it will generate several report based on the report parameter given.
    Hope, would find the way.
    Thanks in advance.
    Regards.
    Edited by: fritzwijaya on Sep 20, 2010 3:47 AM

    For anyone still looking, the job can be seen under the Job History option on the home screen, but not on the Job History option under the report in the catalog - i am assuming this is becasue somehow im not referencing the report correctly in the ScheduleReport request message.
    Also, the jobId returned is a parent jobId, which when used to poll the job status, always returns a 'Scheduled' status. Im now adding 1 to this ID to get the status of my job - this returns the correct status of 'Success'.
    Still hoping someone has an idea on the getDocumentData question...?
    Thanks.

Maybe you are looking for

  • U.S., Acrobat X: Exporting column PDF data to Excel 2007. Date is m/dd/yy.

    All the dates get exported to excel correctly but the format changes from English(1/3/09) to European(3/1/09).  Any suggestions would be greatly appreciated. Thanks.

  • OBIEE 11.1.1.6 Scheduler Server fails to start

    When the server is rebooted we often have failures in start up of the scheduler server in bipublisher. It is always connect to a MBEAN failure. During operations when it does come up we see a lot of error messages about MBEAN errors as well. I would

  • Kia Sorento with Droid 2

    Just bought a 2011 Kia Sorento..... without navigation. My Droid seems to pair just fine with the car, but my wife's Droid 2 only wants to do it intermittently and it doesn't work well when it does.....  can't hear person on the other end and music d

  • Iphone Scrolling - or lack of?

    On a large list of emails, I know you can jump to the top by clicking on the top bar but is there really no way to jump to the bottom quickly. Currently it takes 20+ flicks to scroll to the bottom, I hope the Iphone really isn't that un-intuitive, gi

  • "iCloud for Windows" has an invalid signature. It will not be installed.

    09-22-2014 I tried installing the update for iCloud on Windows. I received the following error: "iCloud for Windows" has an invalid signature. It will not be installed. I tried to install again but received the same error message. How do I fix this?