Application error in labwindows/CVI 6.0

Dear All,
     When i  run  Executable by Run meny >>>>Execute *.exe (Cltr+F5), after building a project and generating executable file, I have application error 
comes 2 times.
What could be the reason for this?
Thanks
Regards
Vishnu
Solved!
Go to Solution.

If you read this thread,
the recommendation was to install the latest run-time engine.

Similar Messages

  • Error installing LabWindows/CVI Trial

    I got the following error while installing the trial version. Any siggestions?
    Thanks!
    Solved!
    Go to Solution.

    Hi Vladiator,
    1) What happens if you click "Yes" to continue? Does the installation finish? If so, does CVI work? If not, are there additional errors given?
    2) Do the specifications listed in the error match the specifications of your system?
    3) I realize this is related to the previous question but specifically: is your processor architecture 32 or 64 bit?
    4) What operating system are you using?
    The error itself seems to be linked to corrupt system files, which is really a Windows error. The error description can be found here:
    Hresult: 0x800736b3
    http://www.pcmmc.com/hresult-0x800736b3.php
    One thing you can try is executing the "sfc /scannow" command in an elevated command prompt. This will check your file system and fix some common errors. Instructions on how to do this can be found below:
    Use the System File Checker tool to repair missing or corrupted system files
    https://support.microsoft.com/en-us/kb/929833
    There are several other websites offering solutions to this error.  However, the ones I have been able to find are all third-party and fall under the "use at your own risk" category.
    Thanks,
    AC - LV Solver

  • Link errors for Labwindows CVI.

    I am currently trying to implement the exer1.cws example from the Cvi sample and tutorials section.
    But i get 9 Link errors while trying to generate the DLL.
    I have attached the Link errors as a txt file.
    Please tell me whats wrong with the program??
    I have incorporated the RTmain as entry point function of the program.
    I have initialised variables used in the main program globally.
    Other user interface functions have also been defined outside the body of the Rtmain program.
    Hope this info is sufficient.
    Regards
    raghu
    Solved!
    Go to Solution.
    Attachments:
    ERRORS.txt ‏1 KB

    Hey , Thanks for the reply.
    The tutorial asks us to select the Option as 'Real Time Only'.
    I reverted to 'Full Run-time engine' as you asked.
    But there is no change.
    Although i did debug most of the erros.
    I just included the Functions in the headerfile.
    But even though, i am stuck with two errors.
    I am attaching the complete set as txt file.
    Please see if you notice anything unorderly.
    Attachments:
    ERRORS.txt ‏1 KB
    exer1.c ‏3 KB
    exer1.h ‏2 KB

  • Labwindows/CVI 7.1 Remote user Interface using Enterprise Connectivity Toolkit

    I have an application programmed in Labwindows/CVI 7.1 controlling an Electromagnetic Instrument.
    Now am interested in extending its usability by adding remote user interface.The goal is to have the application available to be accessed 
    to remote users through website,with multiple users viewing it but one user controlling the instrument remotely at any given point.
    Since the possible methods would be 1.ActiveX 2.TCP/IP 3.DLL
    Which is the best technique to implement this with out having to manipulate much of my code also do we have any documentation available ?
    Thank you
    Solved!
    Go to Solution.

    Hi Mutha,
    This functionality was a part of the orignal Internet Toolkit for CVI.  However, the web server part of this was removed and isn't included in the Enterprise Connectivity Toolkit.  You might consider using LabVIEW with the Remote Front Panel feature.
    Cheers, 

  • TCP using LabWindow/CVI ? ?

    Hi !
    I'm looking for ways to learn & use "TCP" communication ( Client /
    Server ) together with LabWindows/CVI.
    ( all examples at your site are for LabView only )
    Can you please let me know where to find an TCP Client / Server
    applications examples for LabWindows/CVI ??
    If posible i'll like the exact addresse of pages contains this
    examples/information !
    Also if posible i like to know if there is something about Ethernet or /
    and Lan ( Local Area Network ) in the LabWindows/CVI.
    I want to add that i know about the TCP Client/Server example in the
    LabWindow/CVI - Samples, but it is not complete - it is only a skeleton
    which not explain
    it all.
    I also want to know about the hardware i need to establishes a TCP
    connection !!
    Which cable should i use to connect the Server & Client computers ?
    Where exactly should i connect the cable in the computer ?
    It very importent for me to get full answer as soon.
    Thank you very much !!
    Regards
    Noam G.

    I would also like to see these examples, but I can help you on some of this. You don't really need any hardware (since you are accessing this site, I assume you have an ethernet card). For a cable, if you are connecting both computers to a LAN or the internet (direct or via a hub) use a RJ-45 ethernet cable. If you are connecting the computers directly to each other, you must use an ethernet crossover cable. The cables just connect into your ethernet port (where your internet access is plugged into now).
    Go here for more info on a crossover cable:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/38528df7b4d1feae86256dcf0069b14d?OpenDocument
    Derek

  • LabWindows CVI 2009 Word_Rpt routines: Document is corrupted: Error reported: The MSWORD.OLB file cannot be opened.?

    Using WordRpt support routines with a C application in LabWindows CVI 2009 to format Word files, an error sometimes occurs resulting in the document format being corrupted.  An error  is generated: The MSWORD.OLB file cannot be opened.  I don't know why or how to correct this problem.
    Any help you can provide would be appreciated!

    Hi LPR1,
    Do you have an application that reproduces this.  If so, do you mind posting it?
    Regards,
    Hassan Atassi
    NI Community Project Engineer

  • I would like to know how to transform an API C++ application in MFC C++ application to use the measurement studio components or Labwindows CVI

    I don t know the way used to transform a C++ with API program in an MFC application using measurement studio or Labwindows CVI.
    Thank you for you help.

    You can use the Measurement Studio Add/Remove Components Wizard to add Measurement Studio components to your C++ application. For more information, see the "Adding and Removing Components from Measurement Studio Projects Using a Wizard" topic in the Measurement Studio reference. You can find it in the table of contents under:
    Visual C++ Help
    Tutorials
    Measurement Studio for Visual C++ 6.0
    If you're using the Measurement Studio update for Visual C++ .NET, this topic will be under:
    Visual C++ Help
    Tutorials
    Measurement Studio for Visual C++ .NET
    - Elton

  • Permission Denied Error when calling Matlab script from LabWindows​/CVI

    Hello,
    I am reading in data from a DAQ and am writing it to a .csv file in LabWindows/CVI.  I am then sending this data to Matlab to be filtered.  I would like the filtered data to be accessed by LabWindows/CVI so that I can display it as a strip chart.  I have gotten everything to work except the writing to a file in a Matlab script that is called from LabWindows/CVI.  I am basically using the shipped example in found in the activex demo. (http://zone.ni.com/devzone/cda/epd/p/id/2994). I select the script that I want to run and each time it tries to open a file with write permissions I get a "Permission Denied" error.  This occurs when using fopen() in Matlab.  I have also tried using csvwrite() as well as dlmwrite().  Each one gives me a similar error.  The script currently does not try to do any data processing.  It just opens the file, if it is successful it then prints "hello" and then closes it.  The script works well when it is run in Matlab, just not when it is called in LabWindows/CVI.  Below is the script.  Any thoughts, comments or suggestions are greatly appreciated.  I am also open to using other approaches for sending data between Matlab and LabWindows/CVI.  Thanks in advance!!
    fclose('all');
    [file, errmsg] = fopen('out.txt', 'w');
    if(file<0)
        disp(errmsg)
    else
        fprintf(file, 'hello');
        fclose('all');
    end;
    [file, errmsg] = fopen('out.txt', 'w');
    if(file<0)    
    disp(errmsg)
    else  
     fprintf(file, 'hello');    
    fclose('all');
    end;

    I am using Windows 7.  I am running CVI as an administrator and was able to get rid of the "Permission Denied" error by going into the User Account Controls in windows and changing it to "Never Notify".  However, this did not fix the problem of Matlab not being able to write to a file when the script is run from CVI.  In the Matlab code below, It now gets in to the "else", suggesting that fopen() returns a good file handle.  After getting in to the else statement, it will not actually write to the file, nor does it create it.  However, I can make changes to the plot settings and those appear.  Everything is functional when run from Matlab but when run from CVI, things get screwy with opening the file for writing.  It handles the read well.  It seems like there would have to be some file permission errors but, in the CVI program, I open and write to the file "in.csv".  Any help is greatly appreciated.
    clear;
    fclose('all');
    t = zeros(1000);
    t = csvread('in.csv');
    for i=1:1000
        t(i) = t(i)*4;
    end;
    [file, errmsg] = fopen('out.txt', 'w');
    if(file<0)
        disp(errmsg)
    else
        fprintf(file, 'goodbye');
        for i=1:1000
            %t(i) = t(i)*3;
            fprintf(file, '%f,', t(i));
        end;
        fclose(file);
        plot(t/3, t);
        ylabel('t');
        xlabel('Time (s)');
        title('Is this really working?!?');
    end;
    Thanks,
    Chris

  • Error transact.cpp when load LabWindows CVI DLL

    Hie,
    I'm a "newbie" about LabView, and I would like to call a simple LabWindows CVI DLL from LabView. Then for this
    I did also a very simple VI (I think : 2 buttons, the first to call my DLL function and the second to quit
    my VI). I define my DLL as indicated by NI, all seems OK. After placing and defining parameters about my
    DLL function in the diagram, If I "double clic" on the DLL icon in my diagrram, I obtain :
    "Failure Transact.cpp, line 1132 ...blabla...blabla".
    Another Time, I obtained a message (when I try to run) about
    "not enough memory"
    the solution is then to kill LabView Process or shunt Down !!!!!
    I've tried my "mini" projet on tow systems and I obtained the same results :
    Wind
    ows 2000 and Windows NT
    LabView 6.0 et Lab Windows CVI 6.0
    144 Ram and 256 Ram in the two PC and not another application running during my test :
    I think then I should have enough ram to do this !
    I did not see my problem
    thank a lot in advance for any help
    file attachement contain hardcopy of VI
    Thierry
    Attachments:
    Bug_Memory_LabView.doc ‏56 KB

    Hie,
    Now It's OK !!
    After submitting my problem to NI, NI has transmitted to me a simple program :
    a VI which simply calls a function in a DLL (which loads an UIR), and their solution runs.
    Their solution is the "same" as mine except in mine, I have added calls to "MessagePopup"
    just to study how running my program like this (see "// Here ->x" ) :
    Extract of my code in my DLL :
    int __stdcall DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
    int iValue=0;
    switch (fdwReason)
    case DLL_PROCESS_ATTACH:
    "// Here ->1" MessagePopup ("Avertissement", "DLL -> Init Ressources DLL LabWindows");
    if (InitCVIRTE (hinstDLL, 0, 0) == 0)
    return 0; /* out of memory */
    break;
    case DLL_PROCESS_DETACH:
    "// Here ->2" MessagePopup ("Avertissement", "DLL -> Free Ressources DLL LabWindows");
    if (!CVIRTEHasBeenDetached())
    CloseCVIRTE ();
    break;
    The problem is located to the line "// Here ->"
    When I drag the icon "Call Librairie function" in the diagram of my VI and I define parameters,
    immediately a "link" is established between LabView and the DLL, the __stdcall DllMain is called !
    then LabView Environnement failed !, you have then to kill the LabView Process !
    By changing the "MessagePopup" functions with tracks (*) in a file, I can "debug" my program and I will
    have never this artefacts.
    change line // Here ->1 with TraceMsg("DLL -> Init Ressources DLL LabWindows");
    change line // Here ->2 with TraceMsg("DLL -> Free Ressources DLL LabWindows");
    void TraceMsg(char *szBuffer)
    int iValue=0;
    int iHandle=0;
    iHandle = OpenFile("D:\\Thierry\\Formation LabView-LabWindows\\trace.log",
    VAL_WRITE_ONLY, VAL_APPEND, VAL_ASCII);
    iValue = WriteLine (iHandle, szBuffer,strlen(szBuffer));
    iValue =CloseFile (iHandle);
    Thierry

  • Holding values as default in LabWindows/CVI application

    Hello -
    I am writing a LabWindows/CVI application, which controls an USB Digital I/O Board.  I have set an user interface to a default value.  However, when a user runs the application, he/she may need to change the default value.  How can I hold the value the user entered for the next time the user runs the application?
    Best,
    Matthew

    You better post this in the LabWindows/CVI board instead of the LabVIEW board
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Running a LabWindows/CVI application created and built in Windows XP Serv.Pack 2 on a Windows 2000 computer

    I have created an application using LabWindows/CVI on my computer. I would like to install this application on a Windows 2000 machine but  I receive a message saying something like  "This program requires Windows XP service pack 2". 
    What can I do to make this work. 
    I am using LabWindows/CVI version 2010.
    Any Ideas?

    OK, Thanks, I will try that.
    Regards
    // Mikael

  • Error: LabWindow CVI driver for Lab View 2011 (using hp4145a)

    What is the DLL for the Agilent hp4145a instrument driver?
    I am trying to convert the LabWindows/CVI Agilent hp4145 intrument driver for use in labview 2011, but keep getting errors related to an incorrect DLL.

    Hi Courtney L., 
    Your prompt response is much appreciated. Thank you. 
    I have attached the "hp4145 LabVIEW Wrapper Conversion Report" as a txt file
    - this report was automatically downloaded along with the"LabVIEW Instrument Driver Import Wizard (LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers)" *(link listed below), and popped up at the end of the installation.
    If any specific details or a screenshot will also be of benefit to solving this problem, I will be able to post them by tomorrow night.
    *Link for Instrument Driver setup download:
    https://lumen.ni.com/nicif/us/infolvinstdriver/content.xhtml
    Attachments:
    LabVIEW_Wrapper_Conversion_Report.txt ‏6 KB

  • Labwindows CVI install - Windows SDK error

    Hello,
    I have a problem when I try to install Labwindows CVI 9 on Windows 7.
    I had no problems so far, but now the installation doesn't work and the following message appears:
    Do you help me please, it's very important and urgent.
    Thank you.
    Best Regards.
    Karine.

    Hello,
    I don't really understand the issue... you said that you have no problem when you install LabWindows CVI 2009 on Windows 7 - that's good!
    And now you have an issue with an installation... with another software (I guess) ?
    This error appears when you are installing an incompatible version or your toolkit/drivers/software with your actual OS.
    As you are using Win 7, I suggest you to check the compatibility of what you want to install on your computer : http://www.ni.com/white-paper/10383/en
    Regards,
    Celine
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées Techniques LabVIEW
    Du 15 octobre au 7 novembre : Strasbourg - Lyon - Lille - Toulouse - Mar...

  • Always getting errors when trying to control YOKOGAWA 7651 power supply on Labwindows/CVI

    Hi,
    I'm trying to set the voltage on the YOKOGAWA 7651 power supply through labwindows/cvi. I've set up a numeric slide on my userinterface with callback function "yoko7651dcvolts" and constant name "YOKO7651DCVOLTS".
    I always get this error when I run my program:
    "FATAL RUN-TIME ERROR: "DcSource.c", line 53, col 65, thread id 0x00001F3C: Invalid argument type: found 'pointer to double', expected 'pointer to int'."
    This error points to the third argument of the GetCtrlVal function below. The program/compiler wants me pass the variable "yoko1volts" as integer, but I want to (and should) be able to set voltages as floating numbers.
    Plus, even when I declare "yoko1volts" as integer, it stills doesn't work. All I get is zero, zero, and zero...on the power supply meter everytime I press the numeric slide.
    This is the section of the C code that is problemic:
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    This is the related h-file:
    #define YOKO7651_1 4
    #define YOKO7651_1_YOKO7651SWITCH 2 /* control type: binary, callback function: yoko7651switch */
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    Please help, how can I fix this issue?
    All the drivers (including the YOKOGAWA 7651 power supply) are properly installed and mounted. As a matter of fact, I can successfully turn the power supply on and off with the code below:
    int CVICALLBACK yoko7651switch (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    int yoko7651switchstate;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, &yoko7651switchstate);
    SetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, !yoko7651switchstate);
    yk7651_output (yoko76511Panel, !yoko7651switchstate);
    break;
    return 0;
    It's just setting the voltage on the power supply that is very problematic. Any help is appreciated...Thanks.
    Solved!
    Go to Solution.

    I second Al opinion of a disconnection between the UIR and the variable that holds the panel handle.
    As a side note, I noted that the problematic line is reading the value of the controll whose callback is executed:
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    In a situation like this, I would try using GetCtrlVal (panel, control, &yoko1volts); instead, that should get rid of all problems in panel handle / control ID.
    Despite this solution is working, in any case I would deep into the problem as an incorrect panel handle can lead to erratical behaviour in other places of the program.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to use CAN256 and CAN257 in Labwindows CVI?

    I am trying to learn about CAN programming in LabWindows CVI. None of the samples do anything other than generate cryptic error messages. I do not have a card or interface device yet, but reading in the help files I found this:
    "NI-CAN provides a virtual CAN card with two interfaces, CAN256 and CAN257. The two virtual interfaces are connected by a virtual bus. When you write CAN frames to one virtual interface, those frames are received by the other virtual interface, and can be read as channels. This feature allows you to read and write CAN data in the same manner as two real CAN interfaces connected by a real CAN cable. The conversion does not require real NI CAN hardware, and your application is not required to check for specific CAN IDs."
    I modified the Waveform ouput project and add CAN256 to the dropdown in the uir file. However when I run it, I get the same error message as always, error -1074388725.
    Is there an example CVI code someplace to demonstrate the use of these virtual channels?

    Thanks Drew.
    Ultimately, my customer provided me with a WriteCAN256.vi and ReadCAN257.vi that were perfect for my needs. The WriteCAN256.vi along with my NI USB 8473s allowed me to provide data collection on multiple CAN devices and to verify that my Software can handle all data types from CAN devices.
    Note: My customer allowed me to share his .vi's. They are enclosed ...
    Best Regards,
    Don W
    Attachments:
    CanBus Read (Frames)_85.vi ‏55 KB
    CanBus Write (Frames)_85.vi ‏48 KB

Maybe you are looking for

  • Can't see touch in finder

    I would like to know if someone could help me I would like to find a 3rd party app. that allow me to see my iPod touch in finder can any one help me please? 2nd gen 32 gig

  • How to transfer my PDF files from computer to iphone 5s

    How to transfer my PDF files from my laptop to my iPhones 5 s and how to make folder to store those files?

  • Abap query: Create selections for extras field

    Hi, I have a custom query and Infosets where I have defined customer fields in Extras tab (infosets). Now I want create (into Infosets) a selections field (select-options) to filter the extras field created but I receive message AQ120 that say I can'

  • Blurred iPhoto book PDF

    When I try to export my iPhoto book as a PDF, it comes up all blurred even thoguht it looks ok on the sreeen.  Any ideas?

  • VL10D user role tab is greyed out

    Can someone please help me. I am using Tcode and the "User role" tab is greyed , means I cant pick any thing. Is there any place in the configuration where I can go and make changes to the tcode. Thanks, Sahar