My computer empty in Applicatio​n Builder
I just upgraded to LV 8.5 and activated the Application Builder for the first time. I have only one (large) VI to create the executable from. When in the Project Explorer/Build Specifications/Source files catagory, "My Computer" is greyed out. Therefore I cannot navigate anywhere to select a startup VI.
At first, the folder where I keep all my VIs are on the server/network drive for safe keeping. As a test, I copied the entire folder to my local hard drive and started over building the project with the same results.
Ideas anyone?
Thanks,
Gary
Thanks! That helped. I hadn't added the VI to the project. Doing that, I was able to build the executable and the installer.
Similar Messages
-
LV 8.6 applicatio​n builder creates an empty installer
LV seems to create the installer O.K. At least there are no error messages. However, after I run the installer, the directory where the executable is supposed to be does not exist. There are no error messages when running the installer.
Nisar F wrote:
Hi earl,
I hope you are doing fine. Here is the link that tells you how to build an installer. Particularly pay attention to step 3 -5 to see if you have set up the correct settings for source file to include in installer. Hope this helps
Best regards,
And step 6 shows you how to build a shortcut.
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! -
Since Labview ver 8.0 and later, I am not very happy with the new way the project installer is managing the additional drivers such as Serial.
With LV 7.11 the serial components was included in the cab file and was installed on the target computer in a specific directory. The size of the distribution was pretty small and well suited for compact distribution.
My LV application use only the serial object and with LV 8.21, if I include the serial 3.2 component, I get an enormus file including max, visa ... and a lot of fucky component I do not need.
To distribute my application, I just need, the runtime engine and the serial driver as it was with the version 7.XX
Looking for clever advises from you gentlemen!Thanks Dennis for you input
My problem is in fact very simple. 3 years ago, I developped a software suite for X ray generator; My company is selling such generator all over the world and our control panel software and DLL (for OEM integrator) is based on Labview professionnal development plateform.
To drive our generator, we just need to transfer ascii data using the strandard RS232 port still present on most of equipments used in the industrial area.
Until LV version 7.11, there was no problem to include serial component in my distribution with a very reasonable size and transparency for the end user.
with LV 8.xx (preparing a new release), I'm very disapointed to see, my distribution is increased of about for 10 Mo to 180 Mo just because I increase the serial component.
May I mix a previous version of the serial component with LV 8.21?
Should I change my source to Visa instruction only and merge visa runtime only to my distribution?
is there any simple serial example based on visa and distributed with th application builder?
I will appreciate your help in order to optimize my distribution
Pascal -
Hiding empty columns in report builder
Hi,
This is my first adventure with report builder and I have
managed to produce some custom labels which work almost perfectly.
I say almost because there is one thing I can't seem to do.
I have a label for addresses. The address data consists of
data from a query including, name,
address1,address2,address3,town,county,postcode.
Some of these are quite often empty but the label still
displays a line break and the ',' at the end so I might end up
with:
Dave Phipps
27 Acacia Road,
MyTown,
MT1 4JP
In the above address the fields address2, address3 and county
are empty.
How do I set this up in Report Builder to hide the missing
lines so that I would end up with:
Dave Phipps
27 Acacia Road,
MyTown,
MT1 4JP
Any ideas?
Cheers,
DaveHi,
If i understood your question correctly,
The you can try this
TYPE-POOLS:slis,abap.
TYPES:BEGIN OF ty,
f1 TYPE c,
f2 TYPE c,
f3 TYPE c,
f4 TYPE c,
END OF ty.
DATA:it TYPE TABLE OF ty,
wa TYPE ty,
wa_field TYPE slis_fieldcat_alv,
i_fieldcat TYPE TABLE OF slis_fieldcat_alv,
i_details TYPE abap_compdescr_tab,
wa_comp TYPE abap_compdescr,
ref_descr TYPE REF TO cl_abap_structdescr,
lv_field TYPE abap_compname.
FIELD-SYMBOLS:<fs>,
<fs1>.
ref_descr ?= cl_abap_typedescr=>describe_by_data( wa ).
i_details[] = ref_descr->components[].
wa-f1 = 'A'.
wa-f3 = 'C'.
APPEND wa TO it.
wa-f1 = 'X'.
wa-f3 = 'Y'.
APPEND wa TO it.
if it[] is not initial.
LOOP AT i_details INTO wa_comp.
ASSIGN wa_comp-name TO <fs>.
SORT it BY (<fs>) DESCENDING.
CONCATENATE 'WA' '-' <fs> INTO lv_field .
ASSIGN (lv_field) TO <fs1>.
READ TABLE it INTO wa INDEX 1 transporting (<fs>).
IF sy-subrc = 0 AND <fs1> IS NOT INITIAL.
wa_field-fieldname = wa_comp-name.
wa_field-seltext_m = wa_comp-name.
APPEND wa_field TO i_fieldcat.
ENDIF.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = i_fieldcat[]
TABLES
t_outtab = it[].
endif. -
Error when loading customer's applicatio​n build script
I'm updating a program for a customer to include a module that we have developed. We're required to use an application builder script because of the way the VIs work.
Anyways, when I attempt to load the build script for the LabView 6.1 application, eventually an error box comes up with the following message:
Error 1 occured at Program Files:\National Instruments\LabVIEW 6.1\vi.lib\addons\_office\_wordsub.llb\_Word Dynamic VIs.vi - invalid path.
Possible Reasons:
LabVIEW: An input parameter is invalid.
or
NI-488: Command requires GPIB Controller to be Controller in Charge.
I'm confused about the Program Files:\ syntax. Is this a valid reference? I can only assume so, as I believe they used this build script in the past. I'm currently working on Win2k, and I do not know what the customer's machine is running.
Is there a particular Windows or LabView setting that would let this build script work? If not, is there an application build script editor that I can use to change the file reference?Yes it's a valid path, see attached screen cap of the exact path on my computer (except version 8.2).
It looks like the target computer is just missing the MS Office toolkit, or the installation was not Typical. Tell the user to install the toolkit in the proper directory and it should compile.
Message Edited by Broken Arrow on 06-04-2008 09:08 AM
Richard
Attachments:
forum path pic.JPG 70 KB -
Applicatio​n builder default control value
I have a VI the reads a data file. When I build an application and transfer the application to another computer the default directory is no longer valid. Is there anyway to allow the user to establish a default directory for the file read on his computer or does he always have to go through multiple levels to find the file every time he restarts the application?
There is an initialization file (projectname.ini) that is created with your application (build for the application). You can define your default locations there. Note, you will need to configure the builder to use your file.
-
Checking for empty tags using expression builder for XPATH
I am creating several filters in a mediator for several parallel paths. I am trying to route the mediator to the correct DB adapter based on what tags are empty in the incoming XML. The XML has 1 required tag and 3 optional. So for the expression, I am using the expression builder to load the tag name then putting either [text()] or [not(text())] immediately after each tag with an "and" in between for the 3 optional elements. The problem I am having is they always return false. For example, if I enter a value for an optional tag and put [text()] after it, it evaluates to false. What is the correct way to check if an element has text or not?
Thanks in advance!Hi,
Its not recognizing the getVariableData func... instead try this:
string-length(xpath)>0
ex: string-length($in.body/imp1:manoj/imp1:C1)>0
It works... Happy deploying ... :) -
Problem Description :
I've been developing with LabView for 8+ years and recently had to upgrade from 6.1 to 8.2 because of compatibility issues with LabView, MAX, DAQ and SERIAL. LabView had always been so intuitive and efficient, but that has changed to some degree sometime after 6.1 IMO. I won't get further into that, but I am having several problems with Application Builder and particularly, with creating an Installer and installing test programs. I haven't seen many posts on this subject so I assume I am doing something wrong.
In 6.1, I could build a program and create an installer in minutes, and all in the same step - Click on Build and the installer was created. I could also locate my files anywhere I wanted. Unfortunately the process in 8.2 is no where as simple as one has to create a build and installer separately. So far, I haven't been able to distribute my installer files where I want them according to our internal procedures. The build portion works fine and I can locate my files as needed, but not so for the installer (at least I haven't figured it out yet). The main problem is that I have some common DLLs that I'd like to locate in a common directory for all of my programs, but it seems like I'm stuck putting them in the installation directory of every program that I write. Again, it is fine in build. There doesn't seem to be any flexibility in changing the location of the files in the installer. I did see a post somewhere that mentioned that DLL files must be located in the system directory if you don't want them included in the build or installation. I would just like to install the dlls to a common directory and not include them in every installation directory. Just like I did in LV 6.1!
This is a relatively minor problem compared to what happens when I try to install the programs.
I have five separate programs for which I have recently built and created installers with the limitations that I've described above. I can install one program on my machine and it runs properly. If I try to install any of the
other four, they will delete the previous installation - all the files are deleted (they all have different names). What I think is going on is that the installer thinks that these five programs are the same and simply overwrites the previous installation. One reason I believe this, is because I tried an installation and it failed with the error message that there was already a higher version installed. The higher version it was referring to was almost certainly the one program I could install, but certainly not a higher version of the one I was trying to install (it didn't exist yet). After I uninstalled the one program, I could install any other four. It doesn't matter if I install on the build computer or the target computer (ATE).
What am I doing wrong? Please help me to resolve this problem.
I wan't the build and install files in the same exact location:
Example of my five programs and the locations of build and install:
C:\KIK2-LabView\Customer Name\Base Part Number1\Program1.exe.......
C:\KIK2-LabView\Customer Name\Base Part Number2\Program2.exe.......
C:\KIK2-LabView\Customer Name\Base Part Number3\Program3.exe.......
C:\KIK2-LabView\Customer Name\Base Part Number4\Program4.exe.......
C:\KIK2-LabView\Customer Name\Base Part Number5\Program5.exe.......
The support files will also be put in the corresponding directories. The common files were supposed to go in the KIK2-LabView directory instead of copies in every installation directory.
Is there something I have to do with the registry? In 6.1 it was all automatic.
I hope there are simple answers to my problems, but I have yet to find them out. I have been able to find very little info on Application Builder, and nothing that is comprehensive.
Thanks!Thank for the reply, Andy
I have scoured the Help files and this forum which helped me to create the build and installer, but they didn't address any of the problems that I described in my post. I tried to make sure that I exhausted numerous resources before posting and requesting help.
I appreciate the response, but you didn't quite get to my most important problem - that when I try to install a program from the created installer, it overwrites my previously installed program. Actually I have found the answer in a different thread. ---> http://forums.ni.com/ni/board/message?board.id=140&message.id=16146. My problem is that I cut and pasted all of my project files and made the appropriate changes specific to each new project. If you don't create brand new builds and installers in these projects, you will create duplicate registry keys, even though all of the names, numbers, files, etc. were changed to be completely unique. I opened the .lvproj file in notepad and found several registry keys to be the same; here is an example:
<Property Name="UpgradeCode" Type="Str">{831013BF-9112-45AA-BF13-A13F08098841}</Property>
All of the projects that I created by cut and paste (and edit) method had this same exact key (as well as other keys) which was causing the previous install to be deleted/overwritten or gave me the message that a higher version already existed. Again, this happened even though all of the project data was completely unique after it was edited, including the project filename (of course). Finally, I completely rebuilt my projects from scratch starting with "New Project" and voila, they now all install properly. Obviously, none shared any of the same registry keys.
I don't know if this is something that was overlooked, but it is so much easier to cut, paste and edit projects when they are very similar. Unfortunately I have found out the hard way that new build and install spec's must be created. Is there a change that can be made to the Project File in LabView so that when certain information changes (like the executable file name) that new registry keys will be generated? It is obvious that you don't want someone to accidentally install a lower version of the project over a newer one, but it would have prevented my work time loss (several days) and will prevent time loss for others in the future as well. Could you at least consider allowing the developer to generate new keys like was available in LabView 6.1?
Also concerning the location of files, I previously had done all of what you said and can locate the build files where I want. However, in the Installer (Source Files Tab), when I create the folders in [Windows Volume], all of the files from the build spec are put into the SAME directory, regardless of where they were located in the build spec. If I try to delete one file, all will be removed. I can't place individual files where I want them to go in the installer (if they are a part of the build). Example: In the installer, I created the subfolders KIK2-LabView\Customer\UUT Base Part Number on the [Windows Volume] directory and set the UUT Base Part Number as default. I want most of the files to go into the default directory, but a few of the dependent dll's should go into the KIK2-LabView folder as they are common to many other programs/projects. In short, I don't need or desire 50 copies of these dlls on my ATE. I was able to locate the installer files anywhere in LabView Pro 6.1, but so far I can't figure out if this is possible in 8.2. It would appear that it is not.
Thanks,
John W. -
**Transferring project to new computer - EMPTY FILE FOLDERS??
I had a previous post on render issues...the render was coming out very glitchy and fuzzy and like nothing I've experienced before...
So what I'm doing now is taking my CS4 project and transferring to a much better computer...that has CS5 Premiere Pro.
The project opens up fine but when it asks for the files - and I locate them on external hard drives...the folders are empty.
The files of these folders are absolutely fine and present when I open them from the hard drive on the computer.
I also transferred the files from the hard drive to the desktop of the new computer and the files are present when I open from desktop.
The only issue is when I'm in CS5...it's saying the folders are empty but they're definitely not.
This doesn't occur for all the files...I grabbed some images (still images) without a hitch...but the video's aren't pulling up and the voice over, music and sound FX aren't either...
So basically the only thing that works are the images.
I think I've experienced something like this in the past but I don't remember how I fixed it.
What's this all about and how do I correct it immediately.
The quicker the input the better....so I'd be extremely grateful if anyone could get back super quick!
Thanks - I really appreciate the helpDavid - wanted to let you know that your suggestion worked...well kind of
I found out that the issues were mainly with my computer - regarding the original post about intermittant fuzziness.
About the files not importing/folders showing up but not the files...
I opened an original project. When I did that, the files within the folders magically...were present.
But it wasn't that easy.
I had to get the original project into the newly created project so the easiest way that worked was copying and pasting the original project into the new project timeline.
But then, the files didn't show up again after I did this...
So I forget what I did because I went through a ton of attempts but I finally got the files to show up and I linked each piece of media with the timeline elements.
All but one of the media elements linked.
It gave me an error message for the one that didn't:
The selected file does not contain video media used by clip references in one or more sequences. These video clip references will be deleted, and cannot be undone. Do you want to continue?
That was an AVI video that didn't import but the rest of the AVI's with the exact same settings did import.
And the computer I was on didn't play AVI video's (only the audio) - which is what about 3 of the video elements in the timeline were composed of. I donwloaded codec's from DivX and I think Microsoft codecs and maybe one more set of codecs that all were supposed to have AVI within them but the computer still only played the audio.
So I rendered that portion (video file that didn't import) on old computer at super high data rate to combat the fuzziness and brought that video into the timeline and went on with the rest.
So I don't know what was up but I kept going til I found a way.
Thanks for your help David and everyone else -
Applicatio​n Builder Very Slow. How much RAM is required
I running LabVIEW 8.0 on a Windows 2000 PC. The PC is a Pentium 4 300GHz, with 1 Gb of RAM. I have a specific application which has 400-500 VIs and the built time has escalated from approximately 3 minutes to over 60 minutes. I have tested it on another computer with similiar hardware and I get the same results.
During the Application building I have observed that hard drive light is continually on so that it appears that the computer is using virtual memory. The LAbVIEW VIs are stored on the network and LabVIEW program files are stored on the local srive.
My questions are these:
1. Could I actually be running out of RAM during the building process?
2 What are the computer requirements for LabVIEW 8?
3. Is 1 Gbyte of RAM enough RAM to build large (400-500 vis) applications?
ThanksHi Int_man,
1. Unless you notice CPU usage skyrocketing to 100%, probably not.
2. "LabVIEW requires a minimum of 256 MB of RAM, but National Instruments recommends 512 MB of RAM." This information is available in the LabVIEW 8.0 Release Notes
3. The size of an application usually takes a back seat to array/cluster sizes. Branching large arrays and passing between local variables cause memory usage to increase X-fold. To quote Dennis, " The amount of RAM used is more a function of
what your program is doing and how it is doing it than the size of the
source files."
I recommend taking a look at the Faster build discussion forum. There are many helpful suggestions for optimizing the App Builder build time.
Cheers.
| Michael K | Project Manager | LabVIEW R&D | National Instruments | -
Newbie at this...
1. Created a simple project (just math) in LV 8.0
2. Did the build
3. Built an installer but Deselected RTE installer as I told my customer to download LV RTE 8.0
4. The installer put everything into a file folder called VOLUME... (?)
5. Copied VOLUME over to non LV machine that had LV 8.0 RTE downloaded and installed.
6. Ran ithe NI nstaller on non LV machine. Ran Ok.
7. However, no files were installed (checked the PROGRAMS directory).
This is a REAL simple program. Can anyone point me to some simple/stupid thing I did wrong?
frustrated in San Diego....
JohnJohn:
Looking at all your steps, it seems like you are doing all the right things and in the right order too. Couple of things that you may try:
1. Make sure that in your installer properties, you specify "ProgramsFileFolder" in the Source Files tab if you want your installer files to be
placed under "...\Programs\" (Please take a look at the attached screenshot)
2. Try building an executable and make sure that you can run on the customer's computer (since it already has the LabVIEW Run Time Engine)
Let me know what you find.
Regards,
Rudi N.
Attachments:
Installer.JPG 52 KB -
Hallo, habe folgendes Problem:
Für einen Kunden wurde ein Programm zur Datenerfassung entwickelt (2005).
Die Daten werden über die Fieldpoint-Schnittstelle erfasst und in einer CSV-Datei abgespeichert.
Für ein Folgeprojekt möchte der Kunde eine angepasste Version dieses Programms.
Darum wurde zusätzlich der Application Builder erworben um eine Exe-Datei zu erzeugen.
Da ich sonst nichts mit LabView mache ist meine LabView-Version nicht mehr die neuste
LabView Version 7.1
Application Builder für LabView 7.1
Fieldpoint Version 4.1
Das Erstellen einer EXE-Datei war auch erfolgreich, nur beim Ausführen der EXE auf dem neuen Zielrechner, bricht das Programm beim Aufstarten die Anwendung öfters mit einer Fehlermeldung ab (Fehlerbericht an Microsoft senden...) und beendet diese.
In der Ereignisanzeige des Rechners erscheint in diesem Falle immer die Meldung ".NET Runtime 2.0 Error Reporting"
Typ: Fehler
Ereignisskennung: 1000
Warum das Programm manchmal abstürzt ist leider nicht auszumachen, ich schätze aber dass es mit der Schnittstelle zu FieldPoint (Version 4.1) zu tun hat.
Wenn ich das Programm aus meiner Entwicklungsumgebung aus Starte funktioniert es einwandfrei.
Testweise habe ich auch schon die Entwickungsumgebung auf dem neuen Zielrechner installiert, auch dann läuft mein Programm wenn ich es manuell von dort aus starte. Kann ich beim Erzeugen der Exe-Datei noch was falsch gemacht haben?Aber warum funktioniert die EXE-Datei dann ab und zu?
Solved!
Go to Solution.Translation
Hi, following problem:
For a client, a program was developed for data collection (2005).
The data are recorded on the FieldPoint interface and stored in a CSV file.
For a follow-up project, the customer would like a customized version of this program.
Therefore, in addition, the Application Builder has been acquired to produce an executable file.
Since I do nothing else with my LabView LabView is no longer the latest version
LabView version 7.1
Application Builder for LabVIEW 7.1
FieldPoint Version 4.1
Creating an EXE file was successful, only when you run the EXE on the new target machine breaks
Program at startup, the application several times with an error (send error report to Microsoft ...) and ended it.
In the event viewer of the computer appears in this case always the message ". NET Runtime 2.0 Error Reporting"
Type: Error
Event ID: 1000
Why does the program crashes sometimes unfortunately not identify, but I guess that with the interface
to do on Field Point (version 4.1) has.
When I run the program from my development environment from Start it works fine.
Test,
I've already installed the development environment on the new target
machine, even running my program when I start it manually from there. Can I have when creating the exe file does do something wrong? But why the EXE files work now and then? -
Report Generation Toolkit and Applicatio​n Builder
I am going insane trying to work this out.
I am trying to build an EXE program using Application Builder. The program uses the Office Report Generation Toolkit.
I have tried including the dynamic VIs into the project, both from the Development machine and from the CD. I still have the same problem : the application does not start Excel. It is like the commands go into a black hole. There isn't even an error message.
I have attached my report VI for you to peruse. Any help is appreciated.
Brian Rose
Solved!
Go to Solution.
Attachments:
TestReport.vi 122 KBYes, Labview 8.2
Office Toolkit = 1.1.1
I have tried many combinations of what files are included, from just the top level VI, to every VI in the heirarchy tree (a major pain). I am now trying to rebuild the project from scratch and see if that does anything.
Brian Rose -
Error message in applicatio​n builder in Build Applicatio​n.vi
Hello,
I'm trying to make an executable file but I recive the following error message:
Error 1003 occurred at Open VI Reference in Dist Copy Non-VI Files.vi->Dist Build LLB Image.vi->Dist Build App Image.vi->Build Application.vi
Possible reason(s):
LabVIEW: The VI is not executable.
Does anyboy know the reason for this message?
Thanks.
Javier de PablosHello Jaime,
I've tried to compile a very simple VI (there is only a while loop that executes nothing and counter is wired to an indicator.
I've attached you.) and I've got the same error. So the code or any dynamic VIs are not the problem.
I've repaired the Application Builder within Control Panel > Add and Remove programs but I haven't resolved the problem.
Javier de Pablos
Attachments:
Untitled.vi 13 KB
gg.bld 1 KB -
Error 7 applicatio​n builder invoke node
I get this error when I tried to build an application. "Error 7 occured at Invoke Node in Dist read linkage.vi-> Dist Cmp Settings to Disk Hier.vi-> Dist Build App Image.vi-> Build Application.vi Possible reason, LabView: File not found.....and then NI-488 Non Existent board." Anyone knows why? I was able to build application just fine last night. But then when I tried to build it this morning, that's the error that I got. Thanks.
Check the info in this link:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000016730000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=Error+7&USEARCHCONTEXT_QUESTION_S=0
Maybe you are looking for
-
Every time i use itunes on my ipod touch (4th gen.) it ALWAYS CRASHES!
see subject^
-
Hi, I like to know why i cannot put Data Encryption on ONLY a D:folder path. Why is this folder automatic created on ALL drives? A "user" save-harbor can be put on one specific disk, so why not a "default" one? Thanks Herman
-
Program error trying to open files
Since upgrading to Mavericks anytime i try to open files by going to file,open it says "Could not complete your request because of a program error".. I have uninstalled and reinstalled and also tried using the cleanup tool but still getting that erro
-
Using Nokia Downloader - Help please!!!
I have recently purchased the Nokia 6500 Slide mobile phone. Have discovered that it does not have the latest software - currently has Version 08.30 (3rd July 2008). I have been advised to have it updated to the latest version. I understand it should
-
Installing iTunes "could not locate network location itunes\."
Can anyone help me with the following error: "could not locate network location itunes\." I have had an iPod for a week now and can't instal iTunes John