Opening different files within the same loop

Hi folks,
I am currently trying to automate a testing procedure using LabVIEW
that requires the user to select the test from a drop down menu (Ring)
and then clicks a button to start the test. When the button is pressed
an 'open file' window appears asking for a name to save the file as.
This all works fine the first time it is run, but i need to be able to
stop the current test, select a new one, and then choose a different
filename to save it as, without having to restart the program.
I am currently using a timed loop (as the test is time specific) and
case statements for each individual test routine. I can only think of 2
ways to implement this, the first works only once (asking for a
fliename when the program is first run), the second repeatedly asks for
the filename each time the loop frame executes.
So the process is: select test - click button - chose filename - stop
test - select new test - click button - choose new filename -
etc.......
Thanks in advance,
Darren.

There can be many ways to do this
One way would be, to keep the file read operation inside a seperate case stucture ( inside the while loop itself)
and use a boolean switch ( mechanical action>> Latch) and read a new file at each click of this button
look at attached VI, probably you can build on its logic
Attachments:
file read.vi ‏86 KB

Similar Messages

  • Can two users work on different files of the same project?

    Sorry if this has been asked already...but can two users work
    on different files of the same project? How would that work? Would
    it work something like this?
    1. From RoboHelp 7, user A checks out the entire project.
    2. User A checks in the files they are not working with.
    3. User B checks out the project but can only 'edit' the
    files that have been checked in by user A.
    Is this how the source control works?

    That's the basic idea. User A doesn't actually have to check
    out the whole project, though. RSC will selectively check out only
    the files that are actually getting changed. Both writers will have
    a complete copy of the project on their local machines, but the
    files are read-only until they are literally checked out, which is
    on an as-needed basis unless the writer explicitly checks them out.
    G

  • How to open KM file in the same window

    When we open KM file by /irj/go/km/docs/... link it is previewed in a new Internet Explorer window.
    We changed Targed property to Self for iView navigation in LayoutSet render but the image file is still opend in new Window.
    How to workaround this?

    We changed Target Window Type property value of ResourceRenderer of Navigation iView  to Self.
    When an authenticated user  tries to open KM file it is opened in the same window if file URL include /irj/servlet/prt/prtroot....
    If file URL contain /irj/go/km/docs/.. it is opened in new window.
    When an anonymous user  tries to open KM file it is opened in a new (popup) window.
    We need that anonymous user can open km files in the same window.
    How to work around this?
    We use light framework.

  • I bought an iphone 5 about 4 months ago and got applecare. yesterday I had to get on a different plan within the same company so i traded in my phone and got a new iphone 5. can i transfer my applecare to this new phone or would I have to buy it again?

    I bought a 16gb iphone 5 about 3 months ago and got applecare. yesterday I had to get on a different plan within the same company so i traded in my phone and got a new 32gb iphone 5. can i transfer my applecare to this new phone or would I have to buy it again?

    As this is a WW forum with different AppleCrare offerings you need to specify which Country
    as in North America has AppleCare+ and everywhere else AppleCare ,very different products
    So to avoid incorrect guidance suggest you specify Country

  • How to create links to different files on the same page?

    Good day to all again,
    can someone please guide me through creating several links to different files on the same page. In other words, I am creating a photo page where my links are called Gallery 1, Gallery 2, etc... I would like to create links so when the User clicks on Gallery 1, they see Gallery 1 slide show in the frame; when the user then clicks Gallery 2, then they see Gallery 2 slide show in the window.
    My slide show files are done and I am using GoLive CS2. I have no knowledge of JavaScript or ActionScript/Flash.
    Any suggestions are highly appreciated.
    Thank you
    Alek

    Hi Diana,
    I'm a professional photographer and in the process of getting
    my finished site published. I used Coffeecup Photo Gallery. You can
    create multiple albums on the same page. Do a Google search for the
    address. It's easy, inexpensive, and it works. I tried to do this
    with the Photo Gallery in DW and FireWorks--but couldn't get it
    right. CC uses Flash and Javascript.
    Good Luck

  • How to open a file with the same name?

    Hi, now I practicing making web pages where I put sample codes in one directory and I copy them to edit.
    The probrem is, I couldn't open one file while I'm opening another file with the same name.
    Is it possible to open  a file with the same name in Dreamweaver?

    That could be a very error prone practice.
    May I suggest you take advantage of DW "Snippets" feature instead.
    Simply save any blocks of code you will reuse regularly as snippets,
    and give each one a descriptive name you like.
    Then you can simply place your cursor in code view where you wish the code,
    and click insert on the selected item from the snippet panel.

  • 2 different files in the same location?

    When we upload files they go all in one folder.
    The first editor calls his graphic "Picture 1.png" (wonder where that came from..)
    Sure sometimes before the item gets deleted another one will upload an completly different picture with the same filename.
    The thing that it different between the 2 would be the Asset ID. So I was wondering if there is a way to make folders with asset IDs in the location where everybody uploads there stuff to.
    To tidy up on the long run I guess we just would need to delete the empty folders (as the content has been archived).
    How would I do this? How do other people deal with the same filenames for different files? It even happens within the same production so the solution to create an subfolder for each production (read this a while ago) does not work for us.
    I know that for future projects we will tell people to use more describing filenames (but even there: there might be two different kitchens called the same..) but I also talk about a huge, messy archive to migrate..
    thanks
    tobi

    Let me rephrase things a bit as I used the term Excel chart  to literally. We create charts in SSRS. We then use a query string that includes "rs:command=render&rs:format=Excel" to get the chart into Excel. The "chart" in Excel is really just an
    image and the associated data table is the cells filled in with the data. We then "select" the area that encompasses all of these objects and paste that into the PowerPoint slide.
    Our source folder structure is as follows (note that I while I am being generic, the Ecel file names are the same between folders:
    Folder A: File1.xls, File2.xls, File3.xls ..... File40.xls
    Folder B: File1.xls, File2.xls, File3.xls .....File40.xls
    This goes on for 8 folders but can be as many as 30
    The routine we use to create the xls file from the SSRS chart names the xls file and puts it in the correct folder.
    The idea was we would create a template chart set in PPT for folder A and then create copies of the PPT and change the links to point to Folder B, etc.
    We have ensured that all Excel Documents are closed when we try to do an update.
    We are also getting the following error and I'm paraphrasing: Cannot open multiple instances of a file of the same name even if it is in a different location. This occurs when doing an update links when we don't get the initial error message I listed first.
    If we change the names of the files in each folder: i.e. FolderAFile1.xls, FolderAFile2.xls, etc then we can do the update links. This is time consuming as the SSRS exports are done by the end users and we are the developers trying to create a reusable solution.
    One other issue we are seeing which I hope you can address is that when we are getting the update links to work, the process opens up each Excel file THREE times. It takes almost 15 minutes to update a PPT with 18 linked xls files.

  • Open attached file in the same editor(ZCRM_DNO_MONITOR customer program)

    Hi All,
    I wrote a dialog program to simplify the CRM_DNO_MONITOR.  I gave the facility to attach file from the PC(any doc  type .txt ,doc, xls. etc) by calling the functions. I need to give  a facility to open these attached file in the same edit. Please let us know way
    Additionally,I can find the logical and physical document of these attached files
    e. g
    (Doc class       : CRM_L_ORD
    Doccument   : 4CA517D70BE60F7FE1000000AC113F3F
    Doc Class       CRM_P_ORD
    Document        4CA517D80BE60F7FE1000000AC113F3F)
    Attached files successfully by calling the following functions
           objkey = wa_tab-guid .    " (crmd_orderadm_h-guid)
           objtype = 'BUS2000116'.
          CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET
          CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER
         CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
         CALL FUNCTION 'CRM_KW_MIGRATE_GOS' DESTINATION 'NONE'

    Hello ,
    i think you can make use of Clase CL_GOS_MANAGER
    check Sap program which are using this clasee.
    try yourself and let me know if you have any doubts.
    regards
    Prabhu

  • Monitoring servers in SCOM 2012 via different locals within the same management group

    Hi,
    I have 2 management servers in a same management group. The 1st one is having English (US) locale while other is installed on Swedish locale. Both are accessed by different users having same admin rights.
    Once a USER 1 try to register a server through authoring tab from 1st management server(installed on English locale), a profile/group wrt the server registered is created successfully but the USER on 2nd management server (installed on Swedish locale) can
    not see the same in Authoring tab. He can view it in Monitoring tab as as well as Administration tab.
    The Vice versa is also true.
    Does any one have idea that is it SCOM 2012's expected behaviour wrt 2 2 different users on 2 different locales within a same management group ?
    Thanks in advance.

    Hi,
    I am a little confused, what do you mean by "register a server through authoring tab"?
    Do you mean that when you discover a server on 1st MS with discovery wizard then you cannot see it on 2nd MS(and the vice versa)?
    As far as I know, all those information should be stored in the operation database which is shared to both MSs within the same management group.
    We may use SQL query to find the discovered server on the operation database. Please also check operation manager event logs to get more information to troubleshoot this issue.
    Regards,
    Yan Li
    Regards, Yan Li

  • Controlling sound of separate html files within the same html page.

    I need to allow users to preview audio files for purchasing. I have CF pages that return records form a SQL database. Each record contains the same swf file however, each swf file points to a different mp3 for previews of different audio examples. So far, everything is working fine. My problem is that I need to be able to stop the sound from one  swf when I click to play a second swf.  The only solutions I see in Flash forums deal with loaded swf files. These are not loaded files they are separate files within a page. The question is: How do control one swf from another swf in the same page.  The following items have not worked:
    soundChannel.stop();,
    soundMixer.stopAll()
    I think my solution may be to use ExternalInterface but I am not sure where to begin with this. Any suggestion would be appreciated.

    you need to use the localconnection class to communicate between swfs open at the same time by the same client.

  • How to open a file in the same position on display when closing

    Not sure if this is the right place, so I apologize in advance:
    Whenever I open my text edit files, they always open in the same place in the display; how can I get these files (or any files for that matter) to open at the display position where they're last closed? 

    Unless the App stores window position data for a file, which I doubt, there isn't a way.
    Apps can store their default window position. Normally that is done by opening a document window in the app, moving and resizing it, then closing the window.
    There isn't an OS-wide setting for window positions.

  • Urgent! Can't open encrypted file under the same user.

    My system is X61s, Windows XP pro sp3.
    There is no change of user account, no reinstallation or recovery of system.
    I used EPS encrypted some of my important files last month. Without any user account changes and system reinstallation I suddenly can not open the encrypted files anymore. I am aware that the change of user account or reinstalling the system will change the encrypted ID, then the encrypted file will not be opened unless there is a digital certificate of the user that encrypted the file. However I have been using the same user account since I bought the laptop and I have never reinstalled or recovered the system.
    I have tried to encrypted some other files and these files can be opened without any problem. But only the file that I encrypted about a month ago can not be opened.  Those are very important files for me. Can anyone help me to get my files back please!!!
    mod edit: moved to windows forum for better exposure.
    Message Edited by erik on 10-01-2008 11:51 PM

    hello you did not mention any error messages you were facing??
    i can only assume you are getting the follwing messages if you try to open an encrypted file...
    Cause: Encrypting File System (EFS) only works on files and folders on NTFS file system volumes. If the folder or file you are trying to encrypt is on a FAT or FAT32 volume, the Advanced button does not appear in the properties of that folder or file.
    Solution:
    Convert the volume to NTFS with the convert utility.
    Open command prompt
    Type:
    convert drive /fs:ntfs
    where drive is the drive letter of the intended drive.
    "the recovery policy configured for this system contains an invalid security certificate" or "BAD_RECOVERY_POLICY" OCCURS
    Cause: The Encrypting File System (EFS) recovery policy implemented on this computer contains one or more EFS recovery agent certificates that have expired. These certificates cannot be used.
    Solution:
    Either renew the existing certificates or generate new certificates for the EFS recovery agents and reapply the recovery agent policy with those certificates.
    the acess denied message occurs when trying to open an encrypted file
    Cause: The file was encrypted by Encrypting File System (EFS) using a public key certificate and the associated private key for this certificate is not available on this computer.
    Solution:
    Locate the private key for the appropriate certificate and import it onto this computer using the Certificates snap-in.
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

  • Open multiple files at the same time

    Dear everyone,
    Suppose we have an array of millions of integers, we wanna create 10 files:
    0.txt (stores the integers in that array whose last bit is 0.)
    1.txt (stores the integers in that array whose last bit is 1.)
    2.txt (stores the integers in that array whose last bit is 2.)
    3.txt (stores the integers in that array whose last bit is 3.)
    and so on.
    One solution to this is to look at each integer and then decide which file to OPEN and to write to. But this will result in a waste of time spent on opening and closing files repeatedly.
    So I am considering if we can OPEN all those files in the beginning, and then look at each integer to decide to which file to write to. Once all integers have been gone through, CLOSE all files.
    But I am not so sure if this will lead to more memory use, whether or not all the file content will be loaded into RAM as the file is OPEN.
    Also, can anybody give me some idea how I can implement this.
    Thanks in advance!

    Dear everyone,
    Suppose we have an array of millions of integers, we
    wanna create 10 files:
    0.txt (stores the integers in that array whose last
    bit is 0.)
    1.txt (stores the integers in that array whose last
    bit is 1.)
    2.txt (stores the integers in that array whose last
    bit is 2.)
    3.txt (stores the integers in that array whose last
    bit is 3.)
    ......A bit can only be 0 or 1. If you want to interpret the low order as the file number, you'll need to rethink it:
    0000 --> 0
    0001 --> 1
    0010 --> 2
    0011 --> 3
    1001 --> 9
    1010 --> ?
    1011 --> ?
    ... etc.
    So I am considering if we can OPEN all those files in
    the beginning, and then look at each integer to
    decide to which file to write to. Once all integers
    have been gone through, CLOSE all files.Yes, you can do that.
    But I am not so sure if this will lead to more memory
    use, whether or not all the file content will be
    loaded into RAM as the file is OPEN.The files' contents are only loaded into memory if you explicitly do so by reading them. If you're just opening and writing, the files' contents will no be loaded into memory.
    Also, can anybody give me some idea how I can
    implement this.What specific questions do you have? It's not clear what you're trying to do or what trouble you're having.
    You might want to start here:
    http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • Opening pdf files in the same monitor screen position.

    When I open a pdf file in Reader XI it appears on the right hand side of my monitor's screen.  If I open subsequent pdf files (while the first file is still open) the appear on the left hand side of my screen.  How can I get them to open on the right hand side (on top of the first pdf file opened?

    That to me seems like a bug in Yosemite.
    Apple Feedback http://www.apple.com/feedback/
    Bug Reporter https://bugreport.apple.com/

  • I have Firefox 3.6. Firefox will no longer allow me to open additional tabs within the same window.

    I've tried opening up Firefox in safe mode and restoring its original settings. This works for about 5 minutes and then it stops again. I also tried uninstalling and reinstalling. Neither clicking on the open tab nor going to "file" and clicking "New Tab" works. I've also tried rebooting after each fix and that didn't resolve the problem either. I do not want to switch to 4.0 because its not compatible with Norton's.

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons

Maybe you are looking for