Getting -90031 (can't find function) error from Mathscript node when running executable, but works when I run the pre-compiled VI

I have set the Mathscript preferences 'Path' and 'Working Directory' parameters to the folder containing my scripts, and it works when
I run the VI, but I get a -90031 error when I run the executable.
What am I doing wrong?

Hi Umars,
I had the same problem. In my case it turned out that it was caused the surrounding code. Plus the error
message was missleading. I got the error message -90031 (unknown symbol CalcWelchCorr2) for the
following piece of code:
ecorr= 1;
if setup & src== 1
   for lag= 1:50
   rho=  CalcWelchCorr2( lag, win );
   if rho > 0.001, ecorr= [ecorr; rho]; else, break; end
end
CalcWelchCorr2 is a user defined function located in the MS search path. The problem was caused by the
"break" in line 5. Actually this line was marked by some little warning symbol. Eventualle I modified the code
to get rid of the break
ecorr= 1;
if setup & src== 1
   lag= 1; rho=  CalcWelchCorr2( lag, win );
   while rho > 0.001 && lag <= 50
      ecorr= [ecorr; rho];
      lag= lag+ 1; rho= CalcWelchCorr2( lag, win );
   end
end
and voila, the executable worked fine.
However, I had to check all my VIs ( > 200 !) for similar errors which gave me headaches.
Why does the application builder doesn't produce some appropriate error message ?
E.g. "Line xxx in MathScript node in VI xxx cannot be executed"? Currently you get the
impression that the application was build successfully but eventually you get strange errors
or even erroneous results. Keep in mind that tracking down bugs in the final application is
much more difficult that in LV. Also the error message produced by the executable was not
helpfull at all.

Similar Messages

  • How do I get past "can't find valid dvd player" error?

    This is regarding a G4 powermac running Tiger 10.4.3
    My Sony dual layer DRX-720UL/T seems to work fine with DVD-ROM content. My kids use it for DVD-ROM games and I had no problem installing Tiger. Problem comes in when I open "DVD player" and get a "Can't find valid dvd player," error. They're connected via Firewire 400, and I've tried the USB link, just to see, but the same error comes up. I'm fairly certain that I viewed a DVD before upgrading to Tiger. The Sony is supposed to be fully mac compatiable, and even comes with Toast light 6. Again all seems to be well except for the fact that DVD player won't allow me to view a NTSC DVD. No matter how many I try.

    What drive was in this G4 prior?
    If you did not have a DVD drive, you need to use Pacifist to extract & install DVD Player.app; downloading or drag&drop won't work.
    Also, Sony drives are probably the worst when it comes to compatability; one specific model may work fine, and others not. This should be less of an issue in Tiger, but only if the problem is other than the optical drive firmware, about which you can do nothing (on a Mac), unlike Pioneer & NEC drives that have mac-based flashers available.
    If DVD Player was installed previously, based on having a DVD drive prior to Tiger install, you may want to try running the 10.4.3 Combo updater over your existing install.

  • I don't know how it happened but my camera was deleted,i tried downloading it from app store but i can't find it there,i tried downloading other photography app but it didn't work for it says my device has no camera.how can i get my cam back?

    i don't know how it happened but my camera was deleted,i tried downloading it from app store but i can't find it there,i tried downloading other photography app but it didn't work for it says my device has no camera.how can i get my cam back?

    Default apps are part of the iOS and cannot be deleted.  Search all home screens and all folders and/or search for it with Spotlight, that will tell you what folder it's in.
    Also check Settings > General > Restrictions to see if it has been restricted.
    If not found, Settings > General > Reset > Reset Home Screen Layout.

  • Distiller "can't find font" error with MS-Gothic and ArialUnicodeMS

    Hi. I'm tried to verify that Distiller (both 9 and XI) and PDF Generator (11.0 SP1) are able to generate PDFs from Postscript files using a variety of fonts. Almost every font that I tried works perfectly fine, but MS-Gothic and ArialUnicodeMS both fail with "can't find font" errors. I've verified font configurations in both Distiller and PDF Generator, and lots of other fonts work fine. I've also verified that the two fonts are installed, enabled, and can be used in other applications (e.g., MS Word). In fact, I can generate PDFs from MS Word documents on the same server that use both of those fonts. I suspect the errors are misleading in that those apps can find the fonts, but are unable to open or use them for some reason. I've been able to replicate this behavior both on Windows Server and Mac OS X.
    Has anyone seen behavior like this? Any suggestions on how to get more information out of these Adobe apps to get a better idea what the real error is?
    JJR

    Addirional note: This is a java class within a JavaFX application if that is relevant.
    It does seem to be relevant - if I create the same class as part of a Java application rether than a JavaFX application it compiles without error. Is the imported java.awt.GraphicsEnvironment different in the tow cases??
    Edited by: Sidereal on Aug 28, 2009 11:19 AM

  • Can't find DAE error message -9065

    IEverytime I launch Logic i get the "can't find DAE error -9065" message. any tips?
    Thanks
    matt

    If you don't even have Digi HW, somehow somebody installed and drove with it. So you're better off removing the driver because it's only going to cause problems. You can launch Logic with control held to bypass the audio engine from loading when you launch, to disable it.

  • I get itunes can't find file when I tried to play a TV show I had purchased that was supposed to be in the cloud. There are several of these, including an entire season. In the store it shows that I purchased these shows when I checked them.

    I get itunes can't find file when I tried to play a TV show I had purchased. I then checked and had this problem with an entire TV season I had purchesed. The shows were supposed to be in the cloud. I went to the itunes store, went to the tv shows and they showed that I had purchesed them. They do not show up when I click on purchesed in the store.

    Try this...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • How can u find SRM error message texts?

    hi friends
    How can u find SRM error message texts?
    thanks
    regards
    chinna

    Hi,
    There are several ways.
    1. Go to BBP_PD and open the document. Select the link "Check again" in the bottom area.
    2. Go to SE17 and serch it from table T100.
    3. Go to SE91.
    Regards,
    Masa

  • Can't find last import from iPhone! Noticed as I imported I had that view where there was only one project symbol, not all my projects showing by date, but even so pictures were imported. It took the time to do them, so where

    Can't find last import from iPhone!
    Noticed as I imported I had that view where there was only one project symbol, not all my projects showing by date, but even so pictures were imported. It took the time to do them, so where aare they? I have closed and restarted to get back fll view of all dated projects, but nothing can be found from today...

    have i posted it right...??  no response from apple guys...

  • I'm sure this is a setting fix, but can't find it-.  All of my windows for mac programs open when I turn on my computer, such that I have to close each one individually to get to my desk top.  How do I adjust so none of them open unless I choose to?

    I'm sure this is a setting fix, but can't find it….  All of my windows for mac programs open when I turn on my computer, such that I have to close each one individually to get to my desk top.  How do I adjust so none of them open unless I choose to?

    Remove the check in the box "Reopen windows when logging back in":

  • How can i find my iphone from my mac computer

    how can I find my iphone from my mac

    i lost my iphone..I had find my iphone installed on it prior...
    how could i locate from my mac computer

  • How can I find a photo from the backup file in my pc?

    How can I find a photo from the backup file in my pc?
    I have accidentally erased a photo. It happened after the backup.

    I am not aware you can extract a single photo or a single app's content from the backup, you can either restore the whole backup to your phone or not restore. If you restore your last backup to your phone then any content that is currently on your phone will be replaced with what was on it at the time that the backup was made - so if you do decide to restore, first copy off any purchases to your computer's iTunes via File > Transfer Purchases, and copy any documents/files that you've udpated on the phone since the backup.

  • How can I find 0YEA_QUA_MON_DAY hierarchy from 0CALDAY in RSA1?

    Dear expert,
    How can I find 0YEA_QUA_MON_DAY hierarchy from 0CALDAY in RSA1? or any t-code?
    i've try RSH1, but not found.
    Megan Wu

    Dear expert,
    How can I find 0YEA_QUA_MON_DAY hierarchy from 0CALDAY in RSA1? or any t-code?
    i've try RSH1, but not found.
    Megan Wu

  • I can't find photos imported from my iPhone 4 with "Image Capture" to iPhoto in my iPhoto anywhere... and they were deleted from the iPhone after import! Can anyone help me find the photos?

    I can't find photos imported from my iPhone 4 with "Image Capture" to iPhoto anywhere... and they were deleted from the iPhone after import! Can anyone help me find the photos?

    Do you know the date they were taken? Try search on that.
    Regards
    TD

  • Where can i find Functional location status in PM module ?

    Hi all,
    Where can i find Functional location and network order status in PM module ?

    Hi,
    You can rty using the table JEST-STAT.
    Thanks,
    Stock

  • HT1689 Where can I find my balance from a gift card.. I did not use the full amount

    Where can I find my balance from a gift card.. I did not use the full Amount

    My account's balance shows at the top left of the store's page on my computer's iTunes, and by logging in to view my account via the Store > View Account menu option. On my devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > iTunes & App Stores and it should show on the screen that you are taken to)

Maybe you are looking for

  • Acount Assignment necessary

    Hi , While I am trying to create PR with a material for a plant type I am getting the following message . There is no provision for value-based inventory management for this material type in this plant. Account assignment is thus necessary. I want to

  • Is this mean that successfully deploy the portlet ?

    Hi, I use Sun Java System Portal Server 6 2005Q, use the following command to deployo portlet, I am not sure if I successfully deploy the portlet? pdeploy deploy -u amAdmin -w amadmin -p amadmin -d "cn=amldapuser,ou=DSAME Users,dc=icheng,dc=com" C:\S

  • Problem in AUC Settelement

    Dear all, i have a problem at AUC settlement , i am using T-code AIBU, system is giving error - "transaction type 345 not possible -(posting  to affiliated company). i am settling asset in same company code, there is no chance to post other company,

  • Can I get a higher op system than MAC OS X 10.3.9 on a ibook G4?

    I hsve just brought a ibook G4 and would like to upgrade the op system but am unsure if I can and how I go about it. These are the details of my laptop - Can I get a higher op system than MAC OS X 10.3.9? Machine Model: iBook G4 CPU Type: PowerPC G4

  • Out of memory error in Iplanet 6.x

    Hi As we are using web server on iplanet 6.x in which we are facing the problem of "Out Of Memory" frequently. The same has been resolved after restarting the server. Can you guide me is there any settings related any Memory Parameter in iplanet whic