How do I build an EXE for RT board?

LabVIEW 7.0, App Builder, Win2000.
I've been working on this program for a while. It uses the RT board as an engine controller and a host part as a supervisor, collecting data from the RT, as well as other places.
What I've been doing is this:
1... Launch LabVIEW.
2... Select TARGET = RT::0
3... Double-clicking the ENGINE CONTROLLER.llb (it loads)
4... Click RUN arrow (it downloads to the RT and starts running).
5... OPERATE | SWITCH EXECUTION TARGET | LABVIEW for WINDOWS
6... Double-click my HOST.llb, and it loads.
7... Click RUN arrow, and I'm off.
That's fine for development, but now it's stable enough to where I want to have the RT part downloaded automatically, whenever the RT boots.
I tried this:
1... Launch LabVIEW.
2... TOOLS | BUILD APP
3... Choose my BLD file (which refers to the ENGINE CONTROLLER.VI, and builds something called ENGINE CONTROLLER.EXE)
4... The SHOW RT TARGET SELECTION DIALOG option is checked, by default.
5... I BUILD the thing, which creates an ENGINE CONTROLLER.exe
OK so far.
If I double-click the EXE file, then I get the selection - dialog. I choose the RT option. The thing downloads and starts running.
I understand that. But how do I make it automatic?
I tried this:
1... Launch LabVIEW.
2... Select TARGET = RT::0
3... TOOLS | BUILD APP
4... Choose my BLD file (which refers to the ENGINE CONTROLLER.VI, and builds something called ENGINE CONTROLLER.EXE)
5... I BUILD the thing, which brings up a dialog that says "Starting build..." and nothing else ever happens. At least not in the five minutes I waited.
6... The Windows TAKS MANAGER says that LabVIEW is not hung, but I can't do anything except abort LV.
I tried this:
1... Launch LabVIEW.
2... Select TARGET = RT::0
3... Choose RT::0 OPTIONS | RT TARGET: MISCELLANEOUS
4... In the APPLICATION PATH field, I typed in the path to the EXE file that I built earlier (NOT targeted to RT), check the LAUNCH APP at BOOT-UP box, and leave the DOWNLOADED VI PATH field at what it was (C:\ni=rt\startup, or something like that).
So, when I reboot the thing, I get a message about the "STARTUP application is missing". I've checked the path several times, moved it to root folder, all to no avail.
I haven't checked the version that runs (targeted for windows) to see if EVERYTHING is OK, but at least it starts without errors.
What am I missing? Why does it complain about a "Missing" application? Do I need to use the DOWNLOADED VI PATH field? How?
Why does it hang when I build it targetting the RT?
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

ftp into your RT controller,
Not sure what you mean. I know what FTP is, but I don't know how to use it to talk to the RT board. Even if I did, there are no "files" on the board - there is no disk drive or file system (I have PCI-7041 as my RT board).
navigate to 'NI-RT/STARTUP' folder
No such folder on my host machine, no files at all on the RT board (there is no disk there).
and delete the startup.exe (if you encounter errors, rename the file and then delete it)
No can do.
create your executable again and this time make sure to place a check mark in the 'set target to launch application at start-up' chech box in the Application Settings tab of the Application builder.
I didn't mention it because that's the default state, but my BLD file already has it set that way.
restart your RT controller and your application will start automatically.
But if RT is the target it won't even build....
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

Similar Messages

  • How to build an .exe for cFieldPoint on a PC ?

    Hi all,
    A couple of weeks ago I installed a system with a compact FieldPoint running a in RT mode (cFP 2020 and LV 7.1.1).
    To load the .exe on the cFP, I connected my PC to the cFP (ethernet), selected the cFP as execution target for LabVIEW and then opened the application builder. I assume this is the normal way to do... but is this the only way ?
    In fact, my customer is asking for some more features, so my question is quite simple :
    Can I build an .exe for the cFP on my PC (without connecting to the cFP target), mail it to the customer and tell him to replace the .exe file on the module ?
    Thanks for any help
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

    Hi Kahlid ,
    I noticed you were reply someone on pretty much close to same problem whatever i am having , I am working on LabVIEW8.2 with cFP. I created a project with an executable (run from My Computer),  the other executable is running in the field point , I used shared variable to transfer data from field point to host program. Now I want to Uninstall LabVIEW from the same computer but want to keep MAX  and one .exe file to run host VI. How to do that , any  suggestion about copying or moving only .exe file ? or lets say if I want to run the same program in another new PC with same Field Point hardware and program how to copy/install executable in the new PC?
    Thanks and best regards,
    Faiyaz Syed

  • How do I build an expression for a multi-element in-list?

    How do I build an expression for a multi-element in-list? For example:
    SELECT * FROM employees
    WHERE (first_name, last_name, email) IN
    (('Guy', 'Himuro', 'GHIMURO'),('Karen', 'Colmenares', 'KCOLMENA'))
    Passing a Vector to Expression.in(Vector) where each element is a Vector of values itself will result in the appropriate expression for the values clause, but how to I get the columns to be considered together, that is, how do I get the "(first_name, last_name, email)" part?
    Steve

    Steve,
    I do not believe this is currently supported in the TopLink expression framework. Your best bet at this point will be to use custom SQL.
    Doug

  • How can i build RPMs file for my own Java Application?

    How can i build RPMs file for my own Java Application?....I have my own directory that contains all Java Source files and some files that my Application required....I want to build RPMs file like a install File to Linux System, Now my OS is Linux Fedora core 1.....How can i do this?

    I think that in order to create a RPM, you'd need to
    use some C.Nope - the RPM is all about packaging and the "magic" x.spec file. You can have anything you want in the RPM, but you have to use RPM tools to build the .rpm file. One of the features is that you can also indicate (via "install" scripts) modifications to other files or the filesystem to support the installation of whatever's in the RPM.

  • How can I build Instalation Program for java applet?

    I want to build on line internet game based on java applet.
    Uset must instull the game to his computer.And this program mast Connect to the server when user enter
    to this application.Not from explorer,but from my application,like when i enter to ICQ.
    My questions:
    How can i build instalation program in java?
    How can i connect to the server when user enter into my game not from explorer but from game?
    Thanks,Maya.

    Hi Maya
    First of all an Applet does not have to be "installed" as you would with a normal application. The browser handles the install and execution of the applet.
    Check out this URL for more about applets:
    http://web2.java.sun.com/docs/books/tutorial/applet/index.html
    On the subject client/server pairs - see:
    http://web2.java.sun.com/docs/books/tutorial/networking/sockets/index.html
    If you decide to make the game an application instead check out Sun's WebStart - under the products section.
    That's about all the help I can give you.
    Programming a game is a complicated subject - I am doing one too:
    http://hjem.get2net.dk/mhjembaek/armageddon/
    Kind reg,
    Hjembaek

  • How can I build app's for RTE 8.0 with Labview 8.2

    Is there a possibility to build applications with LabView 8.2 in a way to execute them with the RTE 8.0. It's not a problem to save the sourcecode as LabView 8.0 format, but if I build this code e.g as  *.exe and try to execute with RTE 8.0 an error occured. The errormessage is, that it's not possible to execute an file created for RTE 8.2 with RTE 8.0. What is to do to build an RTE 8.0 compatible application?

    Applications written for 8.0 will only run with the 8.0 rte. New applications written for 8.2 will run only with the 8.2 rte. Your internal support doesn't know what it is talking about if they think otherwise. No need to upgrade the rte unless you paln to rebuild the 8.0 apps with 8.2. Both run times can be installed on the same pc if the old apps are working. Not much reason to change unless they need to be edited and you use 8.2 as the editor. I would image that if you build a new app in 8.2, it would have to undergo the same quality check as the 8.0 applications.
    You are able to do a save as for 8.0 so that users with 8.0 can open them and use them with the older version. It's simply not possible for a newer development environment to target a build for an older run-time. Before you even do a build, the source code is compiled for the version you are currently using. The only way to swithc compilers is to switch versions of LabVIEW.

  • How do I build a redirect for a mobile site

    I want to get a few opinions on this. I want have the option of when someone with a smart phone lands on the site, they have the option of viewing the full site or the mobile.
    Is this an advanced function? Is there JS involved? Can I easily do this in Muse or do I have to set this up on a server?
    Thanks.

    It seems to me that you want mobile users to be asked which version they want to use. Here's how its done:
    Add a mobile version of your website (hit the "+Phone" button).
    Add two buttons or links to the homepage of your phone version ("Use mobile version" and "Use desktop version").
    Add a link to the 'Use desktop version' to the desktop homepage (you can choose this in the link panel).
    Add a link to a second page (make this page in the mobile version of your website), that you will be using as your mobile version homepage, from the 'Use mobile version'.
    This will only work if your visitor enters via www.yoursite.com , not if he enters via www.yoursite.com/example.html .

  • We have always used custom excel and other PDF files how do we build an app for ipad

    apart from the "mac" what else do I need as I only want 1 license of the resulting app and as it is an inhouse app paying a developer and getting volume license is too expensive.  Or is all extras in the dev pack issued by Apple

    it is only for myself to use in the business on a day to day basis
    The app is to collect 5-6 types of data that currently we have to write down each time we do certain processes with work
    current example new page new day so 300+ sheets per year with 1-3 lines of writing on
    initials of employee - product made - added ingredients batch numbers 4-5 columns - total made
    this type of capture should be ideal for ipad with scroll or number input and each day new form saves the planet as well
    our only issue is we have all custom programs and equipment based round XP pro systems and cannot go to touchscreen windows 8 with any of our old custom software hence going to custom app as keyboards are not possible in our industry due to hygiene issues unless stainless and silicon coated at $700 each

  • How to synchronous multiple waveform acquisition for 6025E board(ACH0 & ACH1)

    We are now using 2 AI Acquire Waveform.vi to acquire 2 seperate analog channels(ACH0 & ACH1). However the 2 acquired waveforms are not synchronised.
    a. How to synchronise the 2 waveform?
    b. How to ensure that both vi start acquisition at the same instance(together)?
    Merry christmas.
    thks & Best regards
    lyn

    I would suggest using the AI Acquire Waveforms.vi instead of AI Acquire Waveform.vi (note the plurality of the names) multiple times. If you use AI Acquire Waveforms.vi, then you can acquire the waveforms simulataneously from multiple channels. You can also use the intermediate DAQ VIs to build such an application. Although they are a bit more robustious, they have the advantage of giving more control to the developer. LabVIEW ships with many examples which use these so you may want to reference those as you start to build your VI. Best of luck!
    J.R. Allen

  • Report Generation - Build an exe from a PC with different Office Version

    Hi,
     I want to build an exe from a VI that uses Report Generation Toolkit. The application has to be deployed on several PCs that use Office 2000. During development phase I installed on my PC, Office 2000 and everything was ok. After I was done with it, I reinstalled Office 2007. So, the Report Generation Toolkit from my PC is for Office 2000 (it was installed when I had Office 2000 on my PC).
     These days I had to fix some bugs from my application, I made a new exe but the part that generates Word reports (using RGT) is not working anymore - I received that error with -35...9935 (or something like this).
     I tried to search for the problem and I found it: with exactly the same VI's (_Word Dynamic VIs.vi - for Office 2000) the invoke nodes from a PC with Office 2007 and a PC Office 2000 look different. For example in Word_Open_Document.vi, the invoke node Document is different for a PC with Office 2000 + RGT for 2000 and a PC with Office 2007 + RGT for Office 2000 (no mistake).
     So, I've tried to copy the VI's from a PC with Office 2000 + RGT 2000 to my PC but I cannot build it because I get the error: There are some errors in _Word Dynamic VIs.vi (the invoke nodes do not fit).
    Finally my question is: How can I build the exe on my PC: Office 2007 but with RGT for Office 2000??
    Thanks,
    Paul
    Solved!
    Go to Solution.

    Hi,
    Thank you for your advice. Can you please tell me what you want to say with the wrapper vi? I don't really understand what you mean.
    By the way, I solved the problem. I discovered that the Invoke Nodes are updated based on the Object Library for the ActiveX control (in this case the MS Office). The data types are store in the msword9.olb (version 9 - for office 2000 in Office folder) and msword.olb (version 12 - for office 2007 also in Office folder). I tried to register the msword9.olb (using the regsvr32.exe) but it doesn't work for olb files - I need the ocx or dll. But, if I replace the msword.olb from Office 2007 with msword9.olb from Office 2000 everything work.
    Ok, steps that have to be done:
    1. Install the RGT for Office 2000 on the PC
    2. DO NOT Change anything in _Word_Dynamic VIs.vi. When Office 2007 is installed the VI arrow should be broken (error in VI)
    3. Copy the msword9.olb from a system with Office 2000 (or your version) and copy it to your system with Office 2007 with the new name msword.olb. DO NOT FORGET to make a backup of the original MS Office 2007 file and to restore it at the end.
    4. After the new msword.olb is there, the _Word_Dynamic VIs.vi should have no error
    5. Build your exe application
    6. Restore the old msword.olb
    7. ENJOY your life !
    I hope this is useful also for somebody else.
    Paulie

  • Flash Builder 4 Plugin for Eclipse

    Flash Builder 4 is now shipping....
    How about "Flash Builder 4 Plugin for Eclipse"?
    Anybody know it is released or not? Thanks.

    Oh, thanks.
    Is it only has download version?
    I wanna buy a boxset version, but cannnot find it in the store...
    And do the serial key of "standalone" and "plug-in" version the same?
    https://store3.adobe.com/cfusion/store/index.cfm?&store=OLS-AP&view=ols_prod&category=/App lications/FlashBuilderPremium&distributionMethod=FULL&nr=0#view=ols_prod&category=/Applica tions/FlashBuilderPremium&store=OLS-AP&loc=en_xap

  • How Can I Build Mailing List Portlets?

    I want to make a portal with a mailing list portlet. I need to know how can I build the servlet for my apache server.

    By a mailing list portlet, do you mean a portlet where users can sign up for different mailing lists, or do you mean a specific mailing list that would archive all the messages sent to the list?
    In any case, if you have an existing application that manages a mailing list (like a list on listbot.com), one of the options you could investigate is to integrate that application as an External Application to Portal and leverage the Single Sign On capability.
    null

  • Building multiple EXE's with common code

    I’m trying to determine the best way to use Application Builder to deploy a fairly large LabVIEW project to computers which do not have a LabVIEW development system installed.  This project consists of:
    Multiple top-level VI’s, each of which should be compiled to a separate executables.
    Multiple plug-in classes which are dynamically loaded by the top-level VI’s.
    Common modules (LabVIEW classes, project libraries, and individual VI’s) shared by both the top-level VI’s and the plug-in classes.
    Everything works well under the development system, and also when I use a single build specification to both build the EXE for one top-level VI and to place the plug-in classes in the correct folder relative to the EXE.  However, this seems wasteful, as it makes a full copy of all of the plug-in classes, and their dependencies for each top level EXE.
    If I try to build the EXE with one build specification, and a source distribution for the plug-in classes with another build specification, error 1448 occurs when I load some of the plug-in classes using “Get LV Class Default Value.vi”.  I suspect that this is due to having the same common VI expected at two different paths (i.e. one embedded in the EXE and a second copy in the folder where the plug-in class is located).
    Is there any way to use multiple build specifications to build several EXE’s and a “library” of common code in such a way that everything links properly?
    Mark Moss
    Electrical Validation Engineer
    GHSP

    It is possible, but I will save you the trouble - if it works as a monolithic executable, leave it at that. It may be wasteful, but computers are powerful, memory is cheap and headaches resulting from trying to manage dependencies aren't.
    If you want, you can find some plugin schemes in the large apps group over at the communities area of this site, but you're probably better off not going into it if you don't actually need the functionality.
    Try to take over the world!

  • How To Build exe for Previous Versions

    I'm new to LabView and still struggilng a little with all the files associated with a project, so I'm sure this is a simple question.
    I'm running LabView v10 for development, but wish to create an exe that can run on a v8.5 runtime version. I've seen the threads that suggest that this is as simple as 'Save For Previous Version'... but for some reason I cannot seem to make this work. I have tried saving the vi for 8.5, then choosing to build the exe, but upon being prompted to create an associated project, I'm told there are unsaved changes - that the subvi's have been converted to version 10. I've tried declining the changes and opting to use those in memory, but this also doesn't work; the built exe then gives me a runtime error, complaining it does not have LV Runtime 10.
    I've tried saving the project with 'Save for Previous Version', then building. Again, this doesn't work - even though when i open, then immediately close either the project or it's contained vi's, I'm told there are unsaved changes where it has been converted to LV10 - implying the saved files were indeed saved in LV8.5 format.
    I seem to be going round in circles here. Would someone mind laying out the necessary steps to build an exe that can run on a previous runtime environment?
    Thanks in advance
    Solved!
    Go to Solution.

    To my knowledge, none of NI's device drivers can have multiple versions co-existing.  Now, that doesn't necessarily mean if you use any hardware that you will run into problems.  If the hardware is NI hardware, then they will also have specific drivers which can be in conflict, but if they are another manufacturer, it'll come down to NI-VISA probably.  If you are using any NI data acquisiton cards, then you have DAQmx installed.
    As long as your program doesn't access these devices, you are OK.  You are not required to update the drivers if you don't use the hardware.  You need to look in the relase notes for each of the drivers you need to update and see if you can find a version that supports both 8.5 and LV2010.
    Even if you do this, it is not a 100% guarantee that you won't have problems.  I had written an application for a customer once that used NI-RFSA.  I had a control on the front panel based on a typedef in the driver.  I updated my laptop for a new project, but later had to come back and make an update for the original project.  The typedef had changed and caused a recompile.  Nothing broke on my end.  When I sent the update, it crashed on the customer PC because of the typedef change.  I ended up getting them to upgrade the driver on their machine.

  • How to build sql query for view object at run time

    Hi,
    I have a LOV on my form that is created from a view object.
    View object is read-only and is created from a SQL query.
    SQL query consists of few input parameters and table joins.
    My scenario is such that if input parameters are passed, i have to join extra tables, otherwise, only one table can fetch the results I need.
    Can anyone please suggest, how I can solve this? I want to build the query for view object at run time based on the values passed to input parameters.
    Thanks
    Srikanth Addanki

    As I understand you want to change the query at run time.
    If this is what you want, you can use setQuery Method then use executeQuery.
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14022/oracle/jbo/server/ViewObjectImpl.html#setQuery_java_lang_String_

Maybe you are looking for

  • What would the  approach for this scenario

    If I choose the data source like  2LIS_02_HDR, 2LIS_02_ITM,2LIS_03_BF  i should go for Lo-cockpit Extratcion Activate each data source and replicate on bw side. Activate BI Content for corresponding DS and Use Mulitprovider  to include the cubes  and

  • DW CS4 shift+arrow keys no longer work?

    I use Dreamweaver a fair amount. Just recently when I want to highlight a bunch of code while in code view, the shift + Arrow keys no longer work. The first letter is highlighted, but as I press the arrow a second time nothing is highlighted. This pr

  • FinalCut Pro Slow down in Dual G5

    Hi All, First the specs: Dual 2. Gh G5 with 5 gig of ram, and over 35 gig of spare drive space on the boot drive and 480 gig of drive space on the media drive. The software I am referring to are the latest FCStudio Package and the latest operating sy

  • Photos print as black box

    A weird anomaly is occurring.  If I print a document from Microsoft Word to the HP OfficeJet 7210 and the document contains graphics (jpg), the area where the graphic is comes out totally black.  If I print the same document from WordPerfect to the O

  • How to manage brightness on a 27" mac with windows and a windows keyboard

    My problem is that since the imac doesn't have hardware controls of the monitor I don't know how to adjust brightness or swich the monitor or even eject media from the keyboard (but this is not important as I cand do it by soft). Addicionally to avoi