Change LabVIEW code when executing

Hello world! I'm quite new in LabVIEW and I have a question.

If I change a code while it is running will there be problems? This code is a measure automation code, and I really don't want to screw up the measures.

Thank you

Edit 1: the code is in a shared hard disk. Assume that the code is running on a computer, and I change the code exactly the same from another computer, there will be problems?

Diego

diegocava wrote:

I tried this experiment: a simple vi with a while loop and I threw it on my computer, I created on the shared drive. Then I used another computer and I opened the same vi (in this shared drive) and I have modified and saved the changes. After that I went to my computer and the code was still running without changes, as if I did nothing. Finally, I closed the vi and re-opened, find the changes made on the other computer.

I think you answerd your own question in the present case.

As I said the LabVIEW development system when running a VI. The VI is compiled at launch, so any changes made to the file VI will not affect the VI running in RAM.

But what you do is 'dangerous', and you should not be remotely change the code that is running on another machine.

Edit a copy, stop the running process and run your new code.

Tags: NI Software

Similar Questions

  • ICB does not break breaking set with the code when executing the test test sequence point

    I just started using the testbed and I use it with CVI. I am running version 4.2.1 of testbed.   I'm currently trying to set up my "*.c files" of project folder appropriate to compile and run under the simple testexe of test bench and also tried the normal sequence editor. Currently, I moved all the *.c files &.h taken in charge in the same directory where the testexec.c... .not sure if it's the best place to put it?... It seems to work OK. However, I saw a few problems once the program is running. Is to show signs cited in my CVI functions but it shows as not fatal execution error: "position of unknown source, library function error, Panel, bar menu, control or a table handle is invalid" before and after pop up window panels. I tried breakpoint to the line of code in a CVI file to the project title for additional information about the error, but it seems that the breaking point is not being invoked as it does NOT run in debug in CVI mode and rather an executable. Across the service installed on the project file are *.c and not *.obj. I appreciate anyones help and give me advice. Thanks in advance

    DLL is the only way to interact with code C/C++ in TestStand, Yes.

  • I can't windows media udate player. I get the 0x8007007e error code when executing the validation program.

    I bought this computer new with XP about 5 years ago with no update problems in the past.

    What are the causes of error 0x8007007E ?

    When you use the Windows Update site, you can find that the service is unable to update your computer and returns a "General error":

    0x800a138f

    However, the REAL error code we need is in the Windows Update log.

    The windows update log is in the following locations:

    C:\Windows\Windows Update.log (Win XP only)

    Just copy and paste the above in Windows Explorer and the
    file will open automatically in Notepad on your computer utility.

    Most recent journal entries will be at the bottom. Search for entries of update failed and you will see an error next to him.

    Use the following tips to try to fix the 0x80072EE2 error... After each test point to determine if the problem is resolved.

    The most likely entry that you will see is:

    Error IUENGINE Determining computer configuration (error 0x8007007E: the specified module could not be found.)

    This article explains how to fix the 0x8007007E error code...

    What is the problem of 0x8007007E?

    I don't want to get too technical, but here are the main reasons for this error code is generated:

    (a) there are a number of security and bug issues in Microsoft XML (MSXML) version 3.0 - SP3 Analyzer.

    (b) the 0x8007007E error can also be caused by missing or corrupted dynamic link library (.) DLL files) - CABINET. DLL and URLMON. DLL.

    Here's how to try to solve the problem of 0x8007007E:

    (Step 1) - Windows XP only...

    There are a lot of applications provided with MSXML 3.0. Uninstalling one of these applications on a Windows XP system could potentially remove the MSXML 3.0 assembly files (msxml3.dll and msxml3r.dll).
    We shouldn't have to register only a single file...

    To do this:

    Click on Start menu and then click the icon for the race.
    In the small box that opens, type the three letters: cmd, and then click the OK button.
    In the command prompt window that has just opened (a black background and white text), type the following commands, pressing the ENTER key on your keyboard subsequently:

    regsvr32 msxml3.dll

    Now, type in the word: output and the window will close.
    Now restart and try and Microsoft Windows Update again...

    If it fails with the error 0x8007007E once again try step 2

    (Step 2) - Windows XP only...

    Now lets you update your system with the latest Microsoft XML Parser (MSXML) version 3.0 SP4

    Download here (use the msxml3usa.msi for the English version.)

    Notes...

    (a) you have to reinstall MSXML 3.0 Service Pack 4 If you upgraded to Windows XP to a computer running one of the operating systems following:

    -Windows 98

    -Windows ME

    -Windows NT 4.0

    (b) Windows 2003 Server
    comes with version 3.0 - SP4 and if you do not need to install it.

    (c) occasionally, Setup may need to restart the computer, but fails to inform the user. So restart your machine just in case. Then try Windows Update again.

    (d) to install a localized version (for example English) MSXML 3.0 SP4 on a system different from the previously installed/local (for example the French) version of MSXML 3.0 SP4, follow these steps:

    Cancel the existing record of the installation package by running the following command in a command prompt window:

    msiexec /x {45534579-B75B-4A42-953B-2EF8E1DEB4F3} /qn

    Now, install the new language version of MSXML 3.0 SP4.

    If it fails with the error 0x8007007E once again try step 3

    (Step 3) - Windows XP only...

    Search for missing/corrupted system files...

    Windows XP comes with a wonderful tool called System File Checker (SFC) it scans and verifies the versions of all protected system files after you restart your computer... However, it can sometimes miss a problem, so we can run the tool now to replace the CABINET. DLL and URLMON. DLL, if there is a problem with them:

    To do this:

    Click on Start menu and then click the icon for the race. In the small box that opens, type the three letters: cmd, and then click the OK button. In the command prompt window that has just opened (a black background and white text), type the following command:

    SFC/scannow

    then click OK

    You must be logged on as a member of the Administrators group to run SFC.

    You will need your Windows XP CD during this procedure if SFC needs to get an original file. Remember that Windows XP can have multiple instances of a. DLL to the folder and don't forget what version to which program.

    Notes...

    I was asked if it is possible to have a show of "progress meter" during the execution of SFC... It's the registry hack you need. Please do not go play with your registry if you don't know what you do!

    The system key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

    Value name: SFCShowProgress

    Data type: REG_DWORD (DWORD value)

    Value data: (0 = disabled, 1 = on)

    IMPORTANT: This article will cure the problem 0x8007007E for many of you. However if it does NOT then I would like to here from you. Alternatively, have you tried something else that worked? Then send me the fix too!

    You can also find these useful error codes - for future reference, especially trying to understand error messages in the Windows Update log! (They are given here as a guide for general problems and further research on your part to solve the particular problem you may have.

  • Get the 0x8078012D error code when executing backup

    Original title: Windows backup fails, i/o device error
    ERROR:
    Backup Windows: Troubleshooting Options
    Check your backup
    The operation failed because of a device error encountered with the source or the destination. If the volume of the source or the destination is on a disk, run CHKDSK /R on the source volume or destination and then retry the operation.
    Details: The request could not be performed because of an i/o device error.
    [^] Hide details [try to rerun backup] [modify backup settings] [Cancel]
    [Extended information]
    Backup time: 04/03/2013 23:51
    The backup location: \\LG-NAS\service\backup\ThinkPad X230T\system image backup\
    Error code: 0x8078012D

    -------------------------
    • Hello! I'm trying to save on NAS. I don't think that he has never managed to create a backup.
    • Windows 7 Home Premium 64
    • in the case where it is linked, I can't create or restore points.
    • I think that I recently received service Security Essentials finally run. thought that could launch something loose, but apparently not.
    • I sometimes 'Backup Windows cannot find the shadow copy of the source volume' error 0 x 80780020

    Hi Xicus,

    Perform the steps from the link below and see if it helps. 

    0x8100002F error code and or error code 0 x 80070002 when you back up files in Windows 7

    Hope this information helps.

  • Enum constant change in value when executing LV 2011

    Hi all

    I have a program with a simple state machine that runs a typedef enum constant.  When I run the VI, the actual value passed out of the CONSTANT seems to go back to '0' at random.  Please see the attached two screenshots.

    The only thing that lights no doubt the bug, the enum wire is connected to a switch (I like do to detect and handle errors).  Nothing permanently off the bug

    This is almost identical to that discussed in this thread here, claiming the bug was fixed in BT 8.0.1.  I use 32 bit LV 11.0 on windows 7.  No idea how to kill this bug?

    Whenever I see such things, my first instinct is to drop a node 'Always copy' following the constant.

  • Error-63101 when executing the FPGA Interface C API Generator in LabVIEW 2012

    I'm using LabWindows CVI 2012 and 2012 LabVIEW FPGA module.  I try to use the FPGA Interface C API generator and I get the following error from a freshly generated .lvbitx bitfile.  I use the local server compiles on my PC.

    Error-63101

    NOR-RIO: A valid .lvbitx bitfile is required. If you are using a valid .lvbitx bitfile, the bitfile maybe isn't compatible with the software you use. Determine which version of LabVIEW was used to make the bitfile, upgrade your software to this version or later, and then try again.

    The problem occurs when executing CVI or LabVIEW.  I was able to do this earlier when I was compiling the FPGA in LabVIEW with the API generator 2011 downloaded from the Web site.

    A bit of weirdness in my setup, it's that I charged it off downloads from the website (latest files after 2012 NIWeek) rather than the normal distribution DVD.  I installed LabVIEW, so NI RIO, then the Xilinx tools compatible with 2012.  It works very well when you talk to the FPGA to a LabVIEW vi running on my Windows PC to the host.

    Any suggestions?

    Problem solved.  I had to download FPGA Interface C API generator 12.0.  It works now.

    I would have thought that if a product was called on the menu in LabVIEW 2012, it would be prompted to upgrade to a compatible version, when I installed LabVIEW.  The old version is not compatible with version 3.0 bitfiles, as identified on the following lines at the top of the .lvbitx file:



     3.0

  • error code 57 when executing that Windows update

    I get the error code 57 and the 8024200d error code when you try to run Windows update

    http://Windows.Microsoft.com/en-us/Windows7/Windows-Update-error-8024200d
    If you receive the Windows Update 8024200d error, it may mean that an update did not finish to download or install. The System Update Readiness Tool for Windows can correct some conditions that can cause this error.

    Description of the preparation tool system update for Windows Vista for Windows Server 2008, for Windows 7 and for Windows Server 2008 R2
    http://support.Microsoft.com/kb/947821

    If it's office updates maybe try to install office with the installation media updates in the installation drive.

  • Submit the stop does not work when the Validation Code is executed

    Hi all!

    I would like to thank all those who help now, just in case I forgot to thank later.

    I worked on a form that collects a persons name, phone number, and type of event and send it to my email address (its for a catering company). Everything worked until I added a validation code that would ensure people were filling out the form, so I wouldn't take empty email.

    The Validation Code that I currently have is:

    function formValidationChecks() {}
    Import mx.controls.Alert;
    If {(name_txt.length == 0)
    _Global.styles.alert.SetStyle ("color", 0 x 000099);
    Alert.Show ("Name is a required field.", "Caution");
    Selection.setFocus ("name_txt");
    }
    Else if (phone_txt.length == 0) {}
    _Global.styles.alert.SetStyle ("color", 0 x 000099);
    Alert.Show ("phone is a required field.", "Caution");
    Selection.setFocus ("phone_txt");
    }
    Else if (event_txt.length == 0) {}
    _Global.styles.alert.SetStyle ("color", 0 x 000099);
    Alert.Show ("Event is a required field.", "Caution");
    Selection.setFocus ("event_txt");
    }

    }

    Once the form is completed and the user presses the button send, additional code is executed:

    on (release) {}
    {if (formValidationChecks ())}
    mySendVars = new LoadVars();
    mySendVars.name = name_txt.text;
    mySendVars.phone = phone_txt.text;
    mySendVars.event = event_txt.text;
    mySendVars.email = "[email protected]";
    mySendVars.send ("sendmail.asp", "_self", "POST");
    }

    }

    As everything is now, if I don't fill in all areas, he spits back my warning, but if everything is filled in and press the button submit, nothing happens, no email...

    It became frustrating... any help would be greatly appreciated!

    You bet, I'm glad it helped.

    --
    Dave-
    www.offroadfire.com
    Developer leader
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.Adobe.com/communities/experts/

  • Try to use my computer LabView code to control 4 LED

    Hello

    I'm a student working on a project at Boulder CU and I need a little help. I'm kind new to LabView but, I created a code that will create a random number, which one of the four LEDS will light, and then, if the LED turns off after a slide bar senses (accelerometer) a value greater than 5 (this value will change after certain data from the accelerometer). After this process, the random number generator generates a new number for a new light. I wonder how to tell the computer what LED icon indicates what LED to real life. Is there a way to connect my LED without changing my LabView code? I have to create a Wizard outputs digital DAQ? Please see the attached labview code and hopefully, you can help out me. We had major problems, trying to get our accelerometer to read a constant logical value and have just meet our problem of LED.

    Thanks, Zack

    Hi Zack,

    your VI is somehow Award nomination for Rube Goldberg...

    "How do you tell the computer what LED indicates which LED to real life."

    Well, you have to decide where the "hook" these LEDs 'real life '. When you have made your decision, you will need some hardware driver to switch the LEDs. A Wizard of data acquisition can be a good choice when you use material. Otherwise, use the pilot to come with your hardware...

    "Is there a way to connect my LED without changing my LabView code?

    LEDs 'Real life' no real hardware drivers need...

  • Core of CBWMS JavaScript error: "when executing translateCustomControl in ExternalRenderers.htm...". »

    Since the October release upgrade I get this dozens of times a day error. It seems to happen when changing window that is developed to another program, while in the middle of saving a file in DW. There is a JavaScript error IN the code base of Dreamweaver, it has nothing to do with any file that I am trying to change, sometimes little any type of file, I work in and/or save.

    Here is the error message: "when executing translateCustomControl in ExternalRenderers.htm, a JavaScript error occurred." It is not always the translateCustomControl function, but it is always in the file ExternalRenderers.htm.

    I use Dreamweaver CC 2014 on Windows 8.1

    Any help is appreciated... Thank you!

    I remember well, it is a bug, and someone mentioned previously.

    If I were you, I would like to send a bug report to:

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform&loc=en

  • Call Assistant DAQ of Labview code

    Hello

    How can I call the DAQ Assistant dialog box

    from Labview code, as well as a program compiled with Labview runtime?

    Now, I can set the Express Assistant DAQ vi in the block diagram, but cannot be changed during execution.

    But the configuration of data acquisition is not static. The end user must change.

    A similar dialogue is used inside the Measurement & Automation Explorer with a task global DAQmx.

    Can I call this dialog of Labview?

    Peter

    There is a way to call the DAQ Assistant of MAX of Labview code to create or modify a task DAQmx: Screw Wizard DAQmx LabVIEW

  • Hi, actually I want to save as a PDF labview code to prepare my documentation, it is possible to save in pdf Formate?

    Hi, actually I want to save as a PDF labview code to prepare my documentation, it is possible to save in pdf Formate? Please answer me quickly...

    Thans in advance.

    When you print a VI, you can choose to print documents of the VI and print it to the printer. If you install the PDF printer, it will appear as a selection. PDF Creator is one of the PDF printer free that you could use.

  • LabVIEW code 3 error: could not load façade.

    Hello

    I was the second time the "LabVIEW code 3 error: could not load before sign.» When you use the development of LabVIEW 2009 SP1 environment.

    It's really annoying that I waste time as I have to go back to previously saved code.

    Does anyone know where it comes from and how to avoid it?

    Thank you

    Pawel

    Pawel,

    If the façade is damaged, there is little that we can really do about it. So the best thing is to make sure that the front will never get corrupted at all.

    You can write a small VI using VI Server to check the position of the element in your VI. If there is way to positions of reposition before saving the VI.

    Another reason could be much, duplication of controls (including the faulty XControls?)...

    hope this helps,

    Norbert

  • LabVIEW code

    Can someone provide me with labview code to convert any format of file in text format.

    Hello

    Be more specific...  What do you really mean by converting 'any' text file format?

    Looking for a kind of conversion software, such as .pdf text?

    OR

    Want to convert other types to a plain ascii file?

    What do you want to convert?

    "Any" is too ambiguous.   Because an executable (.exe) file is a file, and so are image files (ie: .jpg, .png, etc.), as well as his (.wav) file.  You want to convert those text as well?

    Please explain what you are trying to do.

    R

  • Vision Builder - error creating LabVIEW Code

    Hello!

    I use Vision Builder 3.5 and LabVIEW 8.5.1. Vision Development module is also installed.

    I've built several routines inspection with the Vision Builder. Then I tried to create .vi-files. Then I hit tools-> Inspection migrating to LabVIEW...

    In the next box I select:

    1-version of LabVIEW: LabVIEW 8.5 - NEITHER Vision 8.5.0

    2 - the directory I want vi-files to be.

    The migration begins, but it is never finished. There is always the following error message:

    Error during creation of LabVIEW Code #3

    I have not found additional information about this error code. So maybe someone is able to help.

    Thanks in advance.

    It seems that the error occurs when you try to play a file which contains the parameters of control of that Vision Builder AI generates. This file may have been corrupted and Vision Builder AI fails to write correctly. I have attached a simple VI to determine where this file lives. Make sure that the file is not present before generating the code and that you have write access to this directory.

    Hope this helps,

    Brad

Maybe you are looking for