Is it possible to automatically create file names?

If i do a set of measurements and i want to save each measurement in own file is it possible to automatically create filenames? For example XXX1.vi XXX2.vi ... XXXn.vi

Is the n in XXXn a counter or a test number? See my attached example Create Report File from Serial Number. It creates a report file name starting with the serial number of the UUT and then appending a counter. You don't have to save the counter: the program looks for the next available filename on disk.
Your question shows file names ending in .vi. You may not have intended it, but don't use .vi for data files: save that extension for real VIs. If each measurement has its own VI and you want to name the datafile based on the name of the calling VI, see my attached example Create Report File from Calling VI. It gets the name of the calling VI and creates a .txt file with the same name as the caller (with the new extension .txt).
Attachments:
Create_Report_File_from_Serial_Number.vi ‏58 KB
Create_Report_File_from_Calling_VI.vi ‏46 KB

Similar Messages

  • Automatically create file name based on information in image

    Hi,
    I have a requirement to scan 100 documents into a single tiff file. I need a software that can split the images (inside the big tiff file) into individual tiff files afterward. I need to extract a number appearing in each of these tiff image to become the filename of each individual tiff file after splitted. Finally, I have a process to upload and attach these files to the corresponding table rows in Oracle.
    Does anyone know any software that can accomplish this?
    Thanks.
    Andy

    Use the file dialog box function to get the file name/path.
    To save the file , use appropriate write function ( as per file type that is being saved..text file,datalog , binary ..)

  • My Mozilla Firefox Browser v15.0 open then some file loading and my desktop display automatically created folder name is old Firefox data then ask me chose two

    ''duplicate of https://support.mozilla.org/en-US/questions/936244 - locking this one''
    '''My Mozilla Firefox Browser v15.0 open then some file loading and my desktop display automatically created folder name is old Firefox data then ask me chose two option 1st is Safe Mode or 2nd is Restore so i chose Restore and then open Mozilla Firefox Browser page Blank Black display page,
    How can i do solve this error plz plz plz plz help me out what you say troubleshooting,error or issue.'''

    Did you perform a Firefox Reset either by clicking the button on the Help > Troubleshooting Information page or via the Safe mode start window?
    You may have gotten the Safe Mode start window as the result of not being able to start Firefox more than once after crashes.
    See:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes
    If you have submitted crash reports then please post the IDs of one or more crash reports that have this format:
    *bp-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
    *You can open the <b>about:crashes</b> page via the location bar, like you open a website.
    See:
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter
    *https://support.mozilla.org/kb/Mozilla+Crash+Reporter
    If you can't open Firefox then see:
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter#Location_of_crash_reports
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter#Viewing_crash_reports
    "Reset" creates a new default profile with a time stamp appended to identify it and tries to recover settings like bookmarks and history and passwords and cookies and auto-fill data from the old profile, but you lose data like extensions and other customizations.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Firefox 15+ versions will move the old profile folder to an "Old Firefox Data-##" folder on the Desktop that gets a number appended if you use reset more than once, so you can no longer use the profile manager to revert to the old profile.

  • In mini bridge, is it possible to view the file name and the rating at the same time?

    Hello,
    In mini bridge, is it possible to view the file name and the rating at the same time?
    Thank you.

    if you know when a new image arrives and you can retrieve that new image file name ...
    Well, that's precisely my doubt, how can I know the file name? Is there a property/method for it?
    function loadImages() {
    for (var i:int=0; i<imagesNames.length; i++) {
    var imgLoader:Loader=new Loader;
    imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoaded);
    imgLoader.load(new URLRequest(imgPath + imagesNames[i]));
    function imgLoaded(par:Event):void {
    trace(par.target,par.target.content,par.target.content.name);
    Output window:
    [object LoaderInfo] [object Bitmap] instance160
    [object LoaderInfo] [object Bitmap] instance159
    [object LoaderInfo] [object Bitmap] instance161    

  • "unable to create *file name*" error

    I imported videos from ipod touch to iphoto. Then i try to export the videos on either desktop or external hard-drive and it gives me the "unable to create *file name*" error in both cases. To export videos i go FIle-Export, choose kind "original". Tried to do it with several different albums, and it doesn't work on any of them. Didn't have an issue for exporting pictures though.
    Please help!
    Nina

    What exactly was selected when you did the test?
    Regards
    TD

  • Is it possible to know flat files names loading using particular info pack

    hi experts ,
    is it possible to know flat files names loading using particular info package  ??
    in our project we hav flat file extraction  manually ...as i am replacing old sap bi consultant i must contine pending loads ..
    as ther s no document about loads i must check and ensure about loads left out ..'
    for every flatfile they used load with differnt name ... if am able to get those files name i can list out  pending ones
    and can load
    is it possible to those details ??
    pls help me .....
    relative answer will rearded with points ............
    thanks in advance
    regards
    harry

    I AM REALLY THANK FUL FOR ALL.. your people are really quick .and giving relavtive answers ...
    they loaded from desktop only ....not from application server ..
    i got details  from info cube mange screen .they used to load data monthly wise ,so i hav given month in selection  and viewed data..
    Regards ,
    Harry

  • Acrobat registry keys to create file name and path

    Hi,
    I need to find a way to get my Acrobat to create a pdf with the same name as the drawing file it's created from and in the same folder as the drawing file. The folder path will vary from drawing to drawing.
    I need this to happen automatically, without prompting for the file name or the destination.
    I see there is a way to set a pre-defined path using registry keys but is there a way to use registry keys to set the filename and path of the drawing, please?
    I would rather not use scripting as I don't really know how to do it.
    Thanks,
    Barnaby

    I think it will use the path and name of the original file if you do not prompt for a file name. I always ask, so I am not sure.

  • Can we possible to retrive the file name from the directory...?

    Can we possible to retrive the list of files or file names from the directory...?
    The directory called create or replace directory [directory_name] as ....

    Yeah, yeah its very good example for this scenario.
    I agree. But, I want to learn about Java based PL/SQL code development for that just I am asking any link for this kind of material.....:-)

  • Is it possible to automatically create new folder for each project?

    Hi! Here´s another (maybe stupid) question:
    I wonder if it's possible for Premiere to also automatically create a new folder on the harddrive when a new project is created. This to get all material, preview files etc for each project in a separate folder.
    It´s easy to forget to manually do this and I tend to end up with many projects and files in the same folder. Makes it hard when I want to "clean house" and delete some stuff and backup other.
    Thank's for any help with this!

    Everyone develops their own method of project organization,
    but this has worked for me through several versions of Premiere.
    I keep a 'Project Template' folder that contains all of the sub-directories
    that I will normally need for each job... Media, Approvals, Documents, Audio,
    Rendered Image Sequences, Still Images, Finals etc.
    This 'Project Template' folder also contains a template Premiere project that is
    pre-set with the interface settings, column layout and project folders I will always use...
    Audio (vo, music, sfx), Graphics (sequences, stills, titles, slates),
    Cuts (approval versions, finals, and broadcast distribution finals).
    When I start a new project I simply duplicate the entire 'Project Template' folder along
    with all of its contents, then rename the folder and Premiere project to suit the current job.

  • File Adapter - Create File Name from Payload

    Hello,
    I have a scenario where I'm sending deductions to external vendors (wage types) following a payroll run, via XI. Part of the message payload includes a data element 'Vendor Name' (e.g. Zurich Insurance). When the XI File Adapter creates the file, I want to create the files as /usr/file/xi/<Vendor Name>.csv
    How to I pick up the 'Vendor Name' from the message payload and pass this into the "File Name:" field of the "File Access Parameters in the File Adapter communication channel configured?

    hi,
    The dynamic filename generation concept is as follows.
    In your filename field. just give a variable with % symbols. (eg: %file% ).
    Now, under the option Variable Name Substitution, you can give how the value has to be created.
    It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
    For the former, your give
    message:interface_name ,etc
    and for the payload part you give,
    Payload: "your element root which u wanna acecss"
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    If you have any clarifications, do get back,
    Regards,
    Bhavesh

  • How to automatically add file name to email subject line

    I just upgraded from Adobe Acrobat Pro 9 to Adobe Acrobat XI Pro.
    Previously, when I sent a form via email in outlook, the subject line of the email automatically filled the file name. With this new version, this no longer happens.
    Is there a setting that allows me to automatically fill the subject line of the pdf with the file name (or some way for me to set the subject line automaticallly)?  Most of my emailed pdf forms go to the same person with the same subject line.
    Thank you for your consideration!

    Unfortunately Adobe lacks the ability to control and access the email attachment file names.
    You can set a standard submit button url action to a mailto command string with a mailto:you[at]yourdomain.com&subject=Your+Custom+Subject+Here
    But you won't be able to know what the file name is to insert it into the subject.
    To have full control over the output, I suggest you submit the data or whole PDF to a server-side script, such as PHP or ASP.net.
    A script can can inject a field values into the custom SMTP email body, subject, recipient lists and attachment file name by parsing the submission or passing values via a Querystring.
    Visit pdfemail.net for online examples and more information on server-side scripting.

  • Possibility of capturing data file name in SQL * Loader

    Hi,
    I have a requirement to capture the data file name in the staging table, is there a way that i can capture it in SQL * Loader or any other way of doing it.
    Need experts suggestion please.
    Thanks,
    Genoo

    Hi Genoo.
    how do we capture the file name and stores in the temporary table
    You may use the above command mentioned in my previous post (if Linux) to populate the Test.csv file with the available file name in the directory, i.e:
    ls /some/path/*.dat | xargs -n1 basename  > /home/oracle/Test.csv
    1. Ensure to first load the Test.csv file as for eg:
    1,aaa
    2,bbb
    3,ccc
    2. Create a control file to load these records into temporary tables,for eg:
    load data
    infile '/home/oracle/Test.csv'
    into table file_name_upload
    fields terminated by ","
    ( id, file_name )
    3. Create the respective table in the database:
    create table file_name_upload
      id number,
      file_name varchar2(20)
    4. Load the data into temporary table
    sqlldr test/test control=/home/oracle/sqlldr_test.ctl
    Please refer notes:
    SQL*Loader - How To Load A Date Column With Fractions Of Second (Doc ID 1276259.1)
    Script To Generate SQL*Loader Control File (Doc ID 1019523.6)
    SQL*Loader performance tips (Doc ID 28631.1)
    How To use the Sequence Function of SQL*Loader (Doc ID 1058895.6)
    How to Get Data from Existing Table to Flat File Usable by SQL*Loader (Doc ID 123852.1)
    Also see link:
    10 Oracle SQLLDR Command Examples (Oracle SQL*Loader Tutorial)
    Thanks &
    Best regards,

  • 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

  • QT v10.0 "save for web" creates file names with spaces?

    I find it strange that the additional exported files from "save for web" (iPhone, etc) auto exports files with spaces in the file names. Not only that, but changing the file names breaks the javascript.
    I work on a server that denies permission to files with spaces in the file names. I know it's a bit archaic - but it's also a long standing tennent of "good HTML" to creates files with a hyphen or underscore instead of a space.
    Is this something that can be addressed in the next update?

    If your using cs5 or cs6 you might try Image Processor Pro which seems to use underscores
    and has a save for web option.
    Dr Browns Services 2.31
    http://www.russellbrown.com/scripts.html

  • Setting up Organizer so it doesn't automatically create file for every document scanned

    How do I stop PSE Organizer from automatically creating a file folder and storing it in My Pictures every time I scan a document?

    Please repost in the Photoshop Elements forum.

Maybe you are looking for

  • Me edge animate project works when I test, but not when I publish. Please help.

    I feel like this has happened to me in the past, but I just cannot get the thing to work when I post it online. It's just a blank page, all white. I think there might be something in the code of one of the .js files that I need to change. ??  I saw s

  • Tips on Converting from 5 to 8?

    We are currently using RoboHelp 5, our projects are all WebHelp projects, and they are all in RoboSource Control (RSC). Our corporate office purchased licenses for us to move to RoboHelp 8. Any suggestions on the best way to proceed? As a precaution,

  • Sequential Saving with Images (Perhaps just simple string functions)

    Hello, I'm trying to save an image sequentially but in a specific format. Currently, I choose a folder path (the folder all the images will be saved under), the image name, and then the iteration number causes the image to change sequentially with ea

  • Flash movie not showing up in IE8

    Hi, I have a flash movie on a login page that shows up fine in every browser apart from IE8 (surprise surprise!), where I just see a red cross in a square. You can see what I mean if you look at the page in IE: http://monthlymixup.com/index.php Here

  • Can I upgrade from FCP X 10.0.5 to 10.0.7?

    I have FCPX 10.0.5 and want to upgrade to 10.0.7 Software Update says all my software is up to date. My computer is MBP 17", 2.2 GHz Intel Core i7, 4GB RAM, OSX 10.6.8 Are there FCPX advantages in going to OSX 10.8?