BUG found while running Matlab Script

Hi there,
  I am trying a very simple vi exacmple for learning MathScript. My labview is 2011 and my matlab is 2011b, they both install in the same computer. My OS is windows 7 (64bit). I am trying to writing the following script to the block
t=0:0.01:3;
y=sin(t);
while y will be the output name of the MathScript. I connect this symbol to the a graph and run the program. For the very first time, it call out the matlab platform and run the program directly and the result was shown in the graph. However, whenever I want to modify the script and trying to save the vi, it reports some error and the program get terminated "DAbort 0x1A7102DF in fpsane.cpp". It is so weird. If I open the closed VI again, it can run without any problem for the first modificaiton, but the problem comes again if I modify the script again after the first run.

Sorry, I currently don't have matlab installed, so I cannot test your VI containing the matlab script.
If I copy the text of your matlab script to a MathScript node instead, everything works just fine.
It is possible that the problem is within matlab and not a LabVIEW problem. I cannot tell.
MathScript is a LabVIEW toolkit that can run scripts with a matlab like syntax. You need to purchase it seperately (windows), but you can also download an evalution copy to try for free. The version for Mac and linux seems to be free but I have note tried. Are you a student? The LabVIEW student editions also include MathScript.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Error while running OMBPlus Script

    Hi,
    I am getting below error while running OMBPlus script.
    +../../../jdk/bin/java[87]: getconf: not found+
    OMB*Plus: Release 9.2.0.4.0
    Copyright (c) 2003 Oracle Corporation. All rights reserved.
    Exception in thread "main"
    I am not even able to run ./OMBPlus.sh.
    Can anyone help me on this?
    Thanks in advance,
    Regards,
    Sachin Bansal

    Hi Nawneet,
    Thanks for the reply..
    I tried the same thing on our server. But there also I am getting the same error.
    Am I missing anything?
    What I am doing is:
    1. Created one .tcl file (deploy_map.tcl).
    2. Going to path where OMBPlus.sh resides i.e.$OWB_HOME/bin/unix
    3.Then I called ./OMBPlus.sh and passed the path of deploy_map.tcl as an argument.
    For e.g. if path of deploy_map.tcl is /abc/xyz/deploy_map.tcl
    Then I would call OMBPlus like below:
    ./OMBPlus.sh /abc/xyz/deploy_map.tcl
    Even if I would not pass any argument then still it should be connected to OMBPlus. But that's not happening.
    Regards,
    Sachin Bansal

  • An error occured while running a script

    On launching Bridge, I an consistently receiving the following error.
    "There were problems loading a startup script the last time bridge was launched. Would you like to load them now?"
    Clicking [Yes] produces the following error:
    An error occurred while running a script. The script may not be compatible with this version of Bridge. Check for available updates by selecting the Updated command in the Help Menu
    Error in /Library/Application Support/Adobe/StartupScripts/AdobeStockPhotos.jsx
    Line 54: result = eval(script);
    Timeout while waiting for the engine
    I am running Bridge Mac CS2 - 1.0.4.6
    Adobe Stock Photos Update 1.0.8
    Power Mac G4 733 / OS X 10.3.9
    Updating either Bridge or Adobe Stock Photos does not correct the behavior.
    And curiously Stock Photos appears in the Favorites pane and appears to function.
    Any help ?
    Kurt Griffith.

    Good day,
    The Bridge v1.04.6 PS CS2 I am presently using has always come up with the Internet connection Error Message and none of my large imaging machines are connected nor will they ever be connected to the Internet.
    Is there a setting to do away with the Bridge trying to connect on my
    behalf ? I've spent a lot of time trying to 'fix' a problem that shouldn't have arisen.
    It wastes a lot of time trying to do something, which I do not want it doing.
    Thanks for any assistance you can provide in the matter. And please
    keep cranking out your wondrous though not totally controlable software, or so it seems.
    Best - Stephen Graham

  • Why MicroSoft 2000 SR needed while running the script using test manager???

    hi all,
    whenever I trying to run a script using test manager,one POP-UP comes which starts installing MICROSOFT 2000 SR.
    and in few seconds it complaining for some missing component,
    can any body tell me why it is happening.
    what is the need of Microsoft 2000 SR while running the script in test manager.
    tnx
    USOni

    USoni
    I have seen that problem happening before, even that i was never able to figure out why, something that you can try is changing the service log in credentials for both:
    Oracle Application Testing Suite Agent Service
    Oracle Application Testing Suite Application Service
    and use a proper user with admin rights.
    let me know if that helped
    Regards
    Alex

  • How to find the missing fonts while running the script?

    hi,
    I need to create a script to find the missing font. not only for that. Actually i created a script to read the file properties. but i have a problem while running the script.
    I have put "User Interation Level" to never interact. Even i need to check wheather each file have "missing fonts". mean time i never stop the script.
    Is It Possible???
    Regards,
    SubhaOviya

    Here's a shot of the Find Font Dialog:
    Papyrus (highlighted in the list) is missing, and there's a yellow warning triangle to show that. Fonts that ar not missing have an icon to show the type of font. You'll also see it shown as missing in the "Info" box at the bottom of the dialog.
    If you use the Replace With dropdown you will only see fonts listed that are installed on the system. In order to actually use the missing font, rather than substitute a different font in its place, you must obtain and install the missing font on the system.
    Are you seeing something different when you open Find Font?

  • While  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.

    while  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.
    i am using software version 12.5.0.1

    while  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.
    i am using software version 12.5.0.1

  • Error occured while executing Matlab script

    Hello!
    I want to run a Matlab script under LabVIEW, but there is always
    a error message which says "Error occured while executing script".
    Should I install Matlab on the same computer at first? if yes, do
    I need to configure Matlab under LabVIEW?
    Thanks!
    Le

    Yes No
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • Error while running InstallOracleProfile script

    good evening every one,
    i have installed odac for VS 2010,while running the InstallOracleProfile script the following error occurs can any one help me in solving this problem.im using windows os. the error as follows
    Connected.
    ------ Running 'C:\Users\johny.OOMSYSTECH.000\Desktop\prakash\odac_path\product\11.2.0\client_1\ASP.NET\SQL\InstallOracleProfile.sql' @PRAKASH.orcl ------
    USER
    PRAKASH
    old 33: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProperties FOR &CurrentUser..ora_aspnet_Prof_GetProperties';
    new 33: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProperties FOR PRAKASH.ora_aspnet_Prof_GetProperties';
    old 34: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_SetProperties FOR &CurrentUser..ora_aspnet_Prof_SetProperties';
    new 34: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_SetProperties FOR PRAKASH.ora_aspnet_Prof_SetProperties';
    old 35: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetNOfInactPf FOR &CurrentUser..ora_aspnet_Prof_GetNOfInactPf';
    new 35: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetNOfInactPf FOR PRAKASH.ora_aspnet_Prof_GetNOfInactPf';
    old 36: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProfiles FOR &CurrentUser..ora_aspnet_Prof_GetProfiles';
    new 36: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProfiles FOR PRAKASH.ora_aspnet_Prof_GetProfiles';
    old 37: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteProfiles FOR &CurrentUser..ora_aspnet_Prof_DeleteProfiles';
    new 37: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteProfiles FOR PRAKASH.ora_aspnet_Prof_DeleteProfiles';
    old 38: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteInactPf FOR &CurrentUser..ora_aspnet_Prof_DeleteInactPf';
    new 38: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteInactPf FOR PRAKASH.ora_aspnet_Prof_DeleteInactPf';
    old 39: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_pkg FOR &CurrentUser..ora_aspnet_Prof_pkg';
    new 39: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_pkg FOR PRAKASH.ora_aspnet_Prof_pkg';
    PL/SQL procedure successfully completed.
    Package created.
    Package body created.
    Function created.
    Function created.
    Function created.
    Function created.
    Function created.
    Function created.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    GRANT ora_aspnet_Prof_BasicAccess TO ora_aspnet_Prof_FullAccess
    ERROR at line 1:
    ORA-01919: role 'ORA_ASPNET_PROF_BASICACCESS' does not exist
    GRANT ora_aspnet_Prof_ReportAccess TO ora_aspnet_Prof_FullAccess
    ERROR at line 1:
    ORA-01919: role 'ORA_ASPNET_PROF_REPORTACCESS' does not exist
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    ---------------------- Done ----------------------
    thank you
    prakash

    Earlier in the script, the following CREATE statements were called:
    -- Create roles. Create role privilege is required.
    execute immediate 'CREATE ROLE ora_aspnet_Prof_BasicAccess';
    execute immediate 'CREATE ROLE ora_aspnet_Prof_ReportAccess';
    execute immediate 'CREATE ROLE ora_aspnet_Prof_FullAccess';
    If they didn't succeed, that would explain the GRANT errors you see. If you didn't grant the CREATE ROLE privilege to the user, that would explain why CREATE ROLE calls failed.

  • Getting error while running shell scripts

    Hi DBAS,
    I Have one requirement,i want connect n database dynamically by using dynamic password and execute some oracle commands,i written some script ,but while running i am getting error,please any one correct my error ,i am not able to getting error
    passwrd.pw like this
    abc@abc
    aaa@aaa
    # vi healthcheck.ksh
    #!/bin/ksh
    export PW=`cat /applis/forum/pune/dbhealthchecks/.pw/passwrd.pw`
    for (( i = 0 ; i < ${#PW[@]} ; i++ ))
    do
    sqlplus -s larry/$PW<<EOI
    spool sysdate.dat
    select sysdate from dual;
    done
    exit;
    EOI
    error :
    line 2: syntax error at line 11: `for' unmatched
    thanks!
    larry
    Edited by: tmadugula on Mar 18, 2011 6:26 AM

    Could you explain the reason for the for loop and connection attempts while incrementing var $i?
    It is also no a good idea to provide a password at the command line since it can be seen with 'ps' command.
    Better:
    sqlplus -s <<-EOI
    connect larry/$PW
    etc.

  • Data access error while running  the script in fdm workbench script editor

    Hello Experts,
    I have been getting the error when i run the script in script editor of fdqm workbench client.this is the error
                              -2147467259 Data access error and it is navigating the error at line 30 about this script "Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)"
    Please revert me asap where i should load the data from peoplesoft to one of my planning database through fdm.
    Thanks in advance...

    Hi,
    Thanks for your suggestion's here i am going to run the datapump script so while i am running in workbench it is throwing data access error.So as you guy's suggested i created one import format and added this script to that import format which is added to one of my location even it is throwing the same error.I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?So my question is Is there any difference while running data pump or integration script.Please let me know a detailed navigation steps to run this script's with out data access error to run these kind of scripts.
    Note:Again my target is to load the data to planning database through fdqm which i am doing through sql statement's.
    Suggest your valuable suggestion's
    Thanks in advance...
    I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?

  • IDCS5-win. Error while running a script from indesign(not via estk)

    Hi all,
    After running the script from indesign, I get following error
    ASSERT '(engine->getDebugFlags() & ScScript::kExtendedErrors) == ScScript::kExtendedErrors' in ..\..\..\source\components\script\javascript\JavaScriptRunner.cpp at line 412 failed.
    ..\..\..\source\components\script\javascript\JavaScriptRunner.cpp (412)
    any idea about this?
    The script runs fine when run from ES tool kit.
    Thanks

    Hi,
    My colleague found the problem. We were using extendables library and we still haven't figured out what was actually happening, but removing it solved the problem.

  • I have some software problems of running matlab script node in the LabVIEW program.

    Hi there,
    I wrote a simple matlab code, like x= 1, y = x*2. Then I tried to put them into matlab script node in LabVIEW.
    However, when I ran the program, I couldn't run and Labiew show some error. 
    Then I tried the method talked before on this forum. Please see the following link.
    http://forums.ni.com/ni/board/message?board.id=Mat​hScript&thread.id=571
    I followed the instruction and open the "command prompt," type some commands then I could run the program, and simultaneously, the LabVIEW program open "Matlab command line window" and run my labview code. However, if I didn't use the command prompt, the  "matlab command window" will not be opened by running the labview program. It would just show some error. And even if I turn on the matlab program in advance, I still couldn't run the labview program.
    Is there any effecient way to deal with this problem without using "command prompt?" Because I try another PC with both matlab and labview installed on it, I "can" run my simple matlab script node on it, and it will open the matlab command line window automatically by running my code. Therefore, I thought there might be some software linking problems in the previous PC I used . Do you have any ideas?
    Thanks in advacne.  

    This board is for Mathscript, but you seem to have a matlab problem. You should probably post in the LabVIEW forum instead.
    What is your LabVIEW version? What is you matlab version?
    LabVIEW Champion . Do more with less code and in less time .

  • Getting an error message while running FX script logic

    We are getting the following error message, while running the FX script logic - RUN_LOGIC:MDX statement error:"Value (Entity value) for characteristic /CPMB/U8D5FIT".  Any help is truly appreciated.  We are using the standard FX logic scrip *RUN_PROGRAM CURR_CONVERSION

    Hi,
    Hope all the required currency configuration settings are followed in Entity, Input currency, Category, Account correctly. Also reporting currency indicates the right reporting currency with the 'Reporting' propert set to 'Y' to the currency that you want to report in.
    For the period that you are running the currency trans, could you also maintain rates for the reporting currency as 1.
    Check your rate data. And please post your currency conversion script here.
    Thanks,
    Sreeni

  • Running Matlab Scripts in Parallel

    I have several MATLAB scripts running in my LabVIEW VI via MATLAB script nodes, and one of them in particular slows by program down considerably.  It dawned on me that I could just take the slowest commands in the script, place them in a script node running a separate VI, and run the two VIs in parallel.  It seems it doesn't work that way, though - my main program runs a little faster than it did before, but I only get a major speed increase when I stop the second VI.
    I realized a long time ago that two VIs running in parallel share the same MATLAB environment and can even address the same variables, but it never occurred to me that I couldn't actually run two MATLAB scripts at the same time - and that seems to be the case.
    What would be the best way around this limitation?  Is there some way I can force the two VIs to use separate MATLAB environments?  (There's plenty of resouces available on the computer, so I'm not particularly worried about inefficiency.)  Would compiling the VIs or compiling the scripts somehow help?

    What is your LabVIEW version. How complicated is the matlab code? Would it be easy to rewrite it in plain LabVIEW?
    Have you tried to see if it runs in mathscript instead?
    ( I am not sure about performance comparisons and I also don't know if mathscript can run in parallel.).
    How many CPU cores do you have?
    LabVIEW Champion . Do more with less code and in less time .

  • InDesign Quit while running the script

    Hi guys,
    Create A new document with one page of content as " ;" then run this below script.
    while running the below script in InDesign CS3 5.0.4 (Windows),  Suddenly Application has been closed.
    if(app.documents.length == 0)
                alert("No Documents are Open...");
            else
    app.findTextPreferences = null;
    app.changeTextPreferences = null;
    app.findChangeTextOptions.wholeWord = false;
    app.findChangeTextOptions.caseSensitive = false;
    app.findChangeTextOptions.includeMasterPages = false;
    app.findTextPreferences.findWhat = " ;";
    app.documents.item(0).findText();
    app.changeTextPreferences.changeTo= "<2009>; ";
    app.documents.item(0).changeText();
    Anyone help me, Where the errors occured????
    thanks,
    Nagaraj

    Nagaraj1983 wrote:
    There is no Plug-in has been installed..!!!!
    You didn't understand me.
    I'm telling you to install one!
    Here's a very nice one to have:
    http://www.dtptools.com/product.asp?id=ksin
    Try installing this plugin and then running your script.

Maybe you are looking for

  • Why do I have 2 iPhoto icons?

    After updated the iPhoto recently, it came up 2 iPhoto icons.  They are exactly the same (the version are same and using same library).  I tried to delete one of them, as a result the iPhoto app was totally deleted.  Please help how to keep 1 iPhoto

  • Some suggestions for DPS Folio Builder and Producer...

    Aside from some speed improvements, these tools fall short of a decent production system. Some improvements would be good for 2015. • red light / green light on wether an article in the folio builder needs updating. • put the order of the Kicker and

  • My iphone 4s keeps trying to shut down (the red bar keeps popping up) and I can only call using speaker or having headphones in.

    I have no idea what is wrong with my iphone.  Just this morning it started to constantly try and power down as if I keep pressing the power button on top which I am not doing.  Also I talk on a call or hear a call unless i have my headphones in or it

  • SRM shopping cart enhancement

    Hi, I need some help regarding SRM enhancement. I am adding some custom fields at item level. The same same fields should replicate in PO item level too. I am done with screen enhancements in SRM and ECC side. Now in SRM which database table i need t

  • Audition CS3 Problems

    All of a sudden I can't open Audition.  I receive an error message that says "Adobe Audition could not find a supported audio device.  Please check your device settings." I have tried everything I know of to solve the problem, but I still can'tget in