LabVIEW 2014/2015 break with my library of wrappers

I have a lot of LabVIEW package screws saved in LV8.6 library, they almost all containing call library function node. Recently, I was working on a new program that uses these library live I have found that when you use these screws it causes LabVIEW to crash. Accidents are not due to errors of execution, but can occur during execution and development (is not running).

Here's my sympthoms with different versions of labVIEW.

  • LabVIEW 2010 - these accidents do not happen at all.
  • LabVIEW 2014 - blocks most of the 3 versions I tested it. LabVIEW has crashed on me when you press "save all", "run", "exit / close ', double click on a Sub VI to open it (the library VIs and SubVIs new for the new program).
  • LabVIEW 2015 - seems to be a bit more stable then 2014. I only noticed crashes when you press "save all" and "exit/close.

I tried the following

  • I read on the forums that opening the screw with a new version, massive compilation and save for precedent could solve the problem. I tried with no luck.
  • Mass, compilation of all screws of 8.6 library into the new version of LV before trying to use them in an application. This has no effect either.

Is labVIEW a problem or a problem with my screws?

And how assign you the string that you pass to the second parameter? All wiring a string constant empty for her? While in the LabVIEW code you don't have to worry about memory allocation before calling some other VI, it is certainly not true when calling C functions. Function wants to write information in this string, and for that to work (You on the LabVIEW diagram) caller must allocate sufficient storage space for it.

We must know in the documentation of the API, which is the maximum size of the buffer and allocate only a large part of the size of the string. There are two ways to do

(1) use a table this is initialized with a U8 as input and the right type amount for the size of memory buffer and dressed it with an array of bytes to the node of the chain.

(2) see you Minimum size in the configuration dialog box? Enter the number of bytes that the string must have at least according to the documentation.

To answer the inevitable question immediately. Yes, he didn't plant in LabVIEW 2010, but did corrupt the memory and anyway somehow there yet. Any alteration of the memory immediately translates into an accident. There are several possible outcomes of these corruptions and they can change according to the computer that you run your application, the amount of available memory, the moon phase and how your emotional state is right now (the last two are not very serious but also quite unrtrue). The layout of memory at the moment when your running can much influence what happens to these alterations. It can produce results strange and inexplicable in your program when the actual data values that are store values in wires are crushed, or your screws can get corrupted and if save you them to the disc later get unreadable, or the computer produces a dialog error box much later, when you try to stop your app and LabVIEW , or it seems nothing happens (but is still of corruption there not only to bribe vital data in memory).

With the change to LabVIEW 2014 layout changed memory somehow, perhaps due to optimizations more aggressively in this new version and all of a sudden your DLL overwrites a memory very vital for the operation of your application in LabVIEW.

Tags: NI Software

Similar Questions

  • Raspberry PI installed correctly on LabVIEW 2014 with LINX 3.0 (yellow warning)

    Hello everyone

    Well, I create this thread because I can't connect with my RPI with LabView2014, I'll put some different screenshots, as you can see I already install the LINX 3.0 on my computer.

    My computer sistem

    -10 64-bit Windows

    Products already installed

    -LabVIEW 2014 32-bit

    (this labVIEW I downloaded from the link of the PDF tutorial)

    LINX - 3.0

    -Control design and Simulation Module

    Module - MathScript RT

    NI - VISA

    VI - Pakage Manager

    -Also, I have my license activation

    I'm going to download some print screens in this same position

    Thank you

    Ruben Rhico

    Hey Patrick,

    Make sure that you have restarted LabVIEW since installing LINX.  If the problem persists, follow the instructions in sharpk in this thread.

    Let us know if that fixes the problem.

    Thank you!

    -Sam K

  • allow to create or write a PDM file with labview 2014

    Hello

    I need help. I'm new with LabView. I tried to create a PDM file, but it does not work. My code in the link below is really simple, but I don't know what the problem is. My code doesn't throw any errors so I don't know what to look for in the internet. Once my code is excuting, no file is created. I use LabView 2014 and my laptoop has windows 7 on it.  My question is, in all I need to do whenever I create a new VI of specific configurations that will be play/create/write a .tdms so that my code may work correctly because the writing in a .txt file works perfectly.

    Thank you and sorry for my English

    Hi bmtanguay,

    you want to run your VI on your cRIO9074?

    Where do you think your cRIO creates this file? A cRIO is a clean computer - and it has its own 'hard drive '. This is where your file is created: C partion on your cRIO!

    You cannot create a file on your Windows pc from a VI running on your cRIO!

  • Not compatible with Labview 2014 IMAQ?

    I try to work with a National Instruments / SuperDroid Robots SD6 ( https://decibel.ni.com/content/docs/DOC-18528 ) now... Everyting connects fine using LabVIEW 2014 with the module of Robotics with the exception of the functionality of the camera. When you use the solutions provided LabVIEW cannot find dependencies IMAQ.

    I checked to make sure that I have the module installed and I see IMAQ 4.9 and IMAQdx 4.3.5 MAX

    Check the newsletter below on the compatibility of the IMAQ, she only has not 2014 listed

    http://digital.NI.com/public.nsf/allkb/DB928F6D5E9D6B97862579A7006B2850

    Specifically, I need the 2014 Image processing module version in the link below. The download link says 2013 and during the installation process, I don't see an option for support for 2014.

    http://www.NI.com/gate/GB/GB_EVALTLKTSIGPROC/us

    Is there a trial version of this software that is compatible with LabVIEW 2014?

    I was able to get in touch with a sales engineer and I need to image processing module is not yet available for LabVIEW 2014. Where my question.

  • LabVIEW DSC 2015 with Labview 2015 64-bit

    Hi all

    I would like to know if it is possible to install the labview DSC 2015 with Labview 2015 64-bit module. When I run the Setup program, a message appears telling me to install Labview before installing the DSC Module. Maybe I need to install a 32-bit version of Labview? If anyone has an idea...

    Thanks for all,

    Alex,

    From the Readme of LabVIEW file:

    Supported modules

    LabVIEW 2015 (64 bit) supports only the NI Vision Development Module. Refer to the documentation of the Vision Development Module for more information. No additional modules support LabVIEW 2015 (64-bit).

    Looks like you need to run 32-bit LabVIEW.

    Bob Schor

  • I need to download a VISA driver even with Labview 2014

    My problem: I need Labview 2014 to receive data over UART connection (on a windows pc 7). Do I need to install drivers for it NEITHER Visa or they are already integrated into Labview 2014?

    Yes, you need to install the VISA drivers.

  • Cannot install Datalogging and supervisory 2014 control with labview 2014 64-bit Module

    Community salvation OR

    I installed labview 2014 64 bits, then I tried to install Datalogging and supervisory Control Module 2014

    http://www.NI.com/download/LabVIEW-datalogging-and-supervisory-control-module-2014/4848/en/

    but a display of error messages "labview 2014 must be installed. What I have to install labview 2014 32 bit, is there another solution

    In addition to morem, try installing real-time 2014

    http://www.NI.com/download/LabVIEW-Real-time-module-2014/4832/en/

    an error message display "labview 2014 32 bits must be installed". is there any version for 2014 lv 64-bit

    Thank you

    The compatibility matrix is here.

    You must install LabVIEW 32bits.

    You have a specific need for 64-bit LabVIEW?

  • LabVIEW FPGA, 2015 compilation error

    I've recently switched to LabVIEW 2015 and I'm working on OR myRIO. So also installed myRIO 2015 bundled software. The problem I have is that the compilation of fpga fails within 10 seconds.

    and the target Xilinx journal report is empty

    The first time when I tried to compile on 2015 version, it failed and the message box that failed came alongwith the avast antivirus warning for malicious activity. I reported it as wrong and now I tried several times with avast shield disabled control, but the results are the same. While the version of labVIEW 2014 works very well.

    Now, I'm sure that there is something wrong with the installation of Vivado because this dll is part of it. The dll must be default in the2014_4\lib\win32.o directory C:\NIFPGA\programs\Vivado if you are using an operating system for 32-bit AND also in C:\NIFPGA\programs\Vivado2014_4\lib\win64.o If you use a 64-bit operating system. If the dll is not here, it is probably that the anti virus (I've never seen what happens to Xilinx but I have for other stuff).

    I'm emphasizing the 2014_4 because LabVIEW 2015 uses Vivado 2014_4 while 2014 LabVIEW uses Vivado 2013_4. Since you have also installed LabVIEW 2014, you must have 2013_4 as well and if it works, you will find the dll I just wanted you make sure you check the correct directory for the Vivado 2014_4.

    Download and install (reinstall or repair if already installed) 2015 LabVIEW FPGA Module Xilinx tools Vivado 2014.4. You can also use the DVD Setup if you have. It would be a good idea to do the installation with the disabled and even anti-virus try the first compilation the same. Try and let me know if the problem persists.

    Kind regards

  • Lib Modbus OR LabVIEW 2014

    Someone sees that a problem with the NI Modbus Lib in Labview 2014 use is intended for the version of labVIEW 7.1 - 8, 6.  NEITHER directed me this way rather than the Module DCS since I use only Modbus communication and it's just a very small part of the Module.  It installed and appears on pallets of user very well the son and the way that you would except:

    However when I run the program, I have time reading registry vi.  the library example is as well, so I'm at a loss as to what could cause this problem.

    Hello

    Try this code snippet, you must have 1 in qantity you can read 0 and you must put in the header of the EMPA.

    Lars

  • Presets not migrate from CC PS 2014 2015

    Users/user/Library/Preferences/Adobe Photoshop CC 2015 Settings folder was EMPTY after PS CC 2014 2015 installed by default.

    Can I drag all the files in the folder 2014 in the case of 2015?

    Mac OS X 10.10.2

    I had a moment of error the first authorizations to 2015, stop. He said he could not update my prefs because it does not have permissions and change and go to the box to read the information to change.

    Does one get information about the users/user/Library/Preferences/Adobe Photoshop CC 2015 Settings - system and the wheel had read & write privileges and everyone had read only. I changed all to read and write, now she will save new changes in prefs, but my old stuff is always in the 2014 prefs folder.

    Finally, back to school for me: Migration Preset is the right answer: helps Photoshop | Sync settings using Adobe Creative Cloud

    Synchronization settings will synchronize settings between installations of the same major version of Photoshop. For example, the settings are synchronized between a CC Photoshop version 15.0 and a CC of Photoshop version 15.1 installation.

    Sync settings does not synchronize settings in facilities of different main versions Photoshop. For example, Photoshop CC 14.1 version settings are not synchronized with an installation of the version of Photoshop CC 2014 (15.0).

    By default, when you install the 2015 version of CC of Photoshop, Creative Cloud migrates preferences and presets of the earlier version of Photoshop CC. To choose not to migrate the settings predefined and preferences, uncheck the Advanced Options > previous Version settings and preferences to import in the confirmation dialog box that appears after you click Update in the creative cloud desktop application.

    If you choose not to migrate your settings when you install the 2015 version of Photoshop CC, or if you're upgrading Photoshop CC an older version of Photoshop, you can select Edit > Presets > migrate settings preset used the migration of preset and preferably at any point in time.

    For more information, see preset migration.

  • LabVIEW 2014 SP1, hardware and real-time PXI

    I'm doing my third LabVIEW Wipe/reinstall in as many days, completely frustrated (and after several calls an hour with the support of NEITHER).  Here's the situation:

    I wrote a fairly large (1000 VI) project of Acquisition/control of our graduate students data used for behavioral experiment on sound localization.  It was developed in 2012 LabVIEW with the module running on a PC/PXI system real time.  It worked very well and was brought successfully under LabVIEW 2014 (with upgrades comparable to the software of the PXI.

    About 18 months ago the students began to write their theses, and at one point stopped gathering data.  Also, at some point, I upgraded the software on this system to LabVIEW 2014 SP1, but I am not sure that I never tested my software with this new system.

    This week, I pulled up the system to use MAX to open some test on the PXI multifunction and DIO card panels to control manually one of the stimuli.  I discovered that MAX could not communicate with the advice on the PXI system - he attributes them as devices VISA, indicating each Board with an icon with a red X means that he could not communicate with the IP that I had assigned to PXI.  Yet, MAX (a) could "discover" this PXI, (b) MAX can 'see' its IP address, and (c) Windows could not only Ping the IP, but could FTP on the drive of the PXI and I could move files back and forth.

    I did two sequences complete "Wipe/reinstall" using LabVIEW 2014 SP1, all giving the same result.  I know it has worked in the past, including when I installed LabVIEW 2014 (without SP1), something I repeat myself now with my third installation.  I discussed with OR (thin?) possibility that there is a "hidden defect" in the Distribution of the SP1, one that is visible to LabVIEW RT users using PXI hardware and go unnoticed because (a) install a few sites of LabVIEW versions SP1, (b) a minority use the RT Modules and (c) PXI is "old material".

    If anyone has such a system or saw a similar problem, please answer.  I'll do a follow-up post if I managed to 'fix' my system by this last reinstallation "a solution of worked before."

    Bob Schor

    Well, the answer is that, in my system, LabVIEW 2014 SP1 with LabVIEW Real-time connected to a PXI system does not appear to connect to boards plugged into the chassis.  Returning to LabVIEW 2014 (fall release), installed in exactly in the same way that the three failed attempts of LabVIEW 2014 SP1, works immediately.  Engineers OR will try to duplicate/verify/possibly patch? in this issue.

    Bob Schor

  • LabVIEW 2014 hangs at startup

    Hello

    I recently installed the drivers of the Motion of my installation of Labview 2014 now and my 2014 "Device Drivers" DVD freezes just after it starts. Happens to the popup 'Welcome to Labview' and then it locks the mouse cursor and is sitting there taking 5% of the processor.

    I'm on 64-bit Windows 8. All my files are the that is I do not use mapped network drives.

    Finally, it crashes with the following error message:

    I tried:

    (1) fix the installation through my installation media.

    (2) uninstall all software from OR through the Control Panel, restarting and re - install through my installation media.

    (3) uninstall all software from OR via MSIBlast, delete all the registry keys OR by rebooting and reinstall through my installation media.

    (4) uninstall all software from OR via MSIBlast, delete all the registry keys, restart and reinstall the last LV 2014 SP1 from the Web site of NOR

    Nothing seems to solve this problem and now I'm really to the top of the Creek.

    Any help would be greatly appreciated.

    I got it fixed. I have no idea why it would work, but here's what I did.

    -Reinstalled LV 2014. Problem was still there.

    -Uninstalled all via the control panel.

    -Remove the following registry trees

    HKEY_CURRENT_USE\Software\National Instruments

    HKEY_LOCAL_MACHINE\Software\National Instruments

    -Reboot

    -J' found always had a repertoire of Instruments of \National C:\Program Files (x 86), so I removed that.

    -Installed LV 2013 who then worked.

    -LV2013 uninstalled via the control panel. Delete the directory C:\Program Files (x 86) of Instruments \National again. (Not sure if this was necessary, but I wanted to see if a previous version worked)

    -Reinstalled LV2014 latest version via download.

    Problem is now solved.

  • 'Lack of installation files' then install LabVIEW 2014 (Win7-64 on a VMWare system)

    Hello

    I try to install LabVIEW 2014 on a VMWare Windows 7 - 64-bit environment, with no luck.

    3-DVD installation media has been downloaded from NI.com, the release of August 2014 of the Site license academic (ASL), which my company is a regular subscriber, a very long time.

    (Interestingly enough, this same virtual system has fonctionnee LV 2012 without any problem whatsoever)

    Here are the steps I followed:

    -unzip the 3 iso files on separate directories on drive virtual, principal of this system;

    -Run setup.exe on the first directory (IE one that contains 1 DVD files)

    -Enter the serial number of the FSA

    -l' Installer leaves just selected default English 2014 LabVIEW and the Manager of Package of VI, so I expand the ASL Core Software to add NIDAQmx 2014, and I also selects the device drivers OR - August 2014

    -J' I accept different license agreements

    -I select "I am not the end user" to postpone activation

    Setup continues but almost immediately alerts telling me that it was impossible to install "NI Customer Experience Improvement Program", Yes , I want to keep and then I see a system dialog box display of files/paths that do not actually exist on the directory DVD 1, hence the obvious error 'lack the installation files"message. If I ignore this message, several other similar dialog boxes appear.

    Either by the way, I've done various research, but, right now, apparently not a popular question at all.

    Any advice?

    Problem solved.

    For some weird reason, WinRAR do NOT extract some files from the first archive .iso (but more importantly, she also didn't show absolutely no error message, leading me to believe everything was fine).

    When any further inspection, I found about it and made extraction .iso process everything again and this time to the installation program completed without fault.

  • Error message after update of CBWMS 2014 2015 PCOC

    I have been using CUPC 2014 for some 14 months now

    Yesterday I did a a PCOC 2014 2015 ACPE update

    The reason being, that I wanted to make a tutorial using the framework "bootstrap".

    Unfortunately for me, now, when I try to open an existing site to perform a job, now I get the error message

    "error saveMenu: TypeError: dreamweaver.flash has no properties".

    I must say that I was using WP Designer's Site, which is a product of Studio to extend.

    I am familiar with the use of this and this error message now appears when I choose ""Site - modify Wordpress Site " "

    Before moving to the ACPE 2015 2015 my site just open for editing as it should.

    This can be a difficult question if you don't have a WP Site Designer to encounter this error.

    Maybe someone knows how to solve this problem, I have now?

    You can contact Extend directly on their product.

    In the meantime, restore preferences.

    https://helpx.Adobe.com/Dreamweaver/KB/restore-preferences-Dreamweaver-CS6-cc.html

    This should clear the error message and disable the faulty Extension.

    Nancy O.

  • Error 21 if I try to update CC LR LR 2014 2015

    What means error 21 if I try to update my LR 5 2014 2015 CC LR

    Thank you

    Try to connect with your desktop CC app, then insert it again, then run the Setup again. It should now work.

Maybe you are looking for