Create exe with some vi files

Hello,
I am using LabVIEW 2010
I am trying to build a "Main.vi" into an exe, in which this Main.vi needs to dynamically call two vi "1.vi" and "2.vi". I have put  into "always included" before building the exe. But after creating exe "1.vi" and "2.vi" don't run.
Solved!
Go to Solution.
Attachments:
рисунок1.jpg ‏81 KB
рисунок2.jpg ‏247 KB

Just to show what Norbert is saying.  You should get in the habit of using relative paths.  They will save you a lot of headaches down the road, especially if you are dynamically calling VIs inside of EXEs.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Relative Path.png ‏11 KB

Similar Messages

  • Question marks with some audio files

    Hello all,
    I've been trying to understand the problem I'm having with some audio files of my website, but to no avail. Some audio file are not loaded up with Quicktime, and only show a question mark with a blue "Q" around it.
    In other words, would any of you be able to help me find out why the audio files in the following pages do not work:
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/4/7_Liszt_Sonata_in_B_minor%2C_S.2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2006/6/23_Mozart_Piano_Concerto_in_C_minor%2C_K._491_i._All egro2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2006/6/23_Mozart_Piano_Concerto_in_C_minor%2C_K._491_iii._A llegretto2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2006/5/8_Bachs_Sarabande_from_Partita_no.2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2004/8/6_Beethovens_Piano_Concerto_no._2_in_B-flat_major%2C _op._19_-_i._Allegro_conbrio.html
    Although it does in these other pages:
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/10/29_Chopin_Etude_in_C_major%2C_op._10_no.1.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/9/18_Schubert_Piano_Sonata_in_E%2C_D_157_i._Allegro_ma _nontroppo.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/9/16_Schubert_Piano_Sonata_in_E%2C_D_157_ii.Andante.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2007/4/29_Beethoven_Piano_Sonata_in_C-sharp_minor_op._27_no ._2_-_i._Adagio_sostenuto2.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2004/6/8_Bach-Busoni_Chaconne_from_Partita_no._2%2C_BWV1004.html
    http://sharon.barnea.free.fr/SharonBARNEA/Music/Entries/2004/6/8_Bach-Feinberg_Largo_from_Trio_Sonata_in_C_major%2C _BWV529.html
    I really appreciate your help.

    You are giving viewers the full title on your web page.
    You could cut your files names like < Beethovens_Piano_Concerto_no._2_in_B-flat_major%2C_op._19_-_i._Allegro_conbrio.html >
    to something like BthvnPC2BfM.
    Publish to a folder and look in the "Media" folder to see that all your files are there.
    A better way to provide a download is to ZIP the music file and link to it via "Link to: A file" in the Link Inspector.
    Type "Download" over the file name that appears and select your rollover colors and U or not in the format page.

  • [svn] 1267: fixed . patch creation to create patch with the selected files only, remove, fix newlines in the patch file.

    Revision: 1267
    Author: [email protected]
    Date: 2008-04-16 17:02:53 -0700 (Wed, 16 Apr 2008)
    Log Message:
    fixed .patch creation to create patch with the selected files only, remove, fix newlines in the patch file.
    Modified Paths:
    flex/sdk/trunk/tools/diffpack/diffpack
    flex/sdk/trunk/tools/diffpack/readme.txt

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

  • Problems with some PDF files

    Hi,
    I have problems with some PDF files. After clicking on link to the file Safari shows me insted of normal document (which is working on Windows) hashes, numbers etc like it was a problem with coding or something. First I was using Preview, I though that maybe installing Acrobat Reader with plugins will solve the problem, but ofcourse it didn't. Did somebody has this same problem?

    Back up all data.
    Please triple-click anywhere in the line below on this page to select it:
    defaults delete -app Safari WebKitOmitPDFSupport
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Quit Safari. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    Wait for a new line ending in a dollar sign (“$”) to appear below what you entered. You can then quit Terminal. Test.

  • Preview displays blank page with some pdf files but prints what is hidden

    Some of my pdf files have started coming up as blank in Preview. There still is data underneath, which selecting areas will disclose as though you are scraping white out off the print.  Printing is unaffected, and only some files are affected.  Tried repairing permissions, but no luck.  I recently did the OS update, and didn't notice the problem before that.  I have restarted the computer a couple times,.  a few odd artifacts have shown up on the screen as well, though box selecting over these causes them to disappear.  I haven't been able to find any consistent difference in the pdfs that will display properly and the ones that won't.  doesn't appear to be associated with when they were created or  which version of software they were created with.  Saving them under a different name doesn't help.  Adobe reader works fine, so it is specific to Preview ( which I would rather keep as my default reader )
    Any ideas what went wrong?  How to fix it?

    I have no trouble viewing the file you posted in the same version of Preview that you have.
    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Why is Noise Reduction only available with some raw files

    I  have been going through my CRW, CR, and CR2 raw files and have noticed that some, when opened in ACR, do not allow me to adjust all the parameters in Noise Reduction.  I thought it might be ISO related, but with a group of identically created raw files, some have full Noise Reduction adjustments while the next file will not.  The only group that offers full adjustment with all files are the newer CR2 files captured with a 5D Mark II.  Older 5D and 10D raw files are a hit and miss.
    Am I missing something?
    Thanks,
    Kim

    Another way is to just go into the Camera Calibration tab and select the 2010 process.
    -Noel

  • An odd "kind" problem with some m4a files

    I have 610 m4a files that iTunes thinks are mpeg-4 video files, while the Finder clearly shows that they're audio files. I only discovered this recently when I got my first video iPod, and went to sync my usual playlist of songs. In the first moments of the sync, I received an error message that stated that some of the video files I was trying to sync weren't compatible with my video iPod. This was a shock, as I hadn't yet selected any video files to sync. I tracked all the files down and found that they all shared the same problem. I've looked at them with a few extra info utilities and nothing seems out of the ordinary. I'm wondering if this is just a bug with iTunes? If it is, it wasn't fixed with 7.0.1,
    I even went so far as creating a new user account, setting up a fresh (and empty iTunes) and adding a few of the files in question. Same problem...iTunes thinks it's a video file, yet the Finder thinks it's a audio file (which it is!). This seems to rule out iTunes library corruption and points the finger more at the file.
    I went ahead and removed all of these files from my library and they're sitting in limbo in a folder on my desktop. Any tips? Anyone else having similar problems?
    Screen cap below if you're interested...
    http://s90153983.onlinehome.us/m4a_problem.gif

    bump. no ideas? thanks!

  • Creating slideshow with AVI movie files in iDVD 06?

    Today I was trying to create a slideshow movie with iDVD. I had some AVI movie files that came from my Canon digital camera. I wasnt able to drag them into the slideshow well, so I thought I had to convert them to a .mov file, after converting them I still wasnt able to use them. Is it possible to make a slideshow with movie files as well as pictures in iDVD 06? I know for a fact that I can do this on iDVD 08, so is it possible? thanks in advance.

    Slideshows using movies is just an iLife '08 thing.
    I suggest you do what I do. Use VisualHub to convert the AVI slideshows to DV video movies. The DV video will work great in iDVD 6 when put on a menu page.

  • Exe or some other file

    I was wondering if this is possible.
    I created a 2 page program in coldfusion. It requires alot of
    math processing and I was wondering if these two pages can be
    compliled as an exe program to be run on a computer without haveing
    to rely on the CF server to do the processing.
    Regards
    Craig

    No, you can not compile CFML into in .exe. As mentioned, CFML
    is
    compiled into Java bytecode so you get that performance after
    the page
    is run once.
    But you feel you really, Really, REALLY need an exe. You can
    write the
    code in a language that does create a .exe file. Then you
    could use
    this file with either a <cfexecute ...> tag or possibly
    a <CFX_...> tag,
    depending on how you wrote and compiled the code in the
    other
    language. I beleive the <CFX tag would be expecting a .dll
    vs a .exe)
    izdabye wrote:
    > I was wondering if this is possible.
    >
    > I created a 2 page program in coldfusion. It requires
    alot of math processing
    > and I was wondering if these two pages can be compliled
    as an exe program to be
    > run on a computer without haveing to rely on the CF
    server to do the processing.
    >
    > Regards
    > Craig
    >

  • Printing problem with some pdf files

    This problem is with Windows 7 and XP.
    When trying to print I receive the following error:
    "The Document could not be printed.
    There were no pages selected to print."
    I tried the print image button and same error. 
    This is Adobe Reader 10
    I have also tried saving to different files and still same problem.
    Thanks

    Hi!
    I've tested the issue again with Adobe Reader 10.1.4 on MS Windows XP Pro. SP3, MS Windows 7 Pro. SP1 32-bit and 64-bit with the following drivers:
    - HP Universal Printing PS package ver. 5.5.0.12834 (driver ver. 61.130.04.12834) for printing to HP LaserJet 4100 DTN (224 MiB of RAM) and HP Color LaserJet 4700dn (288 MiB of RAM)
    - Samsung Universal Print Driver PS ver. 2.03.09.00_41 for printing to Samsung ML-3051DN printer with 64 MiB of RAM
    Printing of the sample 6-page PDF file (https://workspaces.acrobat.com/?d=ojv64pOBncq6XxtSiRqSkw) is still slow because the document stays long in the Windows print queue. Here are the test results:
    - printing with the HP UPD PS driver - 120 sec.
    - printing with the Samsung UPD PS driver - 220 sec.
    When the same PDF file is printed in FoxitReader 5.4.4 the document stays in the print queue for only 15 sec.
    Enabling the Print As Image option in the Reader's Advanced Print Setup can help to some degree (it gives better kB/sec. ratio but it increases the size of the print job).
    I'd really appreciate it if developers at Adobe improved the Reader in order to solve the issue with the PS drivers.
    -- rpr.

  • How to create directories with a "batch" file

    Hi,
    This may be a no brainer for you wizards out there.
    I have a text file with several hundred lines in it. Each line contains the name of a directory I'd like to create.
    I'm hoping there's a way to prepend something like "mkdir" to each line and then "execute" the file from a terminal window to create all these directories for me.
    Anybody got any ideas?
    Thanks!

    Unix, Shell, and Terminal questions are best asked in the Mac OS X Technologies Unix forum.
    <http://discussions.apple.com/forum.jspa?forumID=735>
    In the mean time:
    while read dir
    do
    mkdir -p "$dir"
    done <filecontaining_list_ofdirectories

  • Using 2 different machines with Some same files?

    I recently bought a new MacBookPro because I needed a more powerful machine to handle my audio mixes in Logic 9.
    My previous MacBookPro (from 2006) is still a good machine...I'd like to keep using it for Photos, I-tunes, etc., but there are some functions that I'd like to share between machines.
    Is there a way to synch the 2 machines? I'm using external hard drives for my i-Tunes files & I want to do the same with i-photo & i-movie files, can these by synched between both machines?
    What is the best way to work with both machines, doing some applications on one and others on the other machine, but sharing the i-Tunes library?
    If there are any links on the Apple website that address these issues, I'd appreciate anyone sharing them with me.
    Thanks, Brian

    This is a bit out of my area, but I think you want to share the data, not sync it.
    Here's an Apple article about sharing an iPhoto library: http://support.apple.com/kb/HT1198
    I'm not sure just how to go about it for other purposes, but once you have sharing set up, it may be fairly straightforward.

  • Problem with some video files after upgrading to iPhoto'11 ...

    Hi,
    I just realized that after converting from iPhoto'09 to iPhoto'11, I found 176 small video files that don't play anymore.  All problem files, can be found in iPhoto with a «.MOV» search.  When played I get this error message (it's in French :
    The problem is that I cannot find any file nested in my iPhoto Library corresponding to the iPhoto's info (name or size).  I get no corresponding file.  Also most of these «.MOV» files seem to have another file that plays and that is bigger.  It could be the original file or maybe my real file ...    As an example, one «.MOV» file is named MVI_6480Web and the original that works is named MVI_6480.  Not all problem files as the Web suffixe though.
    I did not pass all those 176 files one by one, so I am not sure what is the exact problem.  I wonder if some of you can help me understand what is going on ?
    Regards.

    dalrmi wrote:
    I can't believe this! I bought an upgrade to have new functionalities and what I'm having is a
    limitation ?
    you bought an upgrade to a separate application. i'm sure the iLife'11 manuals don't state a guarantee of compatibility with any appletv?
    i'm not saying this is definitely the cause, but in the past there has usually been a requirement for an update when new iLife products were released.
    Is it so unlikely to have an upgrade of ATV 1stG ?
    the original appletv has been replaced and as such i doubt there will be any more software updates at all.

  • ORA-28113 policy predicate has error when created VO with some tables

    When I created a VO with just SQL statements(no EO), if the sql statements included some special tables or views such as:
    hz_locations
    oe_order_headers_v
    when testing the validation of the sql statement, I encountered the following errors:
    SQL Query Error Message: ORA-28113 policy predicate has error
    and I can't continue to create this VO.
    Does JDeveloper have some special rules to check some tables or views behind the scenes?
    I used the apps/apps to connect and the following sql to create the VO:
    select state from hz_locations
    Can anyone give some help?
    Many thanks in advance!

    Hi prasannaj,
    Thanks for your prompt response.
    I find the solution and would like to share with all.
    As I guessed, this is related to the policy.Execute the following sql:
    select * from dba_policies where object_name ='hz_locations'
    you'll find the point.
    So I run policy manager with oracle database client, and find the policy related to the table 'hz_locations' , and disable this policy.
    At this time, with the original sql:
    select * from hz_locaitons
    created VO and everything goes fine and passed the validation.
    But in fact I wondered if this is the best workaround for this issues.
    If anyone has the same problem, you can refer to my solution.
    If you have better solution, also let me know.
    Thanks!

  • Dynamically creating reports with an xml file and a dataset??

    Post Author: Xaisoft
    CA Forum: .NET
    I have an xml file I created called ReportFields.xml which looks like this:
    <?xml version="1.0" encoding="utf-8" ?>
    <ReportFields>
    <AccountNumber></AccountNumber
    <FirstName></FirstName>
    <LastName></LastName>
    </ReportFields>
    I then create a blank crystal report and go into the Database Expert and choose ADO.NET DataSets, I browse to the xml file I just created, in this case ReportFields and give it a Class Name of ReportFields.  Now under Database Fields, I have a ReportFields table with the following columns:
    AccountNumber, FirstName, and LastName.
    I drag AccountNumber onto the Details section of the report.  I have a stored procedure I created called GetAccts which basically has the following syntax:
    select top 50 a.Account_Number from tbAccounts.
    Depending on which client database this is run against, it will obviously return different results.  I am using the Microsoft Application Data Access Block from Enterprise Library 3.1 to Return a DataSet.  Once I get the DataSet which would only have 1 table with 1 column (Account Numbers), how can I bind the AccountNumber field on the report to what is returned in the DataSet?
    Thanks Very Much in Advance,
    Xaisoft

    OK, i figured this much out:
    Dim ds As New DataSet
            Dim myXmlReader As New System.Xml.XmlTextReader("C:\SystemSetup.xml")
            ds.ReadXml(myXmlReader, XmlReadMode.InferTypedSchema)
            mydatatable = ds.Tables(0)

Maybe you are looking for

  • NW2004s takes a long time to start up

    I am trying to find out why out NW2004s takes a long time to start up. We have installed NW2004s SP8 JAVA only to use it as Enterprise Portal with Oracle 10g on SUN SPARC 64. While the shutdown of J2EE is pretty fast, the startup take over an hour an

  • How to restore from a session that is not the most recent

    I used the Forget button and it closed out of my windows and opened a clean window. I've started up and closed out of Firefox several times since then so using any type of 'Restore Previous Session' option won't work because the tabs I want aren't th

  • Java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv

    Hi all, I am writing a servlet that connects to Oracle 8.0.6 through jdbc for jdk1.2 on NT 4.0 English version and it works fine. But when the servlet is deployed to a solaris with Oracle 8.0.5 (not a typo, the oracle on NT is 8.0.6 and oracle on sol

  • Dynamic images in Form Builder?

    Any idea about including images dynamically? An example: how to print a form with the photo of the involved employee? Images could be available via http... Thanks a lot

  • User Defined Fields and Reference Fields on the B/S

    Dear Experts,    On the balance sheet in SAP 9.0/8.82 once you click on the expanded button, there are user defined fields and reference fields which are blank. Could someone assist on how to use them ? Kind Regards