Name of the data file from a user prompt and a constant

I have following situation:
 The event is single shot, each shot the two DAC card acquires 8 channel data (total 16 channels) and the user has to decide if we want to save the data in a file.
Once we decide that we want to save the data, the program should prompt for a file name. The inpu will be some dgit corresponding to an event number let us say xxxxx.
The program should create a file name 133Axxxxx.dat (or any other extension). 133A and 133B will be my two devices dev1 and dev2 respectively.
Can some one please help, how do we do this? The data from each card should go in a different file. The file name should be 133Axxxxx.dat and 133Bxxxxx.dat (let us say)
Ajay Singh

I think this is what you want.  If not it should be close enough so you can modify easily.
Matt
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Attachments:
saveFilePath.vi ‏24 KB

Similar Messages

  • Can i get the data file from the cube

    Hi All,
    Previously I created and activated one cube using one data file, by mistake lost that data file. Is there any chance to get that data file from that Cube?
    Thanks
    Bhaskar

    Hi Paul,
    yes you can..
    1) If you have loaded through  PSA , Then goto that PSA table and from settings menu> change display variants-> view tab> view as Excel> then save this file
    2) If you have not used PSA.then use LISTCUBE to view the data and change settings to excel and download..
    Don't forget to assign points,If it is useful..
    Further queries always welocme..
    Regards.
    Pradeep choudhari

  • How to read the s2p file from Agilent 5071B ENA and to save in pc ?, also need to run this continuously and to save s2p file in certain period of time ?

    I interfaced ENA 5071B using labview with agena vi.  I need to save the s2p file from the network analyzer.. I am requesting you guys to help me and pls suggest wat kind of vi i need to use from agena.....
    Thanks

    The PNA driver does not have the vi to full support what you want. The SCPI commands to do what you want are:
    MMEMTOR:TRAC:FORMNP MA; - to format the data in Mag dB Phase linear.
    CALC1ATA:SNPORTsave '1,2' , 'local file name on PNA file system.s2p' - to create  PNA local files of s2p data
    MMEMory:TRANsfer? 'controllerfilename.s2p'  - to transfer the datafile from PNA to test controller using GPIB block transfer.
    You will have to create these SCPI commads and VI's for yourself as the driver does not have them built in.
    Good luck.

  • How do I extract the name of the incoming file from the Header?ta

    Hi all,
    I am using 11g TP4:
    I have an File Adapter Service that reads a file. In the Routing Service I want to include the name of the file that was read in the message passed onwards to the target service.
    Previously we used an expression like
    <xsl:variable name="INFILENAME"
    select="ehdr:getRequestHeader('/fhdr:InboundFileHeaderType/fhdr:fileName','fhdr=http://xmlns.oracle.com/pcbpel/adapter/file/;')"/>
    to set the $INFILENAME variable to the name of the file.
    This does not seem to work anymore. I notice a new namespace has appeared:
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.GetRequestHeaderExtnFunction"
    is this namespace the origin for a new function that replaces getRequestHeader? Is it still getRequestHeader? What then is the correct syntax - as I am getting XPath errors with either ehdr or mhdr. Is there any documentation on accessing the contents of the header?
    Thanks for any help you can provide.
    Lucas

    Hi Lucas (says Lucas),
    After a little digging and trying out things I have found the solution.
    The Advanced Components palette available in the Mapping Editor has a section Mediator Functions. The getProperty() function shown there can be used to extract header properties. The property I am after is called jca.file.FileName, and can be assigned in the XSLT document like this:
    <ns2:filename>
    <xsl:value-of select="mhdr:getProperty('in.property.jca.file.FileName')"/>
    </ns2:filename>
    Note that the Assign Values dialog that is available in the Mediator editor has a long list of many names of properties that are available, including jca.file.Directory and jca.file.Size as well as many properties for the AQ, BPEL and EBS adapters.
    hope this helps any one besides myself.
    bye for now,
    Lucas

  • Accessing The Names in the Data Neighborhood From Within Visual Basic

    I would like to have my application get the names that are listed in the Measurement & Automation Data Neighborhood.

    There is not a function for this exposed in the ActiveX controls. I do have a utility DLL that should do it for you. There are two functions you will use in this DLL:
    int GetNumberOfChannels(long* num);
    int GetChannelNameByIndex(long index, char* nameBuffer, long* bufferSize);
    The first fucntion returns the number of virtual channels and the second function retrieves the name and name length of a specific channel by index. They are written in C style so they can be used from any compiler.
    If you have questions about this DLL, you can post them here.
    Best Regards,
    Chris Matthews
    National Instruments
    Attachments:
    scaleAccess.dll ‏48 KB
    scaleAccess.h ‏2 KB

  • The export file from a calc script - naming and date/time stamp

    Here is a simple calc script to export data.
    2 questions:
    1. Is there an easy way to add a date/time stamp on the name of the data file so that it does not overwrite the older ones every time?
    2. I tried to specify the path so that it write to another server. "\\mfldappp011\E:\Exp_AW.txt". It's not working. How should I specify the path ?
    Fix (@Relative("Yeartotal",0),"Actual","Working",&ActualYear);
    Dataexport "file" "," "C:\Exp_AW.txt" "#MI";
    EndFix;
    Edited by: user9959627 on Sep 7, 2012 11:25 AM

    Probably easiest to call the maxl script from a command line script, then rename the exported file to include the tme stamp and copy/move it to a location.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How do I restore 'Notes' data files from Time Machine?

    My wife accidentally (more or less) deleted 7 of her Note notations because they were duplicated and she thought one should be eliminated.  What happened is that when she deleted one, the system deleted both duplicates.  After doing this for 7 times, she saw what was happening and stopped.  We have both our iMacs backed up to a Time Machine and I have been searching these forums trying to find out the name of the data file for Notes so that I can restore it.  The best I saw was Library/Containers/com.apple.notes but I could not find this file anywhere in Finder or even on the Macintosh HD.  We did find out that if you delete something from Notes on your iMac, it also gets deleted in iCloud (I thought there was a backup in iCloud) iPhone, and iPad.  One of these notes is irreplacable as it is a daily diary of an event in my wife's life.  Can anyone please tell me where I can find the Notes data files so I can locate them on Time Machine and restore them?  (Note:  If I restore them from TM and they are not in iCloud will they be immediately deleted?  Sorry that may be a dumb question but I've done a bit of technical work with PCs and MobileMe and iCloud seem useless.  I'd just as soon plug my iPhone and iPad into my iMac to synch, you know.  Thanks for any help.  Gary

    Here is what I have tried:
    1. Finder>Go>(Option)Library>Address Book(highlighted)with files showing in right column. Opened Time Machine and Address Book folder is there. Tried to go back to several previous dates from several months ago. None will highlight in order for the Restore button to light up.
    2. Finder>Mac HD (under Devices)>(Option)Library>Address Book (same as above). Again, cannot go anywhere back in time to highlight a date for Restore button to light up.
    Note: I was able to use Time Machine to restore my Contacts with no problem. However, they are All Contacts only and did not restore my Groups. I do know how to make groups again and highlight and drag them back, but wanted to see if there was a way to restore the groups. I will post another question as to why my Time Machine won't let me restore the Address Book as well as the Contacts. Thank you for your time and patience.

  • Problem Experts OWB 10gR2 - Mapping with OMB - Give a name to the flat file

    I'm trying to create a mapping in OWB by using the Experts (OMB),
    where the data source is a database table and the target is a flat file (to transform a table to a flat file).
    The tasks of my Experts :
    This task create a mapping, and add a existing table on it.
         OMBCC '$thepath'
         catch {OMBDROP MAPPING 'M1'}
         OMBCREATE MAPPING 'M1'
         OMBALTER MAPPING 'M1' \
         ADD $INITIAL_LAUNCH_CONTEXT_TYPE OPERATOR '$thetable' \
         BOUND TO $INITIAL_LAUNCH_CONTEXT_TYPE \ '$INITIAL_LAUNCH_CONTEXT' \
    This task change the context and create a flat file
         OMBCC '/PRJ_LABO_PHARMA/SRC_FILE'
         catch {OMBDROP FLAT_FILE 'NEW_FILE'}
         OMBCREATE FLAT_FILE 'NEW_FILE' \
         SET PROPERTIES (DATA_FILE_NAME) VALUES('fichier_genere.txt')
    This task add the flat file to the mapping, and create a connection between the source (table) and the target (flat file)
         OMBCC '/PRJ_LABO_PHARMA/MOD_SRC_LABO'
         OMBALTER MAPPING 'M1' \
         ADD FLAT_FILE OPERATOR 'NEW_FILE'\
         BOUND TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         OMBALTER MAPPING 'M1' \
         ADD CONNECTION FROM GROUP 'INOUTGRP1' OF OPERATOR '$thetable' \
         TO GROUP 'NEW_FILE' OF OPERATOR 'NEW_FILE' COPY ALL
    This task update the flat file structure
         OMBRECONCILE MAPPING 'M1' OPERATOR 'NEW_FILE' \
         TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')
    Then I have a task which execute this mapping.
    Everything is good, but during the execution I have a error VLD-2357 : The target file's name is not indicated for the file NEW_FILE.
    I don't know how to give a name to the flat file in OMB.
    Help me please.
    Best regards
    Samy

    Just like if you built this in the UI where you would have to configure the flat file operator and define a target data file name and possibly the location these properties should be set in scripting.
    Set the property TARGET_DATA_FILE_NAME to the name of the data file.
    Something like....
    OMBALTER MAPPING 'M1' \
    MODIFY FLAT_FILE OPERATOR 'NEW_FILE' SET PROPERTIES (TARGET_DATA_FILE_NAME) VALUES ('my_datafile.csv')
    Cheers
    David

  • Data Integrator has no read permissions to get the data file using FTP

    Hi,
    I wonder if you could help.
    We have installed the data integrator and are using FTP to get the data file from the SAP server to the DI server. The files are created by the SAP admin user with permissions 660. The FTP user is not in the sapsys group so cannot read the files.
    Has anyone come accross this problem and how did you solve it?
    Many thanks.

    Hi,
    you might want to put you entry into the EIM forum where also the Data Integrator topics are being handled:
    Data Services and Data Quality
    Ingo

  • Unable to delete data files from my Ipod if used as data storage...

    Hello everybody
    I bought months ago an Ipod Nano 8GB. I've got an issue when i use it as disk storage i'm not able to sort out. I've checked all the topics but i cannot find any solution.
    Example: I use the Ipod with the option "Manually manage music and videos". I put audio and video files on my Ipod through Itunes, then i put also some files on my Ipod as normal data files through my Mac Finder (Easy, i drag VLC, JPG files etc. from folders to my Ipod). The Ipod/Itunes summary page shows (Correctly) the capacity column colored in blue (Audio), video (Purple) and orange (Data). No probs when i transfer data files to another computer.
    Problem: when i delete the data files from my Ipod (Through finder) the orange column doesn't disappear (I have no problems if i delete audio/video files via Itunes) and although i've actually deleted all the files if i try to add some other data or videos/music files to my Ipod, Itunes says that there is no space available in my device. It's very strange, i check and double check all the options but eventually i have to restore my Ipod all the times and (Pretty annoying) add all my files again.
    It seems that although i sent my files to the trash bin, Itunes (Fully updated) doesn't recognize the change.
    It'd be great if someone can help me out as it's very important for me to be able to use my Ipod as disk storage, thanks a lot!

    It seems that although i sent my files to the trash bin, Itunes (Fully updated) doesn't recognize the change.
    Empty it from the Finder menu or by control-clicking it in the Dock.
    (44613)

  • Copying only data files from old MacPro?

    I have a 500GB drive from an older Macpro that I want to copy files from to get them onto a new iMac SSD. I only want to copy the data files, no applications, preferences, Library files, etc.
    The Macpro no longer boots, though I have a hard drive docking station that I can put the drive into so I can connect it to the new iMac.
    1. What is the best way to copy just the data files from the old drive to the new iMac?
    2. How reliable is this? Is there any chance that it will not copy some of the files over?
    Thanks!

    I just want to make sure that I'm not missing any files. After I drag them over I can put them into the trash so I know they were copied over. Any other tips for doing this? Is there a way to search for all files on the Mac to ensure that there are none that I might miss?
    Thanks.

  • Reading the data file into XI

    Hi,
    I am facing a problem in XI. I have a file Adapter which fetches the data file from the appln server. For the testing purpose we kept the adapter disabled and placed th files in the directory. When activating the adapter, it fetches all files and brings to XI.
    Now the adapter is enabled. If I am trying place the data file in the application server while the adapter is enabled, the file simply disappeared/archived as per the setting in adapter. But the data is not coming into XI.
    This problem occurs only when the adapter is on and placing the files in the server.
    Can any one help me on this?
    Thanks.
    Jahir.

    Hi,
    http://xiserver:port/MessagingSystem/monitor/monitor.jsp
    have a look at this link and check if you have any errors
    over there
    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>

  • How to retrieve the path and the name of the destination file in a link annotation

    Hi,
    In C++:
    How to retrieve the path and the name of the destination file in a link annotation and a Launch action.
    Sample of my code:
    //Determine if the annotation is a Link annotation
    if (PDAnnotGetSubtype(annot) == ASAtomFromString("Link")) {
    //Determine if the action is a Launch action
    if (PDActionGetSubtype(action) == ASAtomFromString("Launch")) {
    // What is the method ?
    Regards
    David G

    In general, get the annotation as a Cos object and examine it, in
    accordance with the PDF Reference.
    Aandi Inston

  • Hide the Core universe from some user groups

    Hi all,
    We have one Core universe and few derived universes for each user group. One team is responsible to implement the Core and the derived universes. This means they have Full access on these universes. There are few other user groups which have VOD access on their group specific derived universe and the VOD access on the Core universe in order to create or run WebI reports. Since they have VOD access on the core universe, they will be able to create report against it. We like to hide the core universe from our user group and they should always use their derived universes.
    Does someone know which entitlement setting will allow us to hide then core universe or prevent a certain user group to create new report against it without impacting their ability to run existing reports?
    Thank you.
    Sunny

    Hi,
    Step 1. Try at CMC level
    CMC-> Universes-> remove the groups (don't shouldn't have access to that universe)-> ok
    If it doesn't work then try step 2.
    Step 2. At Designer level -
    Try to restrict the universe at designer level. i.e goto Tools-> Manage Restrictions -> Manage Access Restrictions -> add groups(required groups dont should have access to users) ->Ok.
    Cheers,
    Suresh Aluri.

  • Using Migration Assistant to Move Data Files from one Account to New User

    Is it possible or recommended to use Migration Assistant to move data files from an old user account to a new user account on the same volume/hard disk?

    Migration Assitant cannot be used as a simple file transfer utility. MA can transfer an entire Home folder or entire Users folder but not individual files.
    In general files in one user account cannot be moved to another user account as this would violate built-in security measures.
    What you can do is to copy the files to an external device like a hard drive or flash drive. First log in to the old account. Then configure the drive to ignore preferences by Pressing COMMAND-I to open the Get Info window and check the Ignore permissions on this volume checkbox at the bottom of the window. Copy your files to the device. Log into the new account. Verify the external drive is still configured to ignore permissions (reset it, if not.) Copy the files from the external device into the Home folder of the new account. I would create a temporary folder for these files. If you still end up without the proper permissions you will need to make modifications that are easier done if all the files are in a single folder.

Maybe you are looking for

  • How do I use my photo for my background ?

    How do we now , after this update , use our own images or photos for our backgrounds?

  • Error While Attempting to Checkout from Catalog

    Hello Gurus, I am currently using OIM 11g r2 and I have done the following: 1) Created a Sandbox 2) Installed the 9.1.1.7 AD Connector 3) Created an Application Instance for the AD Connector (with appropriate form, etc) 4) Ran the catalog scheduled t

  • Weblogic8.1 console problem

    Hi, I recently downloaded the free weblogic8.1 server and installed it on a Windows 2000 pro pc, with IE6.0. After starting the Weblogic Server, I am not able to use the Tree in the Server Console. But, I can do all the possible settings thru the lin

  • Are there any levels or curves in FCPX?

    It looks like it would at the very least support creating a Levels effect in motion and bringing that across, but what happens is the GUI loses the histogram and the effect itself doesn't work (it just causes a blank out on the media).  So is there a

  • IPhone   Version 1.1.2

    Hi everyone, Just got my new iPhone yesterday at AT&T store and the Sale Representative told me that I got the new version and the phone has all the new version on it. But when I got home and familiarizing myself on my new phone , instead I dont have