When ActionVIOnDownload is executed

Hi all

I have a VI that I used as a custom tool in the workspace.  Essentially, it calibrates some shifts.  The offsets which get zero would are out of a custom device.  There is a desire to have the reset occur automatically to each Homeless deploy.  So at first I thought the ActionVIOnDownload is perfect for this, but now I have my doubts.

Given that the reduction to zero VI cannot run until the custom device is already operational (less than 300 MS ~), I do not think the action of OnDownload VI will work, because I think it runs before any custom device would be operational?

If I'm wrong about this, what are my choices?   The VI I have written to run on the host computer, have triggered something to run on the host computer to loop 100 of a device custom engine?

Target is Pharlap

Win 7 Enterprise

LabVIEW & Veristand 2015

You can add your tool to workspace to the project as a service? Then, it runs on each deployment. You can also set it must end

Tags: NI Products

Similar Questions

  • additional folder added based on the current path of the vi when compiled in executable

    I found a new problem (for me) with the 'current path of vi' work today. When I compile the source code into an executable, I get a strange response from the service.

    I expect to see 'application.exe\application.vi '.  What I see is "application.exe\folder\application.vi. It's ruining my normal routines that address automatically step of removal of additional path that is required when moving between executable files and source code. I understand that I can use the "Application Directory" function and it does not solve this problem. However, as a test, I created a separate program with only the 'path of vi current' function and it worked again normally (application.exe\application.vi). There seems to be something specific to this one application that I don't understand.

    I tried a force all recompile (ctrl-shift-run arrow) and this did not help. I created a new project with the same source, and this did not help. I recorded the source under a different file name file and created a new project for this new source file and it did not help. I was using the function of the path of the current vi twice in top level vi, then I changed to use it only once and it did not help.

    I'm running out of ideas, and it is a project big enough that I really don't want to start over. The extra folder is the path to the file source vi. Any ideas on what would cause additional file information to be inserted in the path returned by the function of the current path of the vi?

    I use LV2012

    Generally, you shouldn't care how exactly screw are stored inside the EXE. If you care, this means that your code relies on it, which is a problem. What follows is general and can be inaccurate, simply because I don't like enough to actually check OK how it is:

    1. The EXE file is basically a folder zipped with the screw and the runtime of LV simply loads and works.
    2. If you use the indicator 8.x, you get a flat structure in the EXE. This is not your case, and I would not recommend it in any case.
    3. If the flag is set to false, LV basically takes all the screws that must go into the exe (static libraries dependencies and included screws) and places them in the EXE file using the same exact folder structure as code. This allows to undress and to build paths and having the code works the same way.
    4. Code that is located in the LV folder (such as the vi.lib code) is placed in a top-level called 1abv1ew folder, so it can be found.
    5. If you need to get the path of the folder, use the app dir VI.
    6. If you need to get a path to VI, use a static reference to the VI and a property node to get its path property. It works in dev and EXE.
    7. Virtual folders are not relevant (that they are not paths). AutoFill files are linked on the disk, so they do not reflect the path, but it's not really relevant. Jeff was simply pointing out that this may reflect the path and that he does not like them.
    8. Most likely your problem (since you say that something is changing) is that you are sometimes a VI that is not in the same top-level VI folder hierarchy, which then changes the top-level folder in the EXE (I'm guessing a VI of another project?). It's pretty easy to check by going to the project files tab and see if you have screws to another folder.

    I hope this helps explain, but as I said, you should generally not care on this issue. The only good reason I can think to need to know is if the paths inside the EXE exceed the limit on the length of path of the operating system, and then you start dealing with that. Except that just use the golden rule that screws inside the EXE will have the same structure as they did before, and to put you outside the EXE should use the app dir VI.

  • Open FPGA references change to no. target when compiled with executable in time real start

    Hello again you useful forum fans!  I have a problem that I hope someone can give me a hand with.

    I have a project that has a Windows component and a component of the target in real time, that are running on a hypervisor type NI PXI-8110 system.  Communication both sides between them using shared variables.

    On the real-time side, I have four FPGA targets who are reading and writing various analog and discrete inputs and outputs.  I several periods loops which opens a reference to one of the FPGA targets during the first call, then pass this reference in several subVIs that read and write to panels prior to the FPGA.  The loops the FPGA reference thus made available and reuse it in the next iteration through the shift registers.  Each FPGA target has only a single reference open to him.  One of the loops is using the FPGA reference directly and does not pass it in any subVIs.

    It all works very well in the development environment, I can read and control inputs and outputs FPGAS via the front panel of the application of the side Windows.  It also works very well if I start the game real time in the development environment, and run the code of windows as a stand-alone executable file.

    However, when I compile the code in real-time in an executable startup and deploy it to the target, it does not work.  I enabled debugging on the executable, and when I connect to it via the operation-> debug executable in the menu, I see an arrow broken at execution.  Further investigation shows that each of the four open screw reference FPGA is now empty, the text under them is "no target" and the thread for reference on their part to my first Subvi is broken.  I need your help to understand how to operate as it does in the development environment.

    I followed the instructions of these two knowledge base articles to compile and download the bitfiles FPGA on the FPGA target and execute on start or restart:

    http://digital.NI.com/public.nsf/allkb/39795847AC67296D862575FB0046944F

    http://digital.NI.com/public.nsf/allkb/BC513C2A0DC29C89862574BF0002B0B9?OpenDocument

    Open FPGA reference screw are configured for the FPGA to build specifications that I created for each target in the LabVIEW FPGA project.

    I called technical support, NO phone, and yet were able to determine this one out, so additional "brownie" points if you do!  I would offer you the same no detailed screenshot that I have (I can't give more detailed code out because its owner, unfortunately), but apparently the forum doesn't like my image file, as I can't seem to load.

    Please let me know if you have any ideas regarding what is happening!  I appreciate it.

    Jon,

    I'm always up for the challenge.  Have you tryied recompile the FPGA VI that accesses the RT VI?  I also suggest to try and open the bitfile instead of the FPGA VI.  You run in dynamic mode (this is not a suggestion, it's just a question)? There is no difference if you try to open the FPGA VI reference outside the while loop, then past the reference to use inside the while loop without shift registers, then close the reference to the FPGA VI outside the while loop?

    Let me know if these suggestions makes no difference.

  • Why a VI could break when generating an executable on one single machine over another?

    I have a great test application that is designed to run on several machines. During the tests, I go to each computer and open the project on the machine I tested. When I am satisfied with the project is behaving as expected I have create the executable file and tested that it works as expected. This is my problem occurs.

    More information: this software was originally a test at a time and has been upgraded to run several tests at the same time (sharing of resources, etc.). To do this, another VI wrote that open instances of the original VI (clone). I don't know if this is common, but it has been used for some time and is known to work even after migration to the network (probably not the problem).

    My problem is that I can build the software on a machine and it will work on another machine, but when I try to compile the exact project of the other machine it won't open the instance of the original VI. I probed the wire of the error and indicates that the VI must be broken. Then I opened the VI and there are no errors.

    I have no idea how to diagnose it further. Anyone have any ideas?

    Try the mass compilation the hierarchy of the project before making a generation. In addition, if you run VI dynamically, you must place them in the section always 'include' a Build specification.

    Or one of these things help?

  • error 1 when running standalone executable

    Hey everybody,

    I'm having some trouble with an app that I'm building in an executable file. Now, it seems that everything is build without errors, but when I go to run the executable file I get a weird 1 error from one of LabVIEW built in libraries. I tried to do remote debugging, but I do not see the error pop up in my code anywhere, so I'm a bit confused as to what is happening.

    The error does not collect until after I click on a button that loads a VI in a secondary school (high school even load the correct VI). Also, I don't get any errors when I run the VI in the development environment.

    I have attached a picture of what the error said.

    Thanks in advance for the help.

    Ryan

    Your error message indicates that the error is from the VI who writes in a configuration file and has nothing to do with the sub-panels or the reset of values. You're probably update a configuration file with certain values or something. You show your real code makes it, but if I had hazad a guess I would ask are you aware of this: why my executable not working when using the VI Constant current path?

    As for your question on the application path: http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/app_appdir_path/

  • labVIEW: resource not found. When you run executable

    Hello

    I had a fully functional vi with LabVIEW 2009 (continued from developer) and must be able to run it on another PC without him.  I downloaded LV Run-Time 2009, but when I try to run the executable I built, I get an error that reads:

    LabVIEW: Reasorce not found.

    An error occurred loading VI ' NI_AALPro.lvlibderivative x (t) .vi '.

    LabVIEW support 3 error code: could not load before panal.

    I can run the executable on another PC with LabVIEW without problem.  I read somewhere on the need to stop the front panal beng removed on void screws with Application Builder, although I don't think I have.  I apologize in case this is a stupid question, and I appreciate any help.

    See you soon

    Luke

    In the Project Explorer, click with the right button on the construction specifications and select new > Installer.

  • How to set the item selected when particular comboBox Executive?

    I have a comboBox with all elements with the data and labels (defined in the parameter of the comboBox). However, I can't put the comboBox data element to display when the frame, like this:

    var listenerObject:Object = new Object();
    listenerObject.load = {function (eventObject:Object)}
    _root. DBI SelectedIndex = 3;
    };
    _root. CB.addEventListener ("load", listenerObject);

    What's wrong?

    You cannot use the load event on a framework, because at the moment where the code executes, the element has already been loaded. But what you can do is to set properties directly in this context wihtout the need of an auditor. Just write this line instead of all of the previous code:

    _root. DBI SelectedIndex = 3;

  • We Build wave error when make it executable

    Hi guys,.

    It is a long shot, since I don't have much to go off in addition to a very vague survey error. The Details area looks like this:

    Click on the link below to visit the Application Builder support page. Use the following as a reference:

    Error 6a held to invoke the node in AB_EXE.lvclass:Build.vi-> AB_Engine_Build.vi-> AB_Build_Invoke.vi-> AB_Build_Invoke.vi.ProxyCaller

    Possible reasons:

    LabVIEW: File generic i/o error.
    =========================
    LabVIEW: File generic i/o error.
    =========================
    NOR-488: IO abandoned operation.

    Name of the method: Build: Application

    This error sometimes quickly,<10% progress="" on="" the="" build.="" other="" times="" it="" looks="" like="" the="" build="" has="" nearly="" finished="" and="" then="" it="" pops="" up.="" i="" used="" to="" be="" able="" to="" make="" a="" successful="" build="" by="" just="" trying="" a="" couple="" of="" times,="" but="" now="" after="" 10="" or="" so="" tries,="" it="" still="" looks="" like="" it's="" not="" going="" to="" work.="" please="" give="" me="" any="" suggestions.="" thank="">

    You know what... I remember having an error when generating an EXE file.  I don't know if it's the same exact error that you are talking about here, but your post reminded me earlier.  The solution I found was to make sure that I didn't have the target folder open when building it.  You may not be displaying the content of the target folder.  Try and see what happens.

  • 6 error when generating an executable in Labview 2009

    I am trying to build an executable that uses the Spectral Measurements Toolkit vi.  I have been able to build a source distribution that allows me to call my application using a runtime engine so I know that all the dependencies are correct in the project file.  However, if I try to build this as an executable file, I get the following message:

    An error occurred during the recording of the following file:

    C:\Program NIUninstaller Instruments\LabVIEW 2009\vi.lib\addons\Spectral measures Toolset\LVSupport\SMT niScope Utilities\SMT niScope Dependent\SMT Config niScope for .vi spectrum (auto)

    Invoke the node in AB_Source_VI.lvclass:Close_Reference.vi-> AB_Build.lvclass:Copy_Files.vi-> AB_Application.lvclass:Copy_Files.vi-> AB_EXE.lvclass:Copy_Files.vi-> AB_Build.lvclass:Build.vi-> AB_Application.lvclass:Build.vi-> AB_EXE.lvclass:Build.vi-> AB_Build.lvclass:Build_from_Wizard.vi-> AB_UI_Frmwk_Build.lvclass:Build.vi-> AB_UI_FRAMEWORK.vi-> AB_Item_OnDoProperties.vi-> AB_Item_OnDoProperties.vi.ProxyCaller

    Method name: Save target: Instrument

    The details of the message are:

    Visit ni.com/ask support request page to learn more about the resolution of this problem. Use the following as a reference:

    Error 6a held at AB_Source_VI.lvclass:Close_Reference.vi-> AB_Build.lvclass:Copy_Files.vi-> AB_Application.lvclass:Copy_Files.vi-> AB_EXE.lvclass:Copy_Files.vi-> AB_Build.lvclass:Build.vi-> AB_Application.lvclass:Build.vi-> AB_EXE.lvclass:Build.vi-> AB_Build.lvclass:Build_from_Wizard.vi-> AB_UI_Frmwk_Build.lvclass:Build.vi-> AB_UI_FRAMEWORK.vi-> AB_Item_OnDoProperties.vi-> AB_Item_OnDoProperties.vi.ProxyCaller

    Possible reasons:

    LabVIEW: File generic i/o error.
    =========================
    NOR-488: IO abandoned operation.

    I tried mass, the vi in the compilation of... \vi.lib\addons\Spectral Measurements Toolset\LVSupport\SMT niScope Utilities\SMT niScope Directory depending on, but for some reason any installer still tries to save to this place during construction and fails.

    Any ideas on what is happening here?

    Kind regards

    David

    Hi David,

    I built an executable with the VI, and I could not reproduce the problem.  Have you searched and found the VI in the specified directory?  A couple of things to try:

    -Use the LabVIEW 8.x file structure.  This lie in the advanced the Build menu.

    -Try and build an executable with just that VI.  Who will tell us if it is a symptom or a cause.

    Nick keel

    Engineering applications

    National Instruments

  • Get the name of the caller from an application when the Crier - executing.

    Hi all

    Here, I'll be back with a new problem which goes as follows:

    Suppose that my xyz application stores some contacts (just like in the book addresses/phone book).

    Other contacts are by default stored in my Blackberry address book.

    Suppose I get a call on the handset with my app xyz running in background. All I need is to retrieve the name of the caller of the xyz application and view this name as"Akash Calling... ' instead of '+ 919999999788 calling... ". "assuming that the caller details are present in the said application, his name and none of the details in the actual address book. Is it feasible. If so, please suggest.

    Thanks in advance!

    everything in that this is done incoming call:

    1. you retrieve the number of the caller in the earpiece of the phone

    2. you get the name that corresponds to this number in the background application

    3. you create an entry in address book with this name and number

    After callIncoming is executed, the system call screen is displayed. The phone app checks if it can find the number in the address book. It finds the number and displays the name.

    After that the call is accepted or rejected remove you the address book entry.

  • Saints row, the third are not working in directx 9 (64-bit) and when it is executable in directx 11, he is trolling, a solution?

    I have the directx 9 and 11 to the last version (I have windows ultimate 64 bits), do not open the dx9, simply close it... and the directx 11 is so much trolling (and sometimes crashing) and when I close by ctrl + alt + del I read saintsrowthethird_dx11 * 32... its some sort of open 64-bit?

    I don't know if the 3rd Row Saints works in 64-bit mode. There are not many games that do.
    -What are your system specs?
    -Are your graphics drivers updated?

    If the game is trolling initially reduce the dynamic lighting, Anti-aliasing and shadow settings.
    This is different from a game, and I don't know about this one, but according to tweak Guides Deus Ex - HR runs more smooth in DX11 and DX9.
    I found that surprising as using DX10/11, in the past, led to lower than fps
    When you use DX9.
    Discover the Tweak Guides articles - how to get rid of lag and Stable Gaming
    HERE - TweakGuides.com

    You say that you have already updated DirectX, I'll link the Web Installer anyway because you had the error message for Direct X, but it must have a different value of d3dx11_32.dll, as there is no Direct X. DX11 file begins with d3dx11_42.dll and DX10 with d3dx10_33.dll.
    It may be that this file has become corrupted when the game has re-installed Direct X (a good reason for not allowing the games to install Direct X when they offer an option). To solve this problem is to go to the.
    Windows-System 32 and SysWOW64 and find the exact file mentioned in the error message.
    Delete the file in each folder and run the Installer Web again to replace the 'missing' files

    Download details: DirectX end-user performance

    When there is a problem with a corrupted to Direct X file and you do not have a file name in the error message, it is best to use the DirectX Redistributable installation program as this replaces all Direct X files with the exception of a few new DX 10 and 11 files published since 2010. The Web Installer does not overwrite the files, it installs only the new or "missing" files

    Download details - Microsoft Download Center - DirectX Redist (June 2010)

    .

  • Axes set up being not included in the built executable

    I use SoftMotion Lite to control 4 stepper motors via an expansion chassis. When running my application in LabVIEW, everything works fine. All engines work exactly as expected and I have four lines set up the project. However, when I try to build and run an executable file the application isn't able to see the configured axes. Attempt to run a node invoke on any of the results by mistake-52024 axes. The attached picture I think acurately watch what the problem is. The menu on the left is a VI in LabVIEW Development running, while the menu on the right is running within the executable. So my question is how can I include my axes configured when generating an executable? I'm sure this is probably an easy fix, but I can't for the life of figure me out what I'm doing wrong. If someone could shed some light on this would be much appreciated.

    Update: figured out, my antivirus was causing the problem.

  • Executable cannot find the custom error code file

    I'm building a LabVIEW 2013 application on a Windows 7 computer and deploying it to a Windows XP computer. My application has a custom error code file, stored in -- errors.txt, but my executable on the Windows XP machine can't find the custom error file and returns only the string of appeal for all errors that occur.

    When you use is not an installer, I tried to copy the error code at all locations listed here: http://digital.ni.com/public.nsf/allkb/6077DBEDA4F9FEE3862571F600449501 but the application still does not load the custom errors. I have the box checked to "Error Codes customized Include" in the construction specifications.

    When an executable of construction and the development of Windows 7 to XP, where do I put the custom error code file? It is found in Program Files (x 86), but find not because it's XP?

    It's been a few months that I posted this question and I do not know if someone cares about this track, but the solution I found was to put the custom in error code file \National Instruments\Shared\Errors\English\

    There are other places that the runtime will look for the custom error codes (I tried all the ones listed above), if the same error codes exist in 2 places the error popup will appear two error messages. Error default 1, it looks like:

    LabVIEW: An input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @.
    =========================
    NOR-488: Command requires GPIB controller charge controller.

    So if you have a custom error code file and it is available in 2 places that LabVIEW RTE check error codes, you will get the same message before and after the =.

    List the error as "still included" file when building the executable or by checking the box to include files in error did not tour, obviously. Unless you create a Setup program to distribute the application, the error code file must be moved manually. Shared\Errors file works best for me because it's a place that makes sense.

    Also, don't worry - it doesn't me taken 5 months to understand this point, I do not update all my loyal followers (ha) with a solution.

  • Can save the configuration when running VI, but not file not when running EXE

    Hello

    I have attached a file zip containing a LabVIEW project as well as a built EXE.

    The program will load up the numerical value of the file config in both cases, but it will only write the configuration file when it is executed as a VI, not as an executable file. If I don't use the computer of JKI State, I do not think I see this problem, so I think it's the order in which the program quits? I tried to disable the Panel before closing, but that did not always help.

    Reading configuration file is made in the case of "Data - initialize" and the config file for writing in the case of 'Cleaning up' -.

    It seems that the difference between the run-time and development environment behavior is the Close event of front panel. It's in Dev mode, you do not go to the front > close State, but you don't have at run time. Try to run your cleanup command before the command close to see if that fixes it. If you close the front panel, the values could be recovered, VI OpenG has not all the values to get more because they have left the memory.

    If the Panel should be closed more quickly, but you need to hide the front panel without the closing, you can use the FP. Open invoke node with a contribution of the State of "hidden". This will hide the front panel while keeping open and then the Panel will always close end when your application terminates.

  • Information on "Company name" missing when building one. EXE

    Hello all, sometimes in the past weeks, something has gone wrong in my installation of CVI 2009 SP1 and now the name of the company information is missing when creating the executable

    I have an application created in the beginning ot April it is correctly showing this element in the properties of the file, but when I opened the project now and watch in Build > Target Settings > substitutions of Panel and preview Version Info the name of the company is missing even if '% company' is present on the ground.

    I tried to change the registry manually according to this thread (9.1 subkey) without success: missing company and username as well as the number of series, but even if manually add the name of the company is still missing from the Panel of configuration target and in the same executable file after restart of the CVI and PC.

    I also tried to change manually the .prj file and after this file deletion of cvibuild and files .cws and _dbg, always without success

    IE that the CVI and compiled executable work correctly: it is not a question of errors or unexpected behavior, i's just a question about the management of versions correctly our work (and the fear that this situation hides a more serious problem )

    What may have happened and how can I correct this situation?

    Hello Roberto,

    In regards to workaround you've tried, referring to the other forum thread, in CVI 2009 this information are kept is no longer in the registry. For reasons related to the UAC, it has been moved to a file. By default, this file is located in the following location:

    XP:  C:\Documents and Settings\All Users\Application Data\National Instruments\CVI2009\bin\userinfo.ini

    Vista/7: C:\ProgramData\National Instruments\CVI2009\bin\userinfo.ini

    Make sure that the file exists, and that there a [RECORDING] section, with a "CompanyName" label that it contains.

    If it does not exist, also check your startup screen to see if the name of the company appears in the top/left corner.

    Finally, if instead of % company, you type an arbitrary string of characters for the company in the Version information dialog box, this string appears also in the "overview of the substitutions" mode, and it makes the executable you build?

    Luis

Maybe you are looking for

  • Tecra A3: display noise

    Hello I have a new Tecra A3, Centrino 1.6 760 MB of RAM, Win XP Pro SP2.A few days ago a weird problem started, where I started to see grains in the display. White flicker i.e. small spots all over the screen, similar to the TV noise when there is no

  • Satellite M70 148 Java3D - ATI graphic display problem

    I work with Java3D for school and I can't display graphics 3D on my laptop. My classmates also have these problems and they all work with ATI card. We tried to download the latest drivers from ATI video card, but I get a "missing. INF file"error... S

  • Gets the time of different timezone (s) with DST

    Hello community, I'm in the EU, and according to my PC clock (time zone - THIS) I would like to know what the time is in the United States (time zone EDT). This seems to be an easy task, but as THIS and HAE change DST in another date of the year, its

  • JAVA update: Windows Installer required for VISTA Basic?

    URGENT (INSTALLATION OF JAVA) What about Windows Vista Basic A problem with the browser so checked it out and found update of JAVA must be installed: now it seemsthat there is a problem, it is with Windows Installer.Which of them or anything else mus

  • Doubt the implementation in a VPN between a VPN3005 and a Cisco 827 router

    Imagine this: Establish a VPN tunnel between the central administration (VPN3005) and a branch (827). Only need to spend intellectual property data in the tunnel and the two sites must reach the resources of the other, which means I don't want not ju