Creating executable including run time and drivers windows 7
Hi
Using version 8.5.1 and need to include the runtime version, and drivers for connecting to scope into an executable. Have found so much information on the subject of creating an executable but would like to know if anyone has some step by step for version 8.5.1 to create an executable. Also, has anyone had any issues with drivers and installing/creating exe. while running windows 7.
Hi!
I remember running the compiler at home on Windows 7 64bit using 32bit LabVIEW and I did not have any problems. The exe built just fine.
You have to have your code in a project in order to build an executable. Once you have created a project and included your source files, right click on Build Specifications and choose "New->Application (exe)". Go through each section of the Application (exe) dialog and input the appropriate settings you need.
You can include the runtime and device drivers by creating an Installer. Once you have your executable built, you can right click on Build Specifications and choose "New->Installer". Same thing, go through each part of the dialog box selecting appropriate settings. Under "Additional Installers" you can include NI drivers and the LabVIEW runtime. If you have never done this before, it may ask for you to insert LabVIEW/NI Driver discs so it can include what it needs to for your installer.
My users tend to groan whenever I do this, however, as it creates installers >400MB (which seems silly to them for what appears to be a simple program). Ah well.
Similar Messages
-
How to drag and drop a picture at run time in a window displaying pictures?
How to drag and drop a picture at run time in a window displaying pictures on the front panel. The main thing is that the window is displaying frames continuously?
vivman,
So from your description you have a picture control where you've already created an image and you'd like to drag an image around inside of the picture control. This can be done although it is going to take a significant amount of research and programming on your behalf. You can use the drag event in the event handler to find out when the drag occurs and where the cursor is. Then edit the picture as you move your mouse so that when you drop the picture gets updated.
The even structure is a somewhat advanced topic and the drag and drop feature is one of the more advanced uses of this structure. I would search the example finder (help>>find examples) for "event" and "drag" to see how to use these events. Also you'll want to look at the examples for the picture control.
Sounds like a cool project! Check out Darren's Weekly Nugget 10/30/2006 this topic (http://forums.ni.com/ni/board/message?board.id=170&message.id=212920). It might prove useful.
Good luck!
Chris C
Chris Cilino
National Instruments
LabVIEW Product Marketing Manager
Certified LabVIEW Architect -
Pick a subject area at run time and create an analysis on this subject area.
We have a requirement wherein we need to create analyses at run time. We want to give the flexibility to users to pick up a subject area on which they wish to create an analysis. This will be done through a dashboard prompt. Once the user picks up a subject area from the prompt, we will create the analyses at run time based on the selected subject area.
The problem that we are facing at this point is how to create a dynamic 'FROM' clause for the analysis. As an example, consider the following scenario:
1. There is a dashboard prompt called 'Select a DataStore'. The possible values are all the subject areas in the RPD. For simplicity, lets assume there are two values DS1 and DS2.
2. If the user selects DS1, the analysis sql should be:
select <colgroup1>, <colgroup2>
from DS1;
However, if the user selects DS2, the analysis sql should be:
select <colgroup1>, <colgroup2>
from DS2;
Hence the requirement for a dynamic FROM clause.
I tried using a presentation variable in the from clause but I get the sql syntax error.
Is there a way of implementing this requirement?To work around the license issue, see the Microsoft Knowledge Base article LICREQST.EXE Requesting a License Key from an Object and download licreqst.exe. Run licreqst.exe and find "CWUIControlsLib.CWSlide.1" under the registered controls section and click on it. The license string at the top can be passed to Licenses.Add and then you should be able to dynamically create the Measurement Studio controls. For example:
Private Sub Form_Load()
Licenses.Add "CWUIControlsLib.CWSlide.1", "[Add license string from licreqst here]"
Dim slide
Set slide = Controls.Add("CWUIControlsLib.CWSlide.1", "slide")
With slide
.Top = 120
.Width = 1215
.Visible = True
End With
End Sub
Creating controls like this would have an impact on performance since all calls are late bound. If you are using the Measurement Studio controls in a UserControl, though, you should not need to do this since the license would get compiled into the binary that contains the control. I don't think that you would have any problems creating your control since it would not be licensed.
- Elton -
Hi
I woul d like to know how sould I have to do to include run time engine ni daq driver741 and my application in the same executable file truth application builder?
thank you
Olivierolivier66 wrote:
HI and thank you again
I
just want to know if its possible to create the installer for win98
because aparrently if you clic on the tab advanced in the installer
properties you can only choose to build it for windows 2000 at least.
I guess it is not possible so Is there anonther way to do that?
thanks in advance
Olivier
LabVIEW 8 is only supported for Win2000 and XP. If you need Win98 support you need to stay with LabVIEW 7.x.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Our current forms use the MESSAGE built-in to display
error messages. When people are doing data entry and a message
comes up, they might hit the enter key as part of their
processing and never see the message. What we want is
an alert-type screen that has more than one button so that
we can place the focus on something other than OK in order
to make it more difficult for them to miss the error message.
Something like this:
while key pressed != 'OK'
loop
display message
end loop
With this scheme they would have to change the focus from the
non-OK button, ensuring that they have seen the message.
An alert would work just fine for this. In order to make
the integration of this new message processing easier we had hoped
to put the creation of the alert and the loop in a .PLL file so
the only change to the application would be to change MESSAGE to
NEW_MESSAGE in the application's code.
I can't find any documentation on creating alerts at run time.
Is there a way to do that, or some other ideas on how to handle
this situation?
The applications run in a noisy environment, so having the
application make a different sound might not work.
nullYou just need one alert created in each form, rather you can reference one alert from a template and change the alert text runtime.
Look at set_alert_property. -
hi all
i use oracle database 10g and from 6i (winfows 2000pro).
how can i create items at run time (on my canves)?
thax
RafeekRead the following.....
Re: Creating Dynamic Text Item
Greetings....
Sim -
Custom Installer with Inno Setup (reduce size of Run-Time and VISA RT)
Hi,
we are using Inno Setup to install our Application. Up to now i include the full LabView 2009 SP1 Run-Time and the full VISA-RT
(that are 302 MB). I have also made an installer using the internal tools of LV and the setup is only 163 MB. The LV removes
some parts of the RunTime libraries.
We are using only these parts:
p0 MetaUninstaller\
p1 VC2005MSMs\
p10 NI-RPC\
p11 XercesDelayLoad27\
p12 NI-ORB\
p13 NI-DIM\
p14 NI_TraceEngine\
p15 NI-PAL\
p16 NI_Logos_XT\
p17 TDMS\
p18 MDFSupport\
p19 MKL_900\
p2 VC2008MSMs\
p20 NI_Logos\
p21 RT\
p3 NI_Certificates\
p4 NI-VISA_Runtime\
p5 LabVIEW_RT_NBFIFO_90\
p6 Service_Locator\
p7 LabVIEW_Web_Server_RTE_90\
p8 LabVIEW_WebServices_RTE_90\
p9 mDNS_Responder\
1. Is it allows to do that also using Inno Setup? I mean, am I allowd to do that? The license from
NI etc. are all included. I want to save disc space...
2. Is that wise? If not, why?
ThanksHello sjunge,
basically there should be no problem installing the software with Inno Setup as long as you do not violate the License Agreements.
But keep in mind that there could be dependencies between the installers you install and those you don't and you may run into trouble with the software later on
Kind regards
Carsten -
How to measure query run time and mnitor performance
Hai All,
A simple question. How to measure query run time and mnitor performance? I want to see the parameters like how long it took to execute, how much space it took etc.
Thank you.hi,
some ways
1. use transaction st03, expert mode.
2. tables rsddstat*
3. install bw statistics (technical content)
there are docs on this, also bi knowledge performance center.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
BW Performance Tuning Knowledge Center - SAP Developer Network (SDN)
Business Intelligence Performance Tuning [original link is broken]
also take a look
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c8c4d794-0501-0010-a693-918a17e663cc
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/31b6b490-0201-0010-e4b6-a1523327025e
Prakash's weblog on this topic..
/people/prakash.darji/blog/2006/01/27/query-creation-checklist
/people/prakash.darji/blog/2006/01/26/query-optimization
oss note
557870 'FAQ BW Query Performance'
and 567746 'Composite note BW 3.x performance Query and Web'. -
Help to create item at run time
Hi all
Please help to create item at run time
I want to create item at run time
is it Possible ???
thank youHi,
As mentioned several times above, you cannot use Forms for displaying dynamic columns. So, you have two options (AFAIK).
1. Create maximum number of items and set their visibility off based on the user input.
2. Create a PJC (may be by extending JTable), and display dynamic columns (i feel it is a bit complicated and not straight forward as it sounds). Here is a [simple howto|http://sheikyerbouti.developpez.com/forms-pjc-bean/first-bean/first_bean.pdf] to build the PJC.
-Arun -
Attempting to install Forms 6.0.5.0.2 (or 6.0.8.8.0) run-time and 8.1.6 client on same NT box.
1) I attempted to install 8.1.6 client first in c:\oracle\ora81, then Forms 6 in c:\oracle\forms6. The installer (3.3.1.2.4) errors, saying forms 6 does not support a multi-home installation.
2) Attmpted to install Forms 6 first in c:\orant. Then installed 8.1.6 client in c:\oracle\ora81. After beginning installation (application user) the following Dependency message displays and the installation is canceled: "Installation cannot continue for the follwoing reason(s). [Oracle ODBC Driver is a single Oracle home product. It is already installed in location c:\oracle\ora81. Oracle provider for OLE DB is a single oracle home product. It is already installed in location c:\oracle\ora81. Oracle objects for OLE is a .... Pracle Provider for OLE is a single home ... You can either de-install these products or install the products in the same location as the single home products."
Click ok and the installation cancels.
How do I install these two products on the same box?We had to upgrade from 7.3.2 to 7.3.4 when we moved over to Forms
6.0.5.0.2 and it's working fine.
We are using Net 8 as well.
Finn Ellebaek Nielsen (ChangeGroup ApS) (guest) wrote:
: I have problems with Forms 6.0.5.0.2 running against an Oracle
: 7.3.4 with Net8. When trying to insert or update records I get
: an FRM-40508: ORACLE error: unable to INSERT record/FRM-40509:
: ORACLE error: unable to UPDATE record. The Help | Display Error
: menu item shows statement = "S3AVWU3wo|$6o|" (garbled
: message), error = "ORA-12663: Services required by client not
: available on the server" (sometimes it's "ORA-01403: no data
: found").
: It works fine against 8.0.5. As far as I'm aware Forms 6 is
: certified against 7.3.4?
: Any clues?
: Thanks for your help.
: Finn
null -
My compurter doesn't recognize my iPod Nano 2g A1199 i tried reseting it, disk mode, but nothing. I reinstaled iTunes like 5 times and still Windows doesn't recognize it.
Hello Fercho1998,
After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning device connectivity issues:
iPod not appearing in iTunes
http://support.apple.com/kb/TS3716
Thank you for contributing to Apple Support Communities.
Cheers,
BobbyD -
How To Include Current Time and Date in Form
Does anyone know how I can include the time and date in the
body of a form mailer? Our system allows the receiver of each
submitted form to copy the body of the form entries and paste them
into either Excel or FileMaker for database building. They would
like to have the time and date also appear somewhere in the
submitted body so they will not have to do a seperate copy/paste of
the time and date seen in the header... I followed the javascript I
found in the Adobe website and included it within the form, but
when I ran a test nothing showed! Here is the form...
Click
Here to see the Form
Thanks for your help! -DCan you not use when the email's timestamp?
Also, in z7's script, beware the common mistakes, if you try
to retype it - .getDate() gives the day of the month (1-31), but
.getDay() gets the day of the week (1-7). To make it more
confusing, .getMonth() gets the month (0-11), so you have to add
one to make it human-readable. The script posted is correct, but I
went round and round with my PC when I tried to do that the first
time! -
How to know last run time and who ran the query
Hi
I am doing the analysis for all the queries , their last run time and who ran the query
Since there are almost 6000 queries , is there any way to find out last run time and who ran the query
in one step or through any transaction else It would huge effort taking task to check the data in BW statistics
table for each query
Regards,
VivekHi,
Statistics should be switched ON for all the queries first. You can check this in RSDDSTAT.
Statistics data is stored in BW for a specific period only. This setting can be maintained in table RSADMIN (Field : TCT_KEEP_OLAP_DM_DATA_N_DAYS). If the value for the field is 30, then 30 days old statistics will be available at any point.
Not all the queries will be ran daily. Some are ran daily, monthly and yearly depending upon User requirement.
1. You can check in RSDDSTAT_OLAP for the details you needed.
2. You can install the BI Technical Content and run the respective query for the details you needed.
Hope this helps.
Regards,
Sunil -
DSC 8.6.1 run-time and LV2009 executable are they working together ?
Hi All,
In my application I first deploy shared variables and when they all have depleoyed the main application starts. My deployment procedure is something like that:
0. Select first library
1. check if library is already running on SVE
2. if not deploy it
3. check next library
Most of my variables in libraries are connected to OPC variables. OPC server is located in other computer and there is a LAN network between computers. I have noticed that when I execute my application exe only few of libraries are deployed to SVE. Eg. If I remove all processes(libraries) from SVE and start my application only 7/28 libraries are deployded. If I deploy those libraries manually from LV2009 project everything is okay.
On my computer is installed LV2009 development and DSC 8.6.1 run-time. Our target is remove LV2009 immediately after we have edited and tested all our variables and libraries. Is there a potential risk that application which is made on LV2009 don't work with DSC run-time 8.6.1? Have anyone else noticed problem when deploying variables from application exe?
BR, JimMeg K. B. ,
It sounds like you are experiencing Time Stamp Counter (TSC) Drift as mentioned in the KB's for the AMD Multi-Core processors. However, according to this wikipedia article on TSC's, the Intel Core 2 Duo's "time-stamp counter increments at a constant rate.......Constant TSC behavior ensures that the duration of each clock tick is
uniform and supports the use of the TSC as a wall clock timer even if
the processor core changes frequency." This seems to suggest that it would be not be the case that you are seeing the issue mentioned in the KBs.
Can you provide the exact modle of the Core 2 Duo processor that you are using?
Ben Sisney
FlexRIO V&V Engineer
National Instruments -
ImaqDisplayImage hangs when running .exe and the window can't be moved when in Debug mode
I am running a multi threaded application with multiple windows, two of which display images but only one is open all the time. The window displaying the image (using imaqDisplayImage(myImage, 1, TRUE)) can not be moved or resized, the image continually updates though, when I run the app in debug mode.
If I run an executable, either debug or release the following happens:
Everything looks good right when the app starts, all windows are displayed and the live image window is continually updated.
If I click on any window in my program or not in my program, the imaqDisplayImage window freezes and will not udate its image, it will allow me to move it though, and it has (Not Responding) in the title bar. The main window of my program does not freeze and behaves normally.
I know that an acquisition is still taking place because I have a button on my main window that copies the last grabbed image that should be displayed in the imaqDisplayImage window and displayes it on a canvas (using imaqImageToArray etc . . .) and this image changes everytime I click the button.
Anyone have any tips with dealing with imaqDisplayImage windows?? Thanks!At this point we want to pinpoint exactly where in your code this behavior is originating from. Try running the included examples which can be found here:
C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\IMAQ\Display
C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\Vision\1.GettingStarted
and see if you experience the same behavior. If we still experience this, then we know that it is a setting within the functions that we need to change. If not, we know that it is somewhere else in the code of the bigger project which is the culprit.
Daniel G.
Applications Engineer
National Instruments
Maybe you are looking for
-
While doing inter co. transfer-error tran type not possible(no affiliateed)
Hi sap Gurus, When i am doing inter company transaction i am getting an error releated to transaction type. the error is transaction type 7777not possible ( no affiliated co. specified) this is the error i am getting here 7777 is my co.code please g
-
After a backup all music files are invisible and iTunes don't see anything
Hi, I got a very strange problem and I'm really lost. I made a backup of my portable iTunes libray (using a 160 GB Maxtor one touch 4 mini usb) on another backup disk (750 GB Maxtor onetouch III firwire 800). I have my library on a external disk to s
-
A window pops up that says a new version of Firefox is available (version 32.x). I click on install, and nothing happens. The wheel keeps spinning so I close the window. When I click on About Firefox and then click on Updates available at https://www
-
Install of Color Finesse for CS5 Is A Mystery
Hello: I just installed CS5 Master Collection, and I have a left-over serial number for Color Finesse. After posting questions to Adobe support, searching the contents of my "Contents" disk, and just about everything else, I still don't see the proc
-
Error message: Installation encountered problems, please try redownloading.
Hi, just tried to update the Flash Player to the newest version. However, the installers provided at this site (http://get.adobe.com/de/flashplayer) seem to work improperly. On my 64-bit Win 7 Pro system all works fine, but on my laptop (32-bit Win 7