updated 2009 LabVIEW Mathscript

Hello

I developed an application in LabVIEW 8.6 who
contains a large MathScript node. It's time to upgrade to LabVIEW 2009
and I am facing problems in that. I have the Mathscript RT Module
installed and enabled on my computer.

I want to emphasize that
the application works perfectly at 8.6. After the first performance in
version 2009, I got 2 errors:

-90031: "unknown output."
variable. The variable is a string. He showed up in a red dot
(see photo). I've never seen this before red dot...

another
error in another node:-20104: input parameter have at least a NaN
element. What is an element of NaN? This error occurs in a line that looks like
as A = median (B) where B is a vector line.

also in this second
node, I have a lot of output shown in the red dots, the string variables
outputs and some double precision as well.

What
are the requirements to upgrade to LabVIEW 2009, insofar the MathScript
is concerned? There are issues to be addressed? major changes, I should
Be aware of?

Thank you very much

Sam

Hi Sam,

You can define variables by their wiring as inputs or by setting them in the script of the node.

If your solution is still available in 2009. In fact, this looks like the right solution to get the behavior you're looking. I think that the reason that it does not work is that there is still some output variables that need to have your solution that are applied to them. These output variables are currently not be wired in the shift registers MathScript node and are only defined in the case of statements which are false, when your code is running. So, if wire you these variables in the MathScript node, the errors should go away and you will not see the default values.

Initialization of variables in the upper part of the MathScript is another way to get rid of the error. However, it seems that this is not the best solution in your case because you want the variables to receive the same value they had at a previous time, that run MathScript node. The best way to do is with registered SHIFT wired as inputs to the node.

The reason for this change in behavior between 8.6 and 2009 is indeed to help users find bugs or logical errors with their code. The new behavior makes it less likely that downstream from the MathScript node code tries to use an output that has an invalid value (by default).

I hope that this explanation makes things a little clearer.

Thank you

jattas

Tags: NI Products

Similar Questions

  • Update of Labview

    Hello

    I do not know if I write correctly, but I'll try.

    I have been using Labview for one year, and as much difficulties I had, it was always with installation and update of Labview. I have a few wishes to work better with this, from my point of view.

    (1) as Labview have a lot of modules etc. And soap operas for module each separately or one for all. I think it would be easier and more interesting that I put the CD/DVD, then I put my series and installation program shows me that I can install or what kind of modules for my license is valid. As I was a beginner, I didn't what is what for and what I can install to my driver's license.

    (2) why is there no correct update of Labview? Something that shows me that the new software is out or something? And then automatic installation... I am still installing SP1 for Labview 2009, but there is always a problem: / I tried to install the new drivers for my cRIO system but it shows that something is still missing and I don't know how I can find the rest... SERVICE UPDATE OR never found anything.

    (3) removal of the software don't is not pleasant. Many things connect with each other and some I do not know why... For example I cRIO drivers 3.3.0 and I installed 3.5.1 drivers but as system showed me that I can't use it because something is missing and I decided to uninstall. Fortunately new pilots were linked to the old one and I had to uninstall everything... and then again to install the old one.

    It's the little things that really annoying me with Labview, but I think it should be much easier...

    Kind regards

    Nemesis

    Hello

    As I couldn't do run, then I decided to reinstall Windows with Labview. And finally, after a few hours I got a good result. Something was not well installed. Max indicates that I have all but he could not install drivers cRIO. Finally, I managed to install the cRIO 3.5.1 drivers.

    Thank you for the help and attention.

  • lack of LabVIEW MathScript commands for control systems

    I look at these:

    It comes with LabVIEW control system engineering.

    I have 2015 LabVIEW MathScript RT and a trial license for the library control and Simulation.  I also installed MatLab license, but it doesn't have the toolboxes of the control system.

    They both use the command 'SS' in MathScript.  I can't find.  I get errors.  I am looking for help and he's not here.  It is not in the examples.  When I look at the block schema of VI of the video HAS I have fewer controls on mine.  I get the PID, fuzzy and System Identification.  I do not have "SISO.

    I have several assumptions about what is wrong:

    • It has been removed from the MathScript RT module.
    • I need a package of different tools or demo.
    • It has a new name that is not intuitive.

    You can help me find the "ss" command so I can reproduce what they do?

    You have installed the wrong version of the Control Design and Simulation module - version must match the version of LabVIEW (i.e. 2015, in your case).

    Download/install the older version and you should be good to go.

  • Module LabVIEW MathScript RT x 64

    Hello everyone

    I tried to find the labview MathScript RT Module x 64 tooklit, but it is just for x 86.

    my version of labview is 2014 x 64.

    How can I install the MathScript RT Module for x 64.

    Y at - it all tooklit MathScript RT Module for x 64?

    LabVIEW MathScript RT Module Readme 2014:
    (Windows) MathScript RT Module runs on the Windows 32-bit operating systems.
    (OS X) MathScript RT Module runs on 32 - bit OS X operating systems.
    (Linux) MathScript RT Module runs on Linux 32-bit and 64-bit operating systems.

    LabVIEW MathScript RT Module Readme 2016:
    The LabVIEW platform support does not include the MathScript RT Module (64-bit). To install the MathScript RT Module (64-bit), visit ni.com/frinfo and enter the Info Code lvmsdownload to download the software. You can also ask the media 2016 LabVIEW (64-bit), which includes limited support for 64-bit modules and toolkits, from the Web site of NOR.

    So, if your operating system is linux I think that you can install by using the statement to:
    http://digital.NI.com/public.nsf/allkb/677EF84850E6635286257CE80036AF0C

    If I think that in 2016 version of windows, you can get here:
    http://www.NI.com/download/LabVIEW-MathScript-RT-module-2016/6164/en/

  • can I install the old microsoft security updates (2009) on top of new security updates (2011)

    can I install old microsoft security updates (2009) on top of new security updates (2011) (ex: KB1234 is a fix for ieexplorer 2011)
    "(and then on top of that I'll install KB4321 a fix for iexplorer too)." Is this possible? Or is the patch also corrects the same problem that occurs in the past?

    Run Windows Update... it will select what your computer needs.

  • Please, need help printer. Nothing to do with Security Update 2009-001.

    I need help, and looking for the forums just makes me worse headache. I need to use passthrough printing, but the Mac printer does not in the comments.

    Details: OS X 10.5.6 Fusion 2.0.2. Guest is Windows 2000 SP4. Security Update 2009 - 001 has not been applied.

    The printer is a HP PhotoSmart C4480 printer attached to the Mac via USB.

    In order to avoid the obvious questions:

    Passthrough fusion printer is active. Become disabled as some users report. The Serial Port is present and connected. In OS X printer sharing is enabled in the world and for this printer (but my impression is that it should not be).

    I confirmed that the printer works from OS X. And he is listed in the merger USB menu.

    The process of Thinprint TPAutoConn * are underway on the guest. COM1 and COM2 are both present.

    The user can not use the old printer sharing solution because there is no Windows 2000 for this printer drivers. The VM is totally dependent on the system of Thinprint, and I never put in place before. Have never seen a working configuration. Don't know about its configuration beyond what is in the VMX file and upgrade manual.

    There are merger Console messages that say "no printer configured or unavailable." I think it's the key to the problem... but I don't know what to do about this.

    Help...

    Fuzzy-wan says:

    Pat Lee says:

    We have designed this feature to Windows XP and later versions. So it will not work on Windows 2000.

    Hmmm. Woody didn't say exactly if the printer actually prints

    Well I wouldn't went all the trouble to clean the building a Machine virtual Windows 2000 Pro SP4 with VMware Tools installed and printers enabled for the Virtual Machine settings and took all the dialog boxes and to make a film of the if I did had not bother to actually check and see if she would print!

    Find attached an image of a Windows 2000 printer print Test and note the relevant information.

    Computer name: W2KVM

    Name of the printer: HP LaserJet 4050 on MacBook Pro

    Printer model: TP output gateway PS

    Support: Yes

    Port name (s): THIRD:

    Note: because the printer is a B & W LaserJet I guess that the "support: Yes", it's that the "printer model: TP output gateway PS ' supports color and will therefore work with color printers as well.

  • updated 2009 macbook to el capitan

    I have a 2009 macbook which I've already updated from its original operating system for OS X 10.6.8. Now, I need to upgrade the laptop to el capitan. Is it still possible? The material of the laptop is able to do this?

    No doubt; Some models sold before January 20, 2009 won't be able to run it. To tell for certain, choose about this Mac from the Apple menu, click more info and see if the model identifier is at least MacBook5, 1.

    (142030)

  • In 2012 LabVIEW MathScript RT module does not work

    Hi all

    I recently installed LabVIEW 2012 in my PC with Windows 7. However, Mathscript does not at all. It says "an internal error has occurred in the MathScript RT Module.  Restart LabVIEW and try again.  If the error persists, reinstall the MathScript RT Module. "I did it, but still does not work. It is said further than Mathscript is missing or not installed", but I have installed. What the problem would be, please?

    Have you been able to verify the installation and activation in the License Manager OR? It should say enabled for this computer and have a green square like this:

  • Improved speed for the LabVIEW MathScript calculation

    I use a MathScript node to perform calculations on a sbRIO FPGA module and the speed of these calculations is critical.  What are some ways to improve the speed of calculations and y at - it a faster way to make calculations of MathScript matrix?  If I belong the MathScript in a Subvi it will improve the speed of calculations?

    Thanks for any ideas

    Please look at the VI attached. She is your original code ".m", my changes to your ".m" and G code equivalent to the updated code ".m". First, let me describe the numbers that I've seen on a cRIO 9012 for each of the three approaches.

    I ran to each of the three approaches for the hundreds of iterations, ignored the first 30 iterations to allow allocations of memory (which caused a huge spike in runtime performance about the RT), then took the average operation time for each iteration of the loop for the remaining iterations

    Original M: 485 msec/iteration

    Updated M: 276 MS/iteration

    G: ms 166/iteration

    The changes I made to your code ".m" are:

    (1) added; at the end of each line to remove output (used for debugging)

    (2) left random code generation - used whitenoise (seems like that is what you did)

    (3) turn on the type of data highlighting the function. Noticed that the majority of data was cast in the complex, although that did not seem like you need the complex domain. The source has been function sqrt. Changed using real (sqrt (...))

    This improvement in performance by more than 40%. I believe that more can be pressed if you follow the documentation - MathScript wrote for real-time Applications.

    Then I took the MathScript you and equivalent written G leaving the algorithm as it is. This gave us the improvement of the performance of another 40 per cent in the G. updated the it is a known issue that on slow controllers, MathScript adds a penalty of 2 x to g equivalent. We are investigating this issue and may be able to fix it in a future release.

    If you are profiling the G code, you will notice that most of the time we spend in the multiplication of matrices. Unless rethink you your algorithm, I doubt that this can further improve.

    Let me know if you have any questions

    Kind regards

    Rishi Gosalia

  • Error Code HDL with CRio RFP generation after update for LabView 2012

    Hello everyone,

    I use a CRio DP Comsoft master/slave module for my communication with a PLC system. The application worked perfectly under LabView 2011. After the update to LabView2012, I got an error message that the HDL Code generation failed. After that I've updated also the Software NI Profibus CRio in Version 1.3, but this n ' t´t solve the problem. The next step was to use the example of project code "CS_cRIO-PB_DP-MasterExample" which was delivered with the new NI CRio Profibus software. Even with this code example, the problem still exists. For detailed information on the configuration and the error message please refer to the screenshot. Any help or idea would be appreciated.

    Jürgen

    Hi Jürgen,

    I looked inside and could reproduce this error. Somehow the compiler with LV 2012 has problems with the coded 8.5.1 Subvi LV. Please use the attached VI and copy it to the following location. (\\Program Files\National Instruments\LabVIEW 2012\vi.lib\addons\Comsoft.lib\cRIO PB)

    Before do you it please close your LabVIEW.

    Then try to compile again.

    Let me know if it still does not. We are currently working on a new installer that will correct this problem.

    DirkW

  • Update of LabVIEW, which updated 9.8 DAQmx. SMU-8101 to 9.4 DAQmx. Difficult how?

    I am trying to use MAX to navigate up to a DAQ SMU-6363 connected to my SMU - 8101 RT connected to my local network, but encounters an error: "error-88716 occurred at communication·entre·dispositifs·de·sante·personnels, or the possible reasons: the requested operation failed because a driver on the local and remote system versions are different."  Updated the driver for versions on both systems are the same.  "Remote system: 172.17.2.65, Incompatible driver: NI - DAQmx Device Driver 9.4.0f0.

    This problem occurred recently when I've updated LabVIEW on my development computer to the latest version (2013 f2), which updated DAQmx on my development for v9.8 machine.

    While I'm not quite there, I intend to analyze an audio signal using the SMU-6363.  I guess I'll need to have all the properly information in MAX before I have a hope of implementation in LabVIEW.

    I am now updating the drivers / firmware on the SMU help system full of communication between my development system and the SMU system and having problems.

    During an attempted 'Select all to install' for 'NOR-DAQmx 9.8.0"in the" Add/Remove software"on the SMU-8101 thanks MAX system, I get the error:

    ---------------------------

    Cannot continue following unresolved dependencies:

    Acquiring dynamic signals 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    Acquiring dynamic signals 9.8.0 requires Intel 8254 x Ethernet Driver 5.0
    Counter/Timer 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    Counter/Timer 9.8.0 requires Intel 8254 x Ethernet Driver 5.0
    NOR-DAQmx 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    NOR-DAQmx 9.8.0 requires Intel 8254 x Ethernet Driver 5.0
    Multifunction 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    9.8.0 multifunction data acquisition requires Intel 8254 x Ethernet Driver 5.0
    CompactDAQ 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    CompactDAQ 9.8.0 requires Intel 8254 x Ethernet Driver 5.0
    CompactDAQ 9.8.0 requires LabVIEW time real 12.0.0
    E/s digital industrial 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    E/s digital industrial 9.8.0 requires Intel 8254 x Ethernet Driver 5.0
    Analog output series 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    Analog output series 9.8.0 requires Intel 8254 x Ethernet Driver 5.0
    OR-653 x 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    OR-653 x 9.8.0 requires Intel 8254 x Ethernet Driver 5.0
    SC Express 9.8.0 requires linguistic support for LabVIEW RT 1.0.0.3
    SC Express 9.8.0 requires Intel 8254 x Ethernet Driver 5.0

    ---------------------------

    This dialog box does not offer an option to automatically try to download or to locate the missing packets.  Research online revealed no obvious statement upgrade for my particular case.

    I downloaded and installed v9.8 DAQmx as well as RealTime 2013 module on my development machine, and am trying to download the 4 GB device drivers.

    Is there a suggested method for the SMU-8101 software update / firmware must match that of my development machine that does not require me trying decrypt and download the packages manually?

    I've never worked with the SMU (or any remote system) with LabVIEW front and wait it would be an easy fix for someone more experienced in this.

    Owen

    AHA!

    OK, that explains it.  You actually have LabVIEW 2011 on target (SMU-8101) but you have LabVIEW 2013 on the host.  You have all the required software installed on the host computer, but there are conflicts between the required versions of the software on the controller itself compared to what you're trying to install now.  You have 3 ways to do this:

    (1) the cleaner to proceed is to keep track of all the software components that you have installed (version is not important) and then UNINSTALL all the controller software, and then REINSTALL your software (leaving MAX select the latest versions of everything).  This ensures that you'll get the latest components of software.

    (2) the 'simpler' wat to proceed is to pass by and "update" symbolizes all the components with an icon 'Bang' (yellow triangle with an exclamation point) to upgrade/reinstall the latest version found on the host - the icon of 'bang' software currently installed on the target, but more recent versions exist on the host computer.  Version does not update without user intervention, even if the other components require more recent versions.  This lump all your versions later, that's what want the latest version of DAQmx.

    (3) nuclear option - reformat your controller and reinstall all software.  This is not recommended, but this option always exists.

    -Danny

  • History of update of LabVIEW

    Hello.

    I do acquisitions image with Camera Link device. Last week I was able to successfully run the screws. But today, there is something wrong. The images are not correctly. I have attached a picture for this post. In this image, you will see a red circle on the right and a gray circle with small rectangles on the left. I'm supposed to get only the red circle and not the gray circle on the left.

    Between last week and today, I change nothing to the VI. It's exactly the same thing. If my conjecture is that there must have been a software update which is to play with the acquisition.

    I already uninstalled all the updates of Windows since last week, but the problem is still there.

    Y at - it somewhere I can find a list of the updates, I made in Labview with the "Update Service OR" in order to cancel the latest updates?

    Thanks a lot for your answers.

    Best regards.

    Luke

    Luke,

    the '' gray circle '' looks more like a mirrowing during image acquisition.

    Are you sure that the physical configuration of the photo/light unit is still valid? Is there maybe some reflective material around?

    What dirt on the lens?

    Note also that the picture you attached is something that is already impaired by the functions of the vision. Is the lag already in the acquired image (as I suggest with my previous questions) or is this a result of the analysis functions?

    Norbert

  • update of LabVIEW 2011 & 2012

    I currently have installed LabVIEW 2011 and runs OK on my laptop. Each quarter, it seems that we get a new series of DVD from National Instruments. Currently we have sent a package of DVDs for the first quarter of 2012.  Should I just use these DVDs and reinstall them to help on the current installation of LabVIEW or should I remove the last version before installing the new updates of the new series of DVDs. If I currently have MAX configured for a device group and the tasks that they will remain the same without new installation erase them?  Also, I have a couple of tools, like code capture tool, circular buffer, etc. installed on the laptop, they will always be in the new installation of update or I have to go back and reinstall these tools?

    double post and you marked as resolved. Why ask again?

  • Not updated by Labview VI Step property

    Hello

    I am currently using 4 TS and LV 8.2 with Win7 Pro.

    I created a custom step which employs a lower Edit level.

    The lower Edit level name successfully a Labview vi, which allows the user to change the values.

    The intention is to copy the user values in the properties of the custom calling step, using the value property Value.vi of the library of Teststand.

    After that step is changed, the vi is closed and I check the step variables expected variables to be updated, but what I see in the Variables Panel does not always show the new property values of step.

    Called by the lower Edit level Labview vi receives the context of the sequence and the correct step property string name.

    Have I correctly picked the Value.vi property set to the task of updating the step of step of the custom properties?

    In addition, when the properties of the stage show the new value, the sequence containing the custom step does not indicate

    the need to save that is in front of my expectations, else how is remined user to save the changes?

    Thank you

    Gary.

    Gary,

    I recommend most often to developers to interface with the EditSubstep modules using parameters.

    For an input parameter, I pass the current values of the step variables.

    For the output parameter, I connect the same variables that they get old/new values to the EditSubstep module.

    I declare this as my EditSubstep modules normally contain a button "Cancel". If the user presses that, I simply passes the output values that the module received as input values.

    Input values are also used to update correctly orders from the EditSubstep module. Otherwise, the user would see only the default values, but not the values of that step has already been changed.

    Output parameters are important have not changed (cancel) / update the values of the step. By selecting the appropriate container, the values are transmitted with the closure of the EditSubstep, so there is no risk of running into a race condition, which could explain the behavior you're seeing.

    hope this helps,

    Norbert

  • LabVIEW 2009 + Labview 8.6 vision = work not...

    Hello

    At my University, I got a license for Labview 2009 + Module Vision 8.6... Now, I installed Labview first of course. And when I was done I installed the vision module. The two facilities went very smooth. Now when I run labview I do not have access to any labview vi vision that must be provided.

    Like what I have read here http://www.ni.com/support/labview/lvtool.htm#vision_development the module must be compatible with labview 2009... If someone can explain to me why it is not appear in labview 2009?

    Hi Wouter,

    Please visit the following link: http://digital.ni.com/public.nsf/allkb/244E6DDF9A92A6CD8625730100629047?OpenDocument

    The NI Vision Development Module is not compatible with LV 2009.

    With sincere friendships.

    Casper

Maybe you are looking for