How are VIs stored in 2010 .exe files?
Using the 8.x file structure, the VI's were all packaged such that you could access them with <Path>\<Application.exe>\<VIName.vi>.
I just converted a project using 2010 and am trying to use the new file layout. However, it seems that the VIs are in new locations. Is there documentation for how this new file stucture is organized?
Solved!
Go to Solution.
Hello,
Have you tried any steps to figure this out on your own other than reading the documentation? As was mentioned previously, if you have upgraded from LabVIEW 8.6 or previous, the file structure has since changed. Without having to resort to decoding some of the documentation on this, the best method is to simply try things out. This function is a very useful tool: http://zone.ni.com/reference/en-XX/help/371361E-01/glang/current_vis_path/ . If you need to test things, create your main VI, a test subVI at your desired file path location, and build your executable. When you do this, display the output of the Current VIs Path (resulting from calling your subVI) on your main VIs front panel. Often it is more efficient to just try things out and the answer will become obvious.
-Zach
Certified LabVIEW Developer
Similar Messages
-
How can I script a Flash .exe file to always stay on top of all other windows?
Hi All,
I'm new to action script, and I just need this one script
> How can I script a Flash .exe file to always stay on top of
all other windows?
Basically what i want to do is have a flash-created
step-by-step instructional movie, but for the movie to remain on
top of all windows so the instructee is able to follow the
instructions on-screen...
It would be preferable to not have to buy another product
just to do this... as I said, this is the only scripting I need.
Thanks in advance
Cheers
Rickif you create your exe with mProjector you can use one of its
new AS
commands to do this.
setZOrder
http://www.screentime.com/software/mprojector/docs/mWin_setZOrder.htm
all APIS
http://www.screentime.com/software/mprojector/docs/index.html
Demo
http://www.screentime.com/software/mprojector/demo.html
mProjector installs new classes and help into Flash, to
enable them you
must build your app with mProjector (its input is your swf)
John Pattenden
Screentime Media - Flash Tools since 1997
http://www.screentime.com -
How could a button open a EXE file in any position?
How could a button open a EXE file in free position?
I am very confused, I am searching the issue for two days, I just could use fscommand function open a EXE file in a fixed opsition, where must be in the same root with the .swf(change into .exe form at the same time). but how I open the target in a position where I want? Is that possible in Flash?
help!, thanks a lot~well you can publish the the other FLA, which would give you
an HTML file, upload that and the SWF then link to the SWFs' HTML
page. -
How to use Client_Host without the exe file path
Hi,
i'm using oracle forms 10g,
in my application the users can upload any type of files (doc,xls,pdf,avi ,.. etc) and any user can download and open any of these files.
i implement this using client_host and including the path of winword.exe or AcroRd32.exe ,...
in many cases i don't know where these exe files are installed in the client side or whether it is installed or not.
i tried this command : client_host('calc.exe') it works and show me the calc without including the path of this exe file.
what i want to do is to just call the target file(doc,pdf,avi,..) in the client_host without having to precede this with the exe and path like the calc.exe example.
if you go to start->run and write for example c:\ahmed.mpeg , windows automatically call the real player or any other video software installed and open the movie.
can we implement this in oracle forms? and how?Hi, you attach a procedure to download a file in the local runs from Windows and to close it updates in the database and then delete the local directory
PROCEDURE OPEN_FILE (V_ID_DOC IN VARCHAR2)
IS
-- Open a stored document --
LC$Cmd Varchar2(1280) ;
LC$Nom Varchar2(1000) ;
LC$Fic Varchar2(1280);
LC$Path Varchar2(1280);
LC$Sep Varchar2(1) ;
LN$But Pls_Integer ;
LB$Ok Boolean ;
-- Current Process ID --
ret WEBUTIL_HOST.PROCESS_ID ;
V_FICHERO VARCHAR2(500);
COMILLA VARCHAR2(4) := '''';
BOTON NUMBER;
MODO VARCHAR2(50);
URL VARCHAR2(500);
Begin
V_FICHERO := V_ID_DOC;
-- Ruta y nombre del fichero temporal --
LC$Sep := '\';--WEBUTIL_FILE.Get_File_Separator ; -- 10g
LC$Nom := V_FICHERO;--Substr( V_FICHERO, instr( V_FICHERO, LC$Sep, -1 ) + 1, 100 ) ;
--LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
LC$Path := 'C:';
LC$Fic := LC$Path || LC$Sep || LC$Nom ;
-- Descargamos el fichero --
If Not webutil_file_transfer.DB_To_Client
LC$Fic,
'TABLE_NAME',
'ITEM_NAME',
'WHERE'
) Then
Raise Form_trigger_Failure ;
End if ;
-- Abrimos el fichero temporal en local --
LC$Cmd := 'cmd /c start "" /MAX /WAIT "' || LC$Fic || '"' ;
Ret := WEBUTIL_HOST.blocking( LC$Cmd ) ;
LN$But := WEBUTIL_HOST.Get_return_Code( Ret ) ;
If LN$But <> 0 Then
Set_Alert_Property( 'ALER_STOP_1', TITLE, 'Host() command' ) ;
Set_Alert_Property( 'ALER_STOP_1', ALERT_MESSAGE_TEXT, 'Host() command error : ' || To_Char( LN$But ) ) ;
LN$But := Show_Alert( 'ALER_STOP_1' ) ;
LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
Raise Form_Trigger_Failure ;
End if ;
-- Actualizamos el fichero en la BBDD --
If Not webutil_file_transfer.Client_To_DB
LC$Fic,
'TABLE_NAME',
'ITEM_NAME',
'WHERE'
) Then
NULL;
Else
Commit ;
End if ;
-- Eliminamos el fichero temporal local --
LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
Exception
When Form_Trigger_Failure Then
Raise ;
End ; -
How to change default directory of exe file
I have created a VI that reads a template and writes on the template and saves it to a new file. When i created to an exe file, I would like for this exe to be able to be used on any computer. As such, the directory where i will open my template will change on different computers. Hence I am having this problem of how to change my VI such that it will choose this template in a new computer and set it as its default directory.
I understand that in my own computer, I can simple "set current values as default" so that my VI will always open this file from a particular path. But what i need help with is when i put it on another computer where the particular path would definitely be different. I tried using the config file.vi but I could not understand how it is used.
Please assist me in this. ThanksHi Aaron,
Micorsoft suggest to use folders like UserAppData to store files for your own programs.
Put your template in there and use GetSystemDir function to get the UserAppData path...
Or you put the template in the program folder or one of it's subfolder (not recommended by MS) and use a relative path to load it...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
I have a late 2013 retina display MacBook Pro and want to use Boot Camp to run one piece of software that is run exclusively on Windows operating systems. I have a Windows 8.1 download from MS that is an .exe file, and I need to convert it (I believe) to an ISO image on a flash drive. How do I convert the .exe file to an ISO image?
If you want to use Mac OS X at the same time as Windows, run one of these:
VMWare Fusion
Parallels
Virtual Box (Open Source)
If you are willing to alternate Boot Windows -OR- Mac OS X, all you need is Bootcamp Assistant (and your Windows installer, of course.)
>>NB In any case, do not allow Windows to directly modify the Partition Map or change the size of any Partition. That will wipe out the Partition Map, and Mac OS X. Windows is not a pleasant guest. -
"You are about to download an .EXE file" message when downloading
is there any way to disable this stupid message? Who cares if I am downloading an EXE file for Windows. I don't remember this message in older versions of Safari and I hate it in this one.
Hi
Safari 3rd party SAFT has many features, including "stop download warnings". Once installed, most features are accessed via Safari's Preference file.
You might also try deselecting "open safe files etc." via Safari Preferences>General, however, not sure if that will stop the warnings. -
How to convert labview program to .exe file?
Is it possible to convert VI file into .exe file? How to go about doing it?
hi
you simply need to use the application builder - included in LabVIEW professional version or you buy this tool separately.
Remark: On target machine the Run time engine (for free) has to be installed.
regards
wha -
I am a PC user - bought my 1st Mac today. Was trying to download a VLC player for my movies but i can't open files when i download them. I tried downloading winc=ace - but it came in an exe file as well and it just opens as a word file of computer language. I tried loking on the net - not much help - something about mounting a file - but there is no file mounter. Please help getting very frustrated. I guess i know how people who have never used a computer before feel like....
Thanks for your helpYou need MacUnace from the Winace site
VLC for MAc is here http://www.videolan.org/vlc/download-macosx.html -
How can Java program convert to .exe file which can run on window system?
Hi,
I am a new programmer, now I wrote a program on the Eclipse, and now I want to convert to .exe file and make the program can be run on other window office system PC.
I had downed EXE4J software to make the program to .exe. BUT the exe file can not be run on other PC with the error message that warning the PC have not set up JVE. IS it necessary to set up JVE?
OR give me your experience on how to do it?
Thanks!>
I am a new programmer, now I wrote a program on the Eclipse, and now I want to convert to .exe file and make the program can be run on other window office system PC.>If you only code for Windows, why not use dotNet or C# or whatever system MS is pushing at this instant?
If you wish to code for computers, Java is good, but it needs a JRE.
The easiest way to get a Java application up and running on a client PC is to launch it via. webstart, and to use deployJava.js to ensure the minimum Java is on the client PC, ready to use webstart.
Used this way, you link to a web page where the user clicks a link that downloads and installs the application (and adds extras like splash screens, desktop integration, registration of interest in file types, automatic update..).
As an aside. The best way to ensure answers is to indicate your interest in solutions, by adding a lot of Duke stars to a thread. -
Hi I have a doubt on how the indexes are actually stored...
Do they have distinct values for columns in a leaf and have all rowids that have the value???Hi,
Indexes are objects so they are stored in database by allocating index segment.
Many links are there:
http://www.scribd.com/doc/2713903/Oracle-index
http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/schema.htm#i5671
How Indexes Are Stored
When you create an index, Oracle Database automatically allocates an index segment to hold the index's data in a tablespace. You can control allocation of space for an index's segment and use of this reserved space in the following ways:
Set the storage parameters for the index segment to control the allocation of the index segment's extents.
Set the PCTFREE parameter for the index segment to control the free space in the data blocks that constitute the index segment's extents.
The tablespace of an index's segment is either the owner's default tablespace or a tablespace specifically named in the CREATE INDEX statement. You do not have to place an index in the same tablespace as its associated table. Furthermore, you can improve performance of queries that use an index by storing an index and its table in different tablespaces located on different disk drives, because Oracle Database can retrieve both index and table data in parallel.
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
How do I get a helper.exe file that works so I can uninstall Firefox?
I am trying to uninstall Firefox. The Uninstall function in the Control Panel does nothing. The helper.exe file in the Firefox Uninstall folder does nothing, even when I "run as administrator".
System symbol is the command prompt. About elevation, you should right-click the command prompt link (on Windows 8 type command on Start Menu and right-click Command Prompt tile) and choose "Run with administrator privileges" or "Run as administrator" or similar. Then type chkdsk c: /f /r and you'll be able to check your disk.
-
How are certs encoded in xml backup files?
I need to dynamically build a GP in a script due to not knowing ahead of time the certs that need to be included. I do not see a programmatic way to do this but am going to try by editing the XML in a backup of a sample policy. How are the certificates
encoded in these backups? Below is the one I added through the UI as a test.
<q1:Data>040000000100000010000000477892DB8AEC1B5368F01D009C34775E0F00000001000000140000008DF2C761AE6D13B71643F207BE9B82362DCC14921400000001000000140000004974BB0C5EBA7AFE0254EF7BA0C695C6098070961900000001000000100000000369EC222BD877C01803F7E32EEAF6990300000001000000140000008C941B34EA1EA6ED9AE2BC54CF687252B4C9B5615C0000000100000004000000000800002000000001000000740300003082037030820258A003020102020105300D06092A864886F70D0101050500305B310B300906035504061302555331183016060355040A130F552E532E20476F7665726E6D656E74310C300A060355040B1303446F44310C300A060355040B1303504B49311630140603550403130D446F4420526F6F742043412032301E170D3034313231333135303031305A170D3239313230353135303031305A305B310B300906035504061302555331183016060355040A130F552E532E20476F7665726E6D656E74310C300A060355040B1303446F44310C300A060355040B1303504B49311630140603550403130D446F4420526F6F74204341203230820122300D06092A864886F70D01010105000382010F003082010A0282010100C02CC1F68D3BACFF3F3CD671BEB8742207EC704115FCAB40E307AAC1C3D89FFEDA4C3ABF3FC8D8287B4B3601C0AC4525C3D20E0A8F851864103D1A13702A6F8ED7DC8D93B3410F3821CDADABC23D2A05D35711370DCD8C51F993E3CC4649218E14B4CDCB143E38CD7231EEAB12F265EA342E565DFFEE6375CB6DBA9134FC9EF3F42D1CBE50C442DF5988FF6AB3FAA86C3DCB5671710596BB9F80E58045596741B0EBC3AD60A4807506179C0EF443E0990E1BFB7FF5B3CCB28182B1FD32C1B8BE41A464B5603A5A51308CCEDE412C19475C491064B974A98741AF7D6EBAC1B8A1BF65313A0467F9B5BB8E928A0063B8B1E68C385F83FF50D53BA25D6BB210CC630203010001A33F303D301D0603551D0E041604144974BB0C5EBA7AFE0254EF7BA0C695C609807096300B0603551D0F040403020186300F0603551D130101FF040530030101FF300D06092A864886F70D0101050500038201010098918D3F89C8BBF5C06973293B35ACBAB308763D700992E9844421017D14761BEE516C1D8D15372D7B3169F49A44B8AF46CC34FA23CB032719D28321752BE7E01B9926DC844095E8A8D2CCF6585C66EF3F4A9710821DBA0AA2DD5B062B9DA7644EEB2E0135A4B43F13AD55E4D573A8699B11F198F2311E6F40D4F8789F8E91A06F70049066AA062BCEE17A92B57DE1E0D196E7A13A2DCCB19D1F0544ED8799D34D1A7039C1040CE57ED9F1AFD7200EF1227A25A47399CC3FA4072796A8A295ED82B916D39E0B87C2C1F288F562DF68DFC7BC6951EDB15CDC5454290F09399AAC03C1DB0C4DAE6F0A7A1649F1BF91D23894D3F6952CB76CC942B68DCA908D85D9</q1:Data>Hi Adam,
Based on your description, for this involves scripting, in order to get better help, we can ask for suggestions in the following scripting forum.
The Official Scripting Guys Forum
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
Best regards,
Frank Shen -
Confirmation Please - How are templates stored in XMLP?
Hi All,
I have a very quick question about how different template formats are stored when they are uploaded into Template Manager.
I know RTF, XLS etc are all converted in XSL:FO when they are uploaded and they are stored in this way within template manager.
However I was under the impression the PDF templates are not converted in this way at all, and are infact always stored as PDF files.
Does anyone know if this is correct, or have I just completely fabricated this!! ;)
I am only asking this as I am building a training course for XMLP and want to make sure I have this fact correct before I quote it.
I look forward to hearing from you soon.
Many Thanks
CjDo you mean complete themes or Personas (lightweight themes) that only give the toolbar a background image?
*https://addons.mozilla.org/firefox/complete-themes/
*https://addons.mozilla.org/firefox/themes/
Installed complete themes are stored just like other extensions in the extensions folder in the Firefox profile folder.
If this is about Personas then only the images of the currently installed Persona are stored in the Firefox profile folder.<br />
The background images of the other installed Personas are downloaded once you select them.
The list of installed Personas is stored as one of the user set prefs in the prefs.js file in the Firefox Profile Folder in the lightweightThemes.usedThemes pref in JSON object format ({"id":"#","name":"xxx",...}).
* http://kb.mozillazine.org/Profile_folder_-_Firefox
The first entry of that pref is the currently used Persona.
The images of the currently selected Persona are stored in the lightweighttheme-header and lightweighttheme-footer files in the Firefox profile folder.<br />
So you would have to select all Personas one by one and make a backup copy of those two files.
* http://kb.mozillazine.org/Themes#Lightweight_theme -
How are VISA sessions managed by executables?
I have noticed that VISA sessions opened in the development environment (Labview version 6.0.2) do not show up in the VISA I/O reference control of compiled executables and visa versa. I assume that each EXE has its own memory space for open VISA sessions. Is it possible to get separate EXE's and the development environment to use the same VISA memory space so that all applications and uncompiled VI's show the same open VISA sessions?
This answer, while correct, doesn't address the issue of some VISA classes and how Labview addresses open VISA sessions. It is quite correct concerning the listing of available resources, that is not the nature of my problem. The heart of the matter is the Open VISA sessions and how they are returned by the "Open VISA sessions.vi" vi in the vi.lib utilities. Also, the VISA reference control does, as you say, display currently available resources (for some classes), but it also displays currently open sessions below a dividing line for those resources not usually displayed.
The best example of this is for the TCP/IP class. Resources of this class are not displayed unless a session for them has been opened.
I have written and compiled an executable tha
t opens a VISA session for a TCP/IP resource. After opening it, the session is displayed in the executable's VISA resource control below a dividing line that separates it from the available serial and GPIB resources. If, however, I have an uncompiled VI with a VISA control open in the development environment at the same time, the open session is not displayed in that VI's resource control. If I run the compiled executable as an uncompiled VI in the development environment along with other VI's containing VISA resource controls, the open TCP/IP session is displayed in all VI's. The same holds true for the "Open VI sessions.vi". Sessions opened by compiled VI's are not returned by this subVI when it is run from outside the executable.
As I stated before, it appears the executable creates its own separate memory space for listing open VISA sessions.
I would like to create a small executable that logs in to TCP/IP resources and makes those sessions available to other VI's that ar
e either uncompiled and running in the devel environment, or are running as separate executables.
Thanks for your comments
Steve
Maybe you are looking for
-
Photoshop CC unresponsive on start up
All of a sudden Photoshop is taking a long time (5-10 minutes at least) to start up for me. The main window, dialogs, and file will be displayed on the desktop, but clicking on any part of the UI has no effect and keystrokes have no effect. Everythin
-
I am running a Crystal report against a BW query, via the Business Objects Enterprise XI scheduler, which is returning a successful completion message even if the query times out on the BW server. Any thoughts as to why it should return a "successful
-
Hi All, How SAP reads a xml file ? Any function module , or code that can read xml file . Please let me know . Thanks
-
Recognize Font Substitution has taken place
Is there a way using the Illustrator API that I can tell if substituted fonts exist in a document after it is loaded.
-
Hi I've just started using SQL Report Builder to try and design some reports for work but have come across an issue, basically the report focuses on 2014 by displaying sales items by debtor, qty and value, however when another year is added and the r