Reg : I need to generate a file name sequence number.

Dear All,
I need to generate file name in sequence number. Now i have generated file in specific folder. In that folder file i am reading one by one and generating. Problem is folder file some names having special characte those names are not generating while reading 'Cat' Caommand in shell script. Instad of that i want to generate files in 1.ldt,2.ldt to etc..
Please guide me how to generate in specific folder.
Thanks in advance.
Best Regards,
Velu.

First, LabVIEW 7 allows you to pass string and path data types directly into the Matlab script node. Otherwise, in LV <= 6.1 you can do the following:
In LabVIEW, convert the string to an array of U8s using the String to Byte Array function. Then pass the U8 array into the Matlab script node as a Real Vector type. Finally, in Matlab, convert the Real Vector to a string using the char() function. For example:
stringAsString = char(stringAsRealVector)
Attached is an image that shows how to do this.
Good luck,
-Jim
Attachments:
Matlab_Script_Node_String_Input.GIF ‏6 KB

Similar Messages

  • Need help in setting file name with special characters in attachment

    Hi
    We have a requirement where we need to set the file name that contains special characters (like Russian) and send mauil using Java mail.
    If we set the file name as such, the attachment in the email contains garbled filename
    Can you pl let me know how to resolve this?
    We should use the file name as attachment name and this will have say special characters. The receiver who gets the mail should get with the correct attachment name
    One important point.. the attachments are opened from MS outlook.
    Thanks and regards
    Ram
    Edited by: 884910 on 13 Sep, 2011 5:00 AM

    Read the FAQ carefully. You don't need to call encodeText unless you're using a really
    old version of JavaMail.
    And, it depends on whether the mail reader you're using is handling encoded parameters
    according to the (new) MIME standard, or according to the (old) non-standard hack.
    Sadly, without knowing what mail reader the recipient is using, it's impossible to use
    encoded filenames that will work everywhere.

  • Need to generate PDF file from OAF with "n" number of fields

    Hi All,
    I have a requirement in OAF to generate PDF file with n number of fields in PDF output. PDF output could have some times 2 fields or 3 fields or 7 fields too in some condition and it will be based on one parameter. This output will be looks like below given scenarios:
    Example Scenario I
    Emp No | Emp Name | Dept No | Job |
    11 | Abc | 10 | MGR |
    Example Scenario II
    Emp No | Emp Name |
    11 | Abc |
    Please let me know if any one know how to go about it.
    Thanks in advance,
    Arvin
    Edited by: user636850 on Jan 26, 2011 6:11 AM

    Hi All,
    I have a requirement in OAF to generate PDF file with n number of fields in PDF output. PDF output could have some times 2 fields or 3 fields or 7 fields too in some condition and it will be based on one parameter. This output will be looks like below given scenarios:
    Example Scenario I
    Emp No | Emp Name | Dept No | Job |
    11 | Abc | 10 | MGR |
    Example Scenario II
    Emp No | Emp Name |
    11 | Abc |
    Please let me know if any one know how to go about it.
    Thanks in advance,
    Arvin
    Edited by: user636850 on Jan 26, 2011 6:11 AM

  • Need to extract only file name from path.........

    Hi All,
    I have a parameter.This calls the function
    "CALL FUNCTION 'F4_FILENAME' to get the file from C drive.
    After selecting the file the path is displayed in the Parameter field.
    My problem is I need to extract only file name from the path.Please advice.
    Example : Prameter  id    C:\folder\file.xls  
    I shd extract only file.xls from the path.Please advice.

    Hi,
    Use the below logic:
    data: begin of itab,
               val    type  char20,
            end of itab.
    SPLIT  l_f_path  AT  '\'  INTO  TABLE itab.
    The last record of the internal table holds the file name.
    describe table itab lines l_f_lines.
    read itab index l_f_lines.
    l_f_filaname = itab-val.
    Hope this helps u.

  • Need to change word file name

    hi,
    I am uploading the word file into application server from a SAP CRM transaction using the method cl_crm_documents=>get_with_file.
    My requirement is while uploading the file into app server I need to change the file name to differentiate the files. Is there any way so that I can change the word file name?
    Thanks,
    Kumar

    Hi,
    Do this way ..
    i.e, use METHOD CL_GUI_FRONTEND_SERVICES=>FILE_DELETE
        DATA: W_WFD_FILE01 TYPE STRING,
              W_WFD_RC01   TYPE I.
              W_WFD_FILE01 = P_OUT1.
        CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_DELETE
             EXPORTING
                  FILENAME             = W_WFD_FILE01
             CHANGING
                  RC                   = W_WFD_RC01
             EXCEPTIONS
                  FILE_DELETE_FAILED   = 1
                  CNTL_ERROR           = 2
                  ERROR_NO_GUI         = 3
                  FILE_NOT_FOUND       = 4
                  ACCESS_DENIED        = 5
                  UNKNOWN_ERROR        = 6
                  NOT_SUPPORTED_BY_GUI = 7
                  WRONG_PARAMETER      = 8
                  others               = 9  .
             IF SY-SUBRC <> 0.
    *             MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
             ENDIF.

  • Get the ipad to display my photos in file name sequence

    How can I get the ipad to display my photos in file name sequence instead of by time/date stamp? I want to display them in a particular sequence controlled by the filename I gave them. 

    Hey Tex,
    Good idea.  I've found a question that indicates that the ipad sorts by name (https://discussions.apple.com/message/9116248#9116248).  Mine are all sorted by date/time.  How did they do that?
    The app you suggested looks promising, but it sounds like i have to manually rearrange my pictures, and since i have hundreds in each folder, this would be tedious.  Is there an app that will allow me to display them by filename w/o me having to rearrange them myself??
    Thanks.
    WSC

  • Bad file name or number

    A customer is sometimes getting the message "Bad file name or number" when selecting 2009.MAR as Time dim in an input schedule (double clicking an EVCVW formula). Unfortunately the error is intermittent; he says he gets the message 2-3 times and then it works OK. He can change it to other years / months, and he can change the Entity. 2009.MAR looks just like any other in the dim list. Anyone seen this one before? (MS7.0 SP3)

    Cecilia,
        You can verify if there is something wrong into the Time.xml file donwloaded locally on the client machine or just try to refresh dimension information on that machine using eTools->Client options menu.
    Regards,
    Mihaela

  • File name field not generating dynamic file name for report printing

    Hello Folks,
    I have a report region on a page and have enabled report printing. I would like to have the file name generated dynamically. So, I add the substitution string, say "&P1_CUSTOMER_NAME." (no quotes). The output file I get is literally named "&P1_CUSTOMER_NAME..pdf" (no quotes).
    I have seen several posts suggesting the file name field should accept this syntax but, I cannot get it to work.
    We are running Application Express 3.2.0.00.27 and BI Publisher.
    Any suggestions?
    Thanks for your help.
    -Markus B.

    I was finally able to make it work using a page process and the APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT with a submit button.
    -Markus B.

  • Need to genereate Target file name same as Source File Name thru Local J2SE

    Hi Everyone,
    I want to genereate Target file name exactly same as Source File Name. I know how to handle this in Central Adapter Engine(Sender & Receiver Communication Channel).
    But I need to do this in Local J2SE adpater engine.
    Please help me in this regard.
    Thanks & Regards,
    Nagaraju

    U can use the parameter to save the filename in the message header
    file.messageAttributes=<name,directory>
    This is similar "Adapter-Specific Message Attributes" concept.
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm
    Regards,
    Prateek

  • Need to generate excel file with different sheets

    Hi,
    I need to generate the excel file with diffrent sheets . Currently I am generating the data in three diffrent excel files
    and my requirement is to generate this in a single excel file with diffrent sheets.
    Please help on this
    Thanks & Regards,
    Krishna Vyavahare

    I'm not able to realize how Oracle will help in the problem. You may probably want to look at some [.net forums|http://www.google.com.sg/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS280&q=.net+forums&btnG=Google+Search&meta=lr%3D] about this.
    Cheers
    Sarma.

  • Need to get the file name at the time of polling

    Hi...
    I am transferring the data from csv file to database.
    I put the file in a directory. File adapter will read that file for every 2 minutes. I have a column name in database to which I need to map the incoming file name.
    Here my requirement is: how can I get the name of the csv file dynamically at the time of polling, so that I can map the file name to corresponding column name in database. Is there any special mapper function in Jdeveloper component palette to do it or can we do some thing with the file adapter to achieve this.
    Thank you very much...any help is appreciated.

    This is a very simple task in JDeveloper 11g, file adapters are linked to the receive activity, here there is a tab called Properties which you can use to extract the file name. Please follow the steps below:
    1. Create a Simple Type variable of string type, call it fileName_var or any name you wish.
    2. Open the Receive activity in your bpel project.
    3. Scroll down to jca.file.FileName and double click on the value column, click on the browse button (...), select Variable, then click the search icon
    4. Locate your recently created variable
    5. Now when your project runs it will assign the file name to this variable, you can use this same approach also to pull the directory, file size, etc.
    Please note, that you may see a warning little icon on your project saying variable is not initialized, this is perfectly ok and it does not represent any issues when deploying the project.
    Hope this helps.
    Jhon Castro

  • Need example to create File names dynamically using File adapter

    hello,
    I am mapping an IDOC to a flat file using XI and a file adapter. I need to be able to output a file name dynamically depending on the data in the IDOC.  For example if the IDOC has 310 as the company code, the file name should be xyz.310 and if the IDOC has 600 as the company code, the file name created by the file adapter should be xyz.600.  Please some body provide me with an example of the XSLT code that I will have to write in the dispatcher User Exit.
    Any help will be greatly appreciated.

    Nope
    But you could add a dummy row to your source to include column headers and then use options column headers in first row in flat file connection manager.
    So suppose you've three columns column0,coulmn1,column2 and you want to make it as ID,Name,Datethen make source query as
    SELECT 'ID' AS Col1,'Name' AS Col2,'Date' AS Col3, 0 AS ord
    UNION ALL
    SELECT Column1,Column2,Column3,1
    FROM YourTable
    ORDER BY Ord
    then choose  column headers in first row option
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Writing file content on to mobile phone (need to specify the file name req)

    Hi,
    I have a jsp page which i am trying to execute on a mobile phone. In this page i am trying to open a ServletOutputStream and using this i am trying to write some content on to the phone. But by default the file name is beeing given as the name of the jsp page, so is there any that we can we specify the name of the file explicitly using the program itself (i mean other than the jsp file name). Can some one give me an idea to implement this.
    Here is the code snippet used......
    ServletOutputStream outstr = response.getOutputStream();
    String itemPath = "http://172.10.100.25/file_dwn/funny_pic.gif";
    java.net.URL url = new java.net.URL(itemPath);
    javax.activation.URLDataSource source = new javax.activation.URLDataSource(url);
    javax.activation.DataHandler dataHand = new javax.activation.DataHandler(source);
    String file = itemPath.substring(itemPath.lastIndexOf("/")+1);
    response.setHeader("Content-Type","application/vnd.oma.drm.message;boundary=foo");     
    outstr.println();
    outstr.println("--foo");
    outstr.println("Content-Type: " + dataHand.getContentType()+";Name=\""+file+"\"");
    outstr.println("");
    dataHand.writeTo(outstr);
    outstr.println();
    outstr.println("--foo--");
    outstr.println();
    outstr.flush();
    outstr.close();

    Hi,
    You can Include a Knowledge Management Folder as a Web Folder, this way you can copy and paste files from KM to  file system very easily.
    Check this
    http://help.sap.com/saphelp_nw70/helpdata/EN/30/75b62c659d724fb908c74ade23af51/frameset.htm
    Regards,
    Praveen Gudapati

  • Stock book help needed - want to remove file names

    Well, I'm trying to put together my first book from Aperture and chose the Stock theme for a book of family photos and I can't for the life of me figure out how to remove the file names which appear at the bottom of every image on the pages. Anyone able to point me in the right direction?

    Hello Tom,
    There may be a quicker way, but if you just click on the "Edit layout" button (which is along the toolbar just to the right of the writing "stock book", it is the square with the dotted outline). Once you click on this, you can change all sorts of things, including the size of photo boxes and, if you just click on the file names, the filename text box will appear and you can then just hit delete.
    Hope this helps.
    Best regards
    Paul

  • Needs to generate CSV file through DME

    Hi Experts,
    I am using DME to generate certain file, the file format is supposed to contain a fixed number of fields even if most are empty, with each field delimited or separated by comma (using CSV Standard File Format), and not tab or space delimited.
    While customising the file through T-Code DMEE, file gets generated but not in CSV format due to which Bank system unable to read the data.
    Please help me out in getting the file in the required format.
    Its an urgent issue, hence looking for a quick reply from the experts.
    Thanks in Advance
    Regards,

    Hi Experts,
    Please help me out....
    Regards

Maybe you are looking for

  • If Quality notification as follow up action fails

    Dear all I have a situation where Quality notification is configured as a Follow up action once the UD is made. So I am getting Create notification screen once UD is filled and SAVE button is clicked. In Case some wrong data is entered in the Create

  • I have loaded windows 8.1 via bootcamp on my macbook air 11 inch how can i adjust font size etc

    I have loaded windows 8.1 via bootcamp on my macbook air 11 inch how can i adjust font size. I have to do a lot of work in office 2013 and it is very very difficult to see the screen. Thank you

  • The not so distance future of computing.

    These are just some things in  the future I feel like writing about for whatever reason.   Some is stuff that will happen others are just my hopes. What do you look forward to in the future? Also let me know if some of my points are completely off. H

  • Vendor ID and Textbook Authorization

    Today I had my computer re-imaged and now I am unable to authorize my computer for my etext. When trying to log in with the account used to purchase the etext a message pops up stating, "The vendor account you entered is not associated with the item

  • Solution Manager 7.1 Cannot Create Solution (No Business Partner)

    Hello everybody, I would like to ask your help about some issue in our Solution Manager (7.1 SP 10 VAR Scenario). We need to create solutions but when we go Solution Manager Administration Workspace and we click on create we are prompted to select Bu