How do I make my LabWindows CVI programme stand alone?

I have made a programme that communicates with a microcontroller through a serial link using the RS-232 command library,etc.
What I now want to do is to make my programme independent of LabWindows interface. I want to execute the programme in another similar machine but it doesn´t have LabWindows. I tried doing this by copying the whole directory of my programme files on to the new computer but when I tried executing it there it said that it didn´t find cvirte.dll file when I replaced the cvirte.dll file from the computer in which I had created the application the programme is now not running at all. When I try running the _dbg.exe file it just gives an error message.
Please suggest what can I do to make my
programme independent of the computer on which I developed it.

CVI is a compiler, that is it can create executables that can run without the IDE interface. To obtain the executable you must do the following:
1. In the project window, select Build >> Configuration menu and select 'Release' option
2. Execute Build >> Create release executable function to create the .EXE file
To run the executable in the target machine, you must install the CVI Run-Time Engine on that machine. It is not possible simply to copy the cvirte.dll on the hard disk, since it must be registered in the system. To install it you can either:
1. Find the CVIRTE directory in the CVI installation disk and use SETUP.EXE to install it on the target machine, or
2. Use the Build >> Create Distribution Kit function in the project menu and sele
ct the correct 'Install Run-Time Engine' option.
Hope this helps
Roberto
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?

Similar Messages

  • How does the URL of DataSocket constitute?And how to use it in LabWindows/CVI ?

    Hi !
    There's a problem puzzled me some days.How does the URL of DataSocket constitute ? And how to use it in LabWindow/CVI ?
    For example.I have downloaded a code in http://zone.ni.com/devzone/cda/epd/p/id/3787.I want to make it work properly.So I configure my DataSocket Server Manger according to the URL of this statement.
    DS_Open ("dstp://weather.natinst.com/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
     My DateSockket Server Manger is configured as:
    However,it could not work properly when I debug it.
    There's a introduction at the top of the code."You may need to replace the references to weather.natinst.com to 130.164.140.10 if the DNS isn't working properly."So,I modified the statement into
    DS_Open ("dstp://130.164.140.10/weather/current",
    DSConst_ReadAutoUpdate, DSCurrentCallback, NULL,
    &dsCurrentHandle);
    but,it did work properly.
    We want to communicate with other computers via the URL of  DataSocket in LabWindows/CVI.Whereas,how could we make it ia the URL ?
    If anyone could help me solve this problem,I would appreciate it very much !
    Best regards.
                     xiepei
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

    Hi !
    Thank you very much for your reply! I will accept your advice.
    Besides,I have another question.If I want to visit other computers or other websites,how does the URL of DataSocket  I constitute ? Does the URL has any relation with the DataSocket Server Manger ?If does,how to configure the DataSocket Server Manager to let them connected.If they have no relation,how to use the DataSocket Server Manger ?
    After all,I want to know how to use it in LabWinows/CVI ?
    Thank you very much !
    Best regards!
    I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.

  • How to run a jms-class as a stand-alone java-Programm???

    Hi,
    I have another little question concerning jms. The jms programs I have written so far had to be executed
    as application clients using the appclient-tool. I asked myself, if it is possible to run a class
    that uses jms like a normal java-Programm with the java-command.
    Unfortunately, an exception is thrown then, because there is no initial context for the JNDI
    lookup. Is there a work around to this problem??
    THANKS.

    can you write more concretely where I can find the solution to this problem??

  • How much future useage for CS6 for a stand-alone photographer?

    I'm a semi professional small-scale photographer. It's a hobby, but I do some commercial work. It certainly isn't a living (I have other income)
    I've been on CS6 for some time. It does absolutely everything that I need, and in fact it's too much. I could do with an application that's somewhere between Lightroom+Elements and CS6. It doesn't exist.
    But as I've paid for CS6 I'm quite happy to keep on using it ad infinitum - after all, with no more upgrades (CS7 etc)  it's free now! But at a realistic level how long can I run it for, do you think? I run a good spec desktop PC with Windows 7. I use CS6 in 64bit mode, and also Bridge. Assuming my PC fails in 12 months time (it's three years old) I will get a new destop using Windows 8. CS6 will run under Windows 8, so no problems there. My new desktop may last 5 years? That gives me a total of 6 years using CS6.
    Of course, there will need to be support from Adobe for CS6, in particular if any significant bugs arise. But why should there be new bugs, unless they are in relation to third-party plugins etc? CS6 has been out for some time. Adobe are not going to change it (they have their head stuck in a cloud) so it shouldn't get broken. Or am I wrong in thinking that?
    Any thoughts?
    To upgrade to CS6  http://www.adobe.com/uk/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_s l_creativesuite6.html?start=10
    In the Photoshop CS6 row, click the Buy link
    "I want to buy:", click on the dropdown menu and select Upgrade
    click "I own" and on the dropdown menu select the relevant product which you already own
    Follow the prompts from there to complete the purchase

    Curt Y wrote:
    That is the problem you have with any upgrade if you use the new features. 
    CC is more a trap then an upgrade.
    A Photoshop only user is better off staying  with CS6 and not be being trap.
    While I would prefer to have the new features being added to ACR.  I do not need the new improved old features with their new interfaces, new icons and new bugs. These change post processing work flow they only seem to slow user down and make more work for them.  I also do not need or want the 3D tools. Photoshop is not a 3D program by design. Photoshop 3D feature is more an add-on and lacks features found in real 3D creation programs.
    I want a stable image editor. While CS6 has bugs I know which bugs effect my work and know my way around most.   Photoshop CS6 still occasionally crashes from time to time but now on my new machine it only seems to happen in SciptUIFlex and I can use Photoshop  for days without a crash.  Today was not one of them. 
    To tell you the truth all upgrade after CS3 have been plagued with bugs. I was not looking forward to having to upgrade to CS7.
    It look like CC has its share of bugs too.  Though CC seems to be starting off better then CS6 did.  While there have been a few dozen bugs reported in Adobe's Photoshop Family problem forum. That is not a large number and most are not problems with CC crashing.

  • How to include .xml file while building a stand alone applicatio​n .exe file from a Labview program

    HI,
    I have a labview program which loads default values of all the variables from a .xml file when executed.  I am trying to build a standalone '.exe application'  using
    (Tools Menu --> Build Application from VI) , however I am not sure where to include this .xml file in the process?  I really appreciate if some one could let me know.
    Thanks
    Vish

    As GerdW said, it is preferable (and better practice) to use the project explorer. My guess, you didn't configure the build correctly (and probably used the default settings).
    First, you have to specify your xml file as Always included is the source file tab
    Now look at how the build folders are built:
    The .ini file (xml in your case) is in the data folder. So in the build the relative position of the xml file is not the same as in the development environment. You have to be aware of this difference and use a diiferent relative path for the exe. You can do this using a conditional disable symbol in the project and then use the conditional disable structure in your VI.
    Here in the deploy case the exe will look for the file in the data folder and in the development environment it will look in a folder name Files.
    Ben64

  • How to redirect to portal iview from a stand alone webdynpro application

    Hello,
    I need to able to navigate from a standalone webdynpro application, for which I do not want to create Portal iview, to a Portal iview with some data.
    Please let me know how can I pass the string value and how to navigate.
    Thanks,
    Vinit

    Vinit,
    You're walking in circles. There is no magic answer to this problem. Web Dynpro is not an application of communication / interface with other applications, but a presentation layer for the user.
    To perform this procedure interaction (simulating an ajax) you will need to use a middleware interface (CAF, EJBs, or any other technology that communicates directly with the Web Dynpro), or use the version 7.2 of Web Dynpro (maybe that solves their problems).
    If only the external page you need to open did not have the user interaction (just loading and returning information) you could consume it like a WebService.
    without more,
    Angelo

  • How to separate ABAP+JAVA Dual stack in stand alone engins?

    Hello SDN!
    We are thinking about to separate our Dual Stack ERP 6.00 System on Windows/Oracle in two stand alone system Java und ABAP. Wie have afew small implementation in Dual Stack such as ESS and wie have no modifications at all.
    Has somebody an expiearence with that? Knows somebody about some tools for such an action?
    I will be very pleased for any help
    With best regards
    Vladimir

    You may  find attached link helpful and interesting
    [Doublestack : separate JAVA Stack from ABAP Stack ...;

  • How to invoke a pdf from the java  stand alone application

    I have a JFileChooser and i select a pdf through that . And i should be able to invoke the file in an acrobat reader.
    The acrobat application should be invoked on a click the button upon selection.
    Thanx in advance.

    Try to use Runtime.exec() method like this:
    String exePath = "path to acrobat reader executable";
    String filePath = "path to the file to execute";
    Runtime.getRuntime().exec(exePath+" "+filePath);

  • How to discard or release mutex in labwindow CVI.

    Hi,
    How to  release mutex  in labwindow CVI.
    I have one existing DLL . This DLL  using method 'CreateMutex(NULL, TRUE, "USBDriverRunning");' . 
    We need  to create another dll , this DLL be  release Mutex   'USBDriverRunning'.  
    Thanks
    Mukesh Kumar

    CreateMutex returns an handle that is to be passed to ReleaseMutex for releasing the resource. After that you must call CloseHandle on the same handle to clean up everytging.
    I don't know whether the handle of a mutex created with NULL in the first parameter can be passed to another DLL; I have never tried to do something similar but be careful with the following note int he function help:
        If this parameter is NULL, the handle cannot be inherited by child processes.
    You will need to carefully read the Remarks section of the function help and make your own tests.
    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 Change Brightness, Contrast and Saturation of an image in LabWindows/CVI (Urgent) ?

    Hi All
    I want to change brightness, contrast and saturation of an image, plz help me how it will possibe in labwindows/cvi
    Thanks

    CVI does not include native functions to operate such changements on an image.
    It may be possible that these functions are included in IMAQ library, but I never used ot so I'm not sure. In any case, this is an additional tool to install and it is not free.
    Alternatively, you may need to search for a third party library that offers such functions.
    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 programme logic gates in LabWindow/CVI?

    I am a student working on my final year project.I am new to LabWindows/CVI.My project is automated test of safety realted software. I am feeling a difficulty in programming gates in it.Have to make a GUI with many gates and relays in it.PLs help me out.

    Hi,
    What do you mean when you say "gates and relays"? Do you want to control hardware gates and relays? or is this just a user interface control that looks like a relay?
    I am attaching a small GUI that shows some of the boolean controls that CVI has. Please take a look at this UIR and give us some more details on this.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    BinaryControl.uir ‏5 KB

  • I used to working with Labwindow CVI and i would like to know how can i use the commands "loadpanel" and "Displaypanel " in Labview. Using Invoke Nodes?

    I want to make another panel appears and runs, but i don´t want to use a subpanel. So, i would like to use somenthing similar to Loadpanel and Displaypanel, that you can use in Labwindows CVI, but in Labview, is ti possible?I hope your answers, thank you!!!

    Hi Bichillo,
    I posted an example here.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650000000500000014570100&HTHREAD=000087828&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    It demonstrates how to do what you are asking.
    I do not mind you laughing at the code.
    Have fun!
    Ben

  • How to use the checksumdll.lib in LabWindow/CVI to create CRCChecksum();

    Hi All,
    Any one know how to use the checksumdll.lib in LabWindow/CVI to create CRCChecksum() ?
    Thank you.

    Do you ave some documentation about that dll?
    Have you looked into dll properties searching for vendor name? Maybe you can look int vendorìs site and obtain some help.
    Ultimately: are you forced to use that dll or can you use any software to calculate the checksum? There are several CRCs that you can use: provided you know which is the type used you could find an algorithm to calculate the CRC and check an existing one.
    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 set a DMA transfer type for PXIe-6536 in LabWindows/CVI?

    I have a PXI chassis PXIe-1078 with a controller PXIe-8115 running under Windows 7. The digital output board is PXIe-6536.
    I use a function DAQmxSetChanAttribute to set a property DAQmx_DO_DataXferMech to a value DAQmx_Val_DMA, since I want to use a direct memory access data transfer. This wokred well with a PCI-6534 board using the same LabWindows/CVI code before migrating it to the PXIe system.
    Unfortunately, running this code on the PXIe system reports a DAQmx error -200452: "Specified property is not supported by the device or is not applicable to the task".
    The task is created in the following simple way (the board name in MAX is 'Dev1'):
       DAQmxCreateTask ("digTask", &digitalTask);
       DAQmxCreateDOChan (digitalTask, "Dev1/port0:3", "DIG_CHANNELS", DAQmx_Val_ChanForAllLines);
       DAQmxSetChanAttribute (digitalTask, "", DAQmx_DO_DataXferMech, DAQmx_Val_DMA, 15);
    How can I solve this problem? How is it possible to choose between different transfer types?
    Thank you in advance for any hint!

    Hi CavityQED,
    The PCI-6534 is a "Digital I/O" board while the PXIe-6536 is a "High Speed Digital I/O" board, that's why they don't have the same properties.
    By the way you can use DMA transfer with this method :
    http://zone.ni.com/reference/en-XX/help/370520J-01/hsdio/direct_dma/
    Let me know if it helps you.
    Regards.
    Mathieu_T
    Certified LabVIEW Developer
    Certified TestStand Developer
    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;}
    LabVIEW Tour
    Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

  • How to get bar graph in word in labwindow/CVI ?

    how to get bar graph in word in labwindow/CVI ?

    ashwinic9,
    spawning your question over more and more threads (the present one, this one and this other one) won't give you a faster answer; instead, it will irritate forum users! 
    Especially if you have at your disposal a fast way to perform a test. I pointed you some days ago to word report example, that writes a table to a word document: did you tried changing the graph into a bar graph and generating the report? I have done it for you and the result is OK, as you can see in the attached document.
    Now, since the example works well, there must be something in your particular situation that prevents the graph to be shown; that is: you must add some more data on your actual problem and maybe a small example that exposes the problem.
    But please: keep active only this discussion and let the other threads die! 
    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?
    Attachments:
    wordreport.doc ‏38 KB

Maybe you are looking for

  • Error occured while reading identity data: failed to decrypt safe contents

    Hello, We are trying to access Tibco JMS server through SSL using JNDI lookup. Getting the following error, while executing a sample java file. Java Version - java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b0

  • WRT54GS V7 128 BIT ENCRYPTION

    I just this morning bought a new wireless router, ran home and hooked it up.  I have had 3 other Lynksys (wired) routers in the past, do all my own work from mechanical to software and LAN. The initial setup went fine with the first desktop PC, runni

  • Export all tracks as audio files

    Hi all, I need to export all my tracks as audio files, and i need them to all be the same length, i set a loop brace from the first bar to bar 233, but when i choose export all tracks as audio files, some tracks are coming out at say 4m06, some are 5

  • Script Repository "publisher could not be verified" error

    Hello, I'm trying to add a script to the script repository, but when I test it to download it, I get the "publisher could not be verified" error. My script is not signed. I do not get this error when downloading other user's scripts, even though thei

  • MIRO Retention Accounting Entries

    Hi Gurus , We have a Scenario where we mentioned a Retention Amount at Header . System automatically distribute the Percentage Amount at Item levels.When we post a MIRO related to that PO , system post an accouting entries to vendor reconcillation ac