Files directory for a Labview executable in Windows 7

I'd like to hear some opinions on this and ask what other people do. Most of my programs save data files that need to be accessible to the user, and some of them read text files that have been created by the user, e.g. a file containing a sequence of moves for a robot.
Where's a good place to put those files? In XP you could just stick them in a sub-directory in the application's directory in Program Files. Deprecated I'm sure, but simple. I think Windows 7 gets stroppy if you try to access files in an application's directory, and Windows 8, who knows? I'm pleased to say I've managed to avoid it so far.
Is there a "proper" place to put files that should be accessible to both the application and users? It must be accessible to all users, not just the one who's logged on. I've searched online and found remarkably little information about this.
For the sake of simplicity I'm tempted to just create a directory on the C: drive like C:\My Company\Program Name\. is there anything wrong with that?

Yeah it is a bit more complicated now, but Microsoft tells us it is for the best.
It is pretty common to have a Application.INI in the same directory as your Application.EXE and in the past I'd use that file to hold basic config for my application.  You can still do this with LabVIEW but you need to add an extra step in the installer creation which tells Windows that the INI file should be able to be read and written by all users.   Just check the Unblock for that file when making an installer.
http://zone.ni.com/reference/en-XX/help/371361K-01/lvdialog/file_set_install_page/
It's non-standard technically, but it is handy to copy the EXE and config together and move them around and have everything still work, instead of now needing to copy config files to various user app data folders.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • LabView executable on Windows Embedded Standard 7

    I will like to know if LabView executable with IMAQdx Vision code can be  run on Windows Embedded Standard 7. Thanks.

    Greetings,
    Most certainly, you should be able to use LabVIEW Executables on Windows Embedded Standard 7 that contain Vision VIs. The cRIO 9082 is a great example, for it uses WES7 and brings in GigE Camera support.
    Cordially;
    Simon P.
    National Instruments
    Applications Engineer

  • Running 2012 LabVIEW executable on Windows 7

    I have a LabVIEW executable that I created under LabVIEW 2012, using Runtime Environment 2012 f3.  All the software was created, and  runs on Windows XP, 32-bit.  The LabVIEW executable works without a problem on this system. 
    Now when I take that executable and run it on a laptop that has Windows 7 64-bit, and the LabVEIW RTE 2009, I get: 
    The version of this file is not compatible with the version of Windows you’re running.  Check your computer’s system information to see whether you need an x86 (32-bit) or x64(64-bit) version of the program, and then contact the software publisher.
    Any ideas?  Thanks.

    Create an installer for your EXE.  By default the RTE is part of the installer.  Run the installer on the computer you want to run your program.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Running A LabVIEW executable in Windows 7

    Can I run a Labview executable created with Labview 8.6(32-bit) in windows 7 or Vista. If this can be done then how to do it? I've tried copy the lvrt.dll(run-time engine) into the system 32 folder, but  it doesn't solved my problem. For info, My Labview exe file also consist the fuzzy logic toolkit.
    Hope someone will help me. Thanks. 
    Lojius. 
    Solved!
    Go to Solution.

    hi lojius,
      For that you need to install labview 8.6 run time engine which is freely downloadable....Please find it at the link
    http://joule.ni.com/nidu/cds/view/p/id/1101/lang/en
    thanks and regards,
    srikrishnaNF
    Message Edited by srikrishnaNF on 03-23-2010 05:46 AM

  • Dynamic outbound payment file directory for  in Payment Profile in R12?

    Hi All,
    Is it possible to have the "outbound payment file directory" setup in R12 Payment Process Profile dynamically?
    Ideally we would like to store the value in a profile and refer the lookup in this field, rather than giving it hard coded, like /net/common/CM_UTL_DIR/EBSTST
    Please let us know of workarounds also, if any.
    Thanks!
    Manu

    Manu,
    I do not think it is possible -- You may log a SR and confirm this with Oracle support.
    Where Can Be Found The Output File For The Transfer To The Bank [ID 730548.1]
    How To Change Nacha Payament Output Directory And Name [ID 786007.1]
    Thanks,
    Hussein

  • Mapviewer and file directory for apps

    Hello,
    i have mapviewer 11 EA1 pre-deployed and oracle 10.2 data base. I want to build up a little data mart with an interface to mapviewer to use geographical card material. Every query should be handled inside a browser. So i want to use servlet and jsp.
    I've built a jsp which works well within jdeveloper(embedded oc4j client). I can see the card material within the brower. Now my question is where in the file system(windows xp) can i put my jsp and servlet to make queries from inside of a browser and "it runs of its own". If i would use tomcat it's something like localhost:8080/gis but how is it in combination with mapviewer. I don't want to separate the servlets for my data mart and the gis-query. All should be in one directory, naturally with subdirectories.
    Hopefully, someone can help me
    thanks a lot

    Hi,
    /Users/YourUsername/Library/Safari/Bookmarks.plist
    Copy it to the new machine and you should be fine.

  • 1 hd with 2 file formats for use between mac and windows?

    Think this is the right forum...
    I want to instal a program onto an external hard drive for use on both mac and windows. The program supports both mac and windows.
    My plan is to get an external hd and partition it in half. One half i will format mac os extended and the other i will format ntfs. I'll instal the mac version on the mac partition and the windows version on the ntfs partition.
    This should work i'm thinking, yes? I.e. when i plug it into windows it'll run the windows installation no problem and when i plug it into the mac it'll run the mac installation no problem?
    Thanks.

    An easier solution might be to just connect the drive to a Windows PC and format it as FAT32. Both Windows (98 and higher) as well as Mac allow full read/write access to FAT32 formatted drives. No need to download any drivers, etc. It just works.
    Yes, this solution is not perfect, but none are. The free NTFS drivers for Mac are not most efficient drivers for speed/performance, the HFS+ drivers for Windows are not cheap, and have their own performance issues, and FAT32 has the limit of file sizes over 2GB (or is it 4GB now?) not supported. No one solution is perfect, but for the many one is better than the others, but it all depends upon their circumstances which is "better".

  • File Server For Both Mac OSX and Windows?

    Hello All,
    With HP discontinuing theier HP Server line, I've been browsing around for quite some time at a good box to use as a file server.  My windows Home server is about to die i feel, and most PC based servers seem just as pricey as me acquiring a Mac Pro Server with Two 1TB Hard Drives and using OSX Lison Server.
    However, before I take that plunge I was really wondering if anyone had had any success or stories that they can share about using a Lion Server with windows 7 PC's.
    I use a MAC, but everyone else here uses windows.  On my the home server box we bascially store all of our digital photographs, personal files and such as a backup.  Granted the Apple time machines and mac mini's can be used as the same but you loose the redundant hard drives and stability of comintuing to upgrade if you run out of space.
    So I'm hoping that its positive and pretty much flawless where the Mac Pro with Lion Server could just save and serve files galore without slow down or problems.  With my past mac experience that's usually not the case.  I just want to replace that box, have a new box that can store files off of the independent machiens with a here or there additional backup on it as needed.
    The other plus if I take this plunge is I have a Mac Pro box for greater functionality at home over my Macbook Pro!   So yeah, a little perk for me...
    Thanks in advance for any news you can help or offer me...  I know I'm probably asking something that a ton of others may have alredy asked and sorry for the duplication if thats the case

    Mac OS X Server can do all that.
    You can keep All the user accounts on the Server, or you can just use it for File Sharing. Does Windows SMB or Apple File System sharing without issue. Disk Utility can create Mirrored RAIDs right out of the box, that expensive RAID card is only needed for RAID 5.
    I run a Server at home like a School Server with ALL User files on the Server (you log on at any Mac and your files appear, because they are on the Server). User files are on a pair of Mirrored RAID drives, and I use Time Machine to automatically back up all the User Files on the Server once an hour. Gigabit Ethernet Switches provide "Hard Drive-like" file access.

  • UPPER and lower case file extensions for Photo Shop Elements using Windows 7

    How do I persuade WIndows 7 to show both UPPER and lower case file extensions, which is a very useful facility offered by my ancient, 2002, version of Photoshop Elements? When processing large volumes (100 plus) photos it is very useful to be able to spot those that have been processed among those awaiting my gentle touch. The JPEG file extension produced by my camera is UPPER case so by using "Save as" with lower case the modified photos are immediately spotted. This worked fine on Windows XP and the same programme has loaded and works well on my new laptop which came loaded with Windows 7 EXCEPT that it persists in using UPPER case all the time, irrespective of the preference settings in PSE. HELP!
    Camperman1

    In PSE there is a facility "File > process multiple files".
    Using this facility you can actually process multiple files at one go and you can easily rename images.
    Addi

  • What's the path and file name for the program to make window xp recovery cd?

    I need to replace a hard drive, so I  have to make a set of CDs to install windows XP,  but in ACCESS IBM, I cannot find the program to make window xp recovery cd as instructed on the website. where can I find it? Thanks
    solved, thanks anyway. mine is T43, the hard disk got bad setctors now, so I got a new disk to replace it, so I need to install xp first, that's what I need, but there are no xp installation cd now and I can not find the program to make the cd. I downloaded  xp from internet to solve this problem.
    Message Edited by mary2001 on 07-04-2008 12:05 PM

    Hi mary2001
    I have a similar problem, so where did u downloaded the xp? I have a produkt key on the back of my IBM T43, but no cd.
    Please help me...

  • File Directory for Safari

    I am trying to move my bookmarks from my old G5 machine (OS 10.4.11) to my new MacPro (OS 10.5). Where is the bookmarks file in 10.4.11 and can it be copied directly to replace the bookmarks file in OS 10.5? I think both machines have Safari 3.

    Hi,
    /Users/YourUsername/Library/Safari/Bookmarks.plist
    Copy it to the new machine and you should be fine.

  • What environment variable I will set  for the default SQL*plus file directory

    Hi there,
    I run sql*plus on windows 2000 professional. I want to set a file
    directory for sql*plus so that when I write something in a file,
    it will be in my default file directory. What environment
    variable I will set for that? Thanks in advance.

    hi , i have already install my oracle 8i personnel edition to my computer , but my sql plus don't seen to work ,
    i understand that they username are ( scott ) and password are ( tiger ) but after i type them and press ok there will be a box coming out and it said ( Cannot open registry Software \ORACLE\HOME1\SID_LIST Starting with default sid )
    after i click ok there will be another box asking for password , but i what is the password ? it look to me like a internal password , it can't be tiger for this , cos before that i have already type in my username and password , this is the later part , anyone can help? pls reply, thank alot Nigel,
    I'm not sure about Oracle8i Personal Edition. The default username/passwords are:
    scott/tiger
    system/manager
    sys/change_on_install as sysdba
    You could try the database installation discussion forum for more help. If you find out what the password for this dialog is, please post it to this group for the benefit of others.
    Alison

  • How can I call a LabVIEW executable from within another LabVIEW executable?

    I have a customer requirement for two LabVIEW executables. Based on their current setup, they need to run executable "A" or "B", both of which are under independent revision control. I have created a third "selection" executable that allows the operator to choose between one of the two, but I am receiving errors when I attempt to call a LabVIEW executable from within a LabVIEW executable using either the "System exec" VI or the "Run Application" VI. If I call a non-LabVIEW executable (such as Windows Explorer) everything works fine.

    > I have a customer requirement for two LabVIEW executables. Based on
    > their current setup, they need to run executable "A" or "B", both of
    > which are under independent revision control. I have created a third
    > "selection" executable that allows the operator to choose between one
    > of the two, but I am receiving errors when I attempt to call a LabVIEW
    > executable from within a LabVIEW executable using either the "System
    > exec" VI or the "Run Application" VI. If I call a non-LabVIEW
    > executable (such as Windows Explorer) everything works fine.
    As with the other poster, I suspect a path problem. You might try the
    path out in a shell window, and if it works, copy the complete absolute
    path to LV to see if that works. LV is basically passing the comma
    nd to
    the OS and doesn't even know what is in it, so you should be able to get
    it to work.
    The other poster commented on subpanels, which is a good suggestion, but
    without going to LV7, an EXE can have open more than one VI. You can
    use the VI Server and the Run method to fire up another top-level VI.
    The decision is whether you want both to be in unique processes.
    Greg McKaskle

  • File path of a currently executing teststand test step

    How do i extract the file path for the currently executing LabVIEW test step within my operator interface.
    Many Thanks,
    Dave.

    Hi,
    I assume you need the SequenceFile Path where the LabView test step is located in TestStand.
    To reach to the currently executing step SequenceFile path you have to:
    1. get the SequenceContext for the execution
    2. get the currently executing step from the SequenceContext (SequenceContext.Step)
    3. get the sequence in which the step resides from the Step (Step.Sequence)
    4. get the containing sequence file for the Sequence (Sequence.SequenceFile)
    5. get the Path from the SequenceFile (SequenceFile.Path property)
    In case you want to determine the VI file path for the LabView test step Module one approach is:
    1. get the SequenceContext for the execution
    2. get the currently executing step from the SequenceContext (SequenceContext.Step)
    3. get the PropertyObject for the step (Step.AsPropertyObject)
    4. get the VI relative path from the step subproperty using "TS.SData.ViCall.VIPath" lookup string (PropObject.GetValString)
    5. now use the Engine.FindFile on the retrieved path at the step 4. above, to get the path to the executing VI
    Hope this helps,
    Silvius
    Silvius Iancu

  • LabView executable

    A LabView programm that runs fine in the development system crashes
    always on the same position when it is an executable. I get no errors when
    compiling it. Everything looks fine, but it dosen't work.
    I hope that somebody can help me?
    Ulrich

    Greetings,
    Most certainly, you should be able to use LabVIEW Executables on Windows Embedded Standard 7 that contain Vision VIs. The cRIO 9082 is a great example, for it uses WES7 and brings in GigE Camera support.
    Cordially;
    Simon P.
    National Instruments
    Applications Engineer

Maybe you are looking for

  • Restrict Pricing updates in Sales Order

    Hi All, I have created a pricing conditon formula to get the price for the real time contract price from a third party Contract management system through a RFC call, and assigned the formula to a condition type. In this formula, if there was an error

  • SOAP: call failed: java.io.IOException

    Hi gurus, I was executing several stress-tests for an interface between to non-SAP systems over PI, that both use async SOAP adapter communication. The requirement is to transfer up to 70mb files with single files. I executed the tests successfully w

  • Any Way to Speed up Mac Mini? (G4)

    Hi, I was just wondering whether you can give a speed boost to an old Mac Mini like mine. I have tried some utilities like onyx and still slow. HDD is 80 GB and I have over 40 GB free space. Maybe ram or SSD? Thanks.

  • Finder Broken

    So I'm pretty sure that the logmein software (logmein.com) has somehow broken my Finder or a link between the System and the Finder. I've uninstalled logmein, but the damage has been done. Here's what's happening... My computer is set to turn on in t

  • Error communicating with AdobeID server - DAY 3

    So, I'm trying to activate the Digital Editions of Adobe on my MacBook, but I keep getting this darned message:Error communicating with AdobeID server. Please try again later. What in the world is happening? I've been trying to get this to work for n