Running executable file in target machine
I have labview 7.1 professional version. I have created a executable file for target machine. When the executable file run at target machine, it needs all drivers and run time engine.
I have installed drivers in target machine but not run time engine.
Do I have to create a installer file which includes run time engine? If I only have *.exe file instead of installer file, how can I install run time engine?
Do I have to put all subvi in the same directory as the one when the program was developed?
Thanks.
I believe that you can install the runtime engine with your original professional version CD. Just choose the custom install and uncheck everything except the runtime engine. If you use the application builder, it automatically puts subvi's where they belong. I've never tried it manually, but I suspect that they need to be in the same directory structure as the one where it was developed.
- tbob
Inventor of the WORM Global
Similar Messages
-
What software do I need to run executables files
Hi
I have application where I acquire data from sensors using stain gauge and thermocouple modules with 6225M DAQ card. Also I am writing some data that i get from a joy stick to a serial port in the same application. In order to run executable file of this application what software do I need? I installed labview runtime engine in the target machine but it didn't run my program. Do I need to install any drivers for the DAQ card? i am using labview 8.6.Of course you need to install the DAQmx driver. If you have LabVIEW 8.x, when you create the installer, you have the option to install different versions of the driver ranging from a full install to a minimal one. If you have tasks saved in MAX, you would want to install MAX and export your current config. Then select to have the installer import the config on the pc with the exe.
-
Am wanting to run executable files where in system is the administrator sign in?
If you are talking about .exe files, macs can't run those. Look for a .dmg version.
-
Can't run executable file by LV7.1
Dear all,
I am surprised I can't build and run executable file by LV7.1.
I used to write some vi with LV7.1, and built the executable file according to these vi. It was no problem to build and run this executable file that time. Now I can open these vi well with LV7.1, bu I can't run this executable file well, it will prompt a error, please refer to the attachment. I try to build a executable file according to a simple vi, and then I can't run this exe file well any more.
Can you help me to solve this problem? Thank you in advance.
Evan
Solved!
Go to Solution.
Attachments:
Error prompt.jpg 2305 KB@Christian: That's not correct.
One reason for this to happen is if LV 7.1.1 is installed and then you install an application including run-time engine built in 7.1. This corrupts the run-time engine.
See here: http://digital.ni.com/public.nsf/allkb/680E61A4D02158A186256F7A0073C228
Daniel -
Running executable files - which is the best way?
Is it best to operate three of the same re-entrant vi files from three independently running executable files or is it best to run all three of the same vi files from a single instance of labview?
I have a re-entrant vi that I created with NI Developer Suite 2006, V8.2. I saved that vi as three different named vi files for the purpose of creating an executable file from each of them. These executable files control three identical devices via three serial ports from a USB to serial port hub. The executable files are run simultaneously on one laptop and they do operate for the most part as expected. There is a concern about 1 possible IRQ conflict (best guess is that two of the three com ports might be using the same IRQ; com5, com6 and com7 are being used) because one of the three com ports didn't appear to be passing commands as expected like the other two ports did when I first started running the vi. I'm using a separate port monitoring program to view the transfer of commands to and from the device conected to the serial port to show me the command code being generated to the device and received from the device to validate the proper operation of the executable vi and to time stamp the transfers.
/BCU002
Hardware Engineer•Design Reliability/Performance and Validation Group•Wavecom, Inc. - Research Triangle Park, N.C.•http://www.wavecom.comMegan,
Thanks for the reply! First I want to answer your questions. I do have three independent executables operating simultaneously and each one has been assigned it's own Com port. The text file is intended to time stamp the ADC reading every two hours. Each UUT has it's own file that documents the ADC value independently. I do this to validate the operability of the UUT during the test and doing so also shows me when the UUT fails to operate. However this problem that I'm havinig with the VI has been providing me with misleading results about the durability of the UUT and I can't figure out why it happens after 12 hours.
The UUT is working okay. I checked Friday it and reset the program and the power to it and it's been running ever since through the weekend. However the one problem that remains consistent is that after 12 hours the readings for the ADC, which is what I use to verify that the unit is transmitting RF into a dummy load while in factory test mode, just start showing up as 0 when they should be in the high 100's. One of the UUTs has an RF power meter connected to it's RF antenna and it's been working as expected when I start the test I have a software engineer running the exact same test on the same type of UUT using an entirely different software tool and it's not having any of these symtoms after running for days on end, uninterrupted. Unfortunately I can't use that software tool for my work because I can't control it with Labview...yet.
I'd be happy to email you a copy of the VI that I created directly if you think that you can look over it to see if there are any design problems that I need to repair.
I've attached a compressed file containing a bitmap of the control panels that I use during my test and I've included two NI spy files for you to see what's happening while my VIs are running and the 3 text files that recorded all of the ADC readings from the UUT over the weekend. I hope you have the time to look at them because can use the help.
/BCU002
Hardware Engineer•Design Reliability/Performance and Validation Group•Wavecom, Inc. - Research Triangle Park, N.C.•http://www.wavecom.com
Attachments:
FTM Control 123.zip 467 KB -
Hi, My MDT server no longer works as expected via PXE boot. After the target machine loads the .wim file an empty command windows is shown. I have returned the custom settings.ini and bootstrap files to default and ensured nothing is being skipped within
the task sequence within both files in hope of viewing the wizard.
However from the same target machine if I map drive to my Deploymentshare/Scripts directory and run LiteTouch file I am asked for domain credentials and the Deployment wizard is displayed asking for task sequence to be selected.
I believe this error is a result of two things:
1) I applied some windows updates to my mdt server (running on 2008 r2).
2) I was implementing changes to
ZTIWindowsUpdate.wsf which i have now returned to default settings.
I have also regenerated boot images and re added to WDS.
Any help much appreciated?
Regards,
PaulHi Paul,
This sounds familiar; I only encounter this behaviour with certain kinds of laptops (Latitude E65x0) but I usually just provide the "wpeutil reboot" command in the empty command window to keep things going. All other hardware is deployed with the
same task sequence and this behaviour does not occur anywhere else...
A bit obvious maybe, but did you check if there is still a "Next Phase" step present and enabled following directly after the "Install Operating System" step? -
How to run executable jar on client machine remotely?
Hi,
I have developed PHP web application that uses Java in the background. The problem that I want to solve is to start Java application (executable jar) on client machine.
Is there any idea how to solve this problem?
Zoranfound it:
in the Group Policy Management Editor go to Computer Configuration > Policies > Administrative Templates > System > Logon > Run these programs at user logon, and add the path (on the local computer) to the script to be run when any user logs
in. Powershell scripts need to be called from a .vbs script like this in order to prevent window popup:
Dim objShell
Dim cmd
Set objShell = CreateObject("Wscript.Shell")
cmd = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -nologo -noProfile -NonInteractive -ExecutionPolicy bypass -File c:\mypowershellscript.ps1"
objShell.Run cmd,0
As for distributing the scripts, that's a work in progress... GPP? -
Error while running executable file through java in WinNT
I would like to run an executable file with Java.
- If I try with notepad or paint, i.e. Windows Applications,
I have no problem.
- I also can run Non-Windows-Own Applications, except one.
I get an error message, if I want to run this program through Java.
I have tried following commands to run an executable file.
Runtime.getRuntime().exec("cmd.exe /c "+command);
Runtime.getRuntime().exec("cmd.exe /c start "+command);
Runtime.getRuntime().exec("cmd.exe /c start /wait "+command);
Runtime.getRuntime().exec("cmd.exe /k start "+command);
command : the path to the executable file
I can run the application directly, if I click the icon on desktop,
but not through Java.
here is the error message I get
screenshot : http://www.aykut.de/error_message.jpg
Text : "Security Check failure"
The Logon System has been tampered with.
The Administrator will need to re-install.
my Idea :
The application is "old".
I think it was written for Win 3.1.
Therefore I don't know if there is any other
possibilty to run a "DOS Exe File" through Java.I have just figured out how it works,
if somebody else here in forum have this problem,
here is the solution :
String path = "F:\...\...\Application.exe";
String envDir = path.substring(0, path.lastIndexOf("\\"));
String[] command = {"cmd.exe", "/c", "start", "/wait", "/D"+envDir, path};
Process process = Runtime.getRuntime().exec(command);
"start /Dpath" => path: environment directory F:\...\...\
"start /wait" => wait until Application.exe terminates
if you use Win95 or Win98 use command.com instead of cmd.exe
Aykut -
How to run executable files via ProcessBuilder existing in another drive??
hi,
I was using Runtime Class to execute other programs through my application but as I'm using j2se 5 I want to make use of ProcessBuilder Class and utilize its some added features. I wanted it to run my .bat file located in some other folder than the current class file it is showing me IOException. I'm running a class file that is in the folder D:\CyberStation\classes\build\ and I want to execute the .bat file located in D:\CyberChat\build\. Any suggestion is appreciated...
regards,
JayThe following code was for the .bat file located in the same directory where I am running my .class file:
ProcessBuilder pb=new ProcessBuilder("cmd.exe","/C","registry.bat");
Process p=pb.start();Now what I wonder is what are the things that I need to change to make it capable of running .bat or any other executable file in some other directory. I tried:
ProcessBuilder pb=new ProcessBuilder("cmd.exe","registry.bat");
File basedir=new File(File_name.class.getResource(File_name.class.getName()+".class").getFile()).getParentFile().getParentFile().getParentFile().getParentFile();
pb.directory(basedir+"CyberChat\build");
Process p=pb.start();but didn't success. -
Hello,
I'm using a PowerBook G4 with OS 10.3.9. I want to run an executable file. However, whenever I attempt this, I'm denied permission to do so. I'm the administrator. I've reset the permissions on the file I'm trying to run, on Terminal itself and wherever else I can think of. What else do I need to do?In addition, if it is a name.exe, see my FAQ*:
http://www.macmaps.com/macosxnative.html#WINTEL
- * Links to my pages may give me compensation. -
Problems In Running Executable File
I Have A LabView Program Where The Sub VI Is a VI Tempelate,(I Already Tried Using Reentrant Function Through A VI,But I Had Some Issues<Which Caused The Program To Not Work Correctly>, Hence The *VIT)
The Problem Is While Creating An Executable File
It Just Does Not Call The SUB VI
I Tried Changing The Path Name To Inside The Application.exe But Still No Luck
I Use Labview 2012Hello,
Everyone, I guessed we meet the same issue.
During debug mode, the main program can load vit file by vit file path, the interface and function both are ok. as soon as I build all files to exe file, the program can work well but it just means function is ok, the interface invoved vit file all couldn't be showed normally.
I copied the original vit file to build package, there isn't any problem in Runing Executable File.
This is just one way to solve this problem. I don't think it's the best way, who can provide a better idea? which way is only to include vit file as other vi during build exe package, and anyone don't easy change original vit file, thanks!
Champion -
Hi All,
We are outsourcing services to our clients. One of our clients whom we manage the whole Active directory / Exchange 2010 infrastructure have a requirement.
We would like to run a .exe file from one server to another server / servers remotely to generate a report. The challenge is that we do not have permissions on some servers to access so we cannot login manually and run the .exe file to generate that report.
(All are in the same domain restricted or non restricted)
The domain Administrator (Client) Has restricted us to login to those servers due to security reasons. And is not providing us permissions or not giving the username and password to login to those servers.
Requirement is :
To run a .exe file with some parameters in it on the restricted servers Via powershell script or task scheduler (As the task will be created by the domain admin in the server in which we have access by entering the domain account).
As we have to run this .exe file on around 60 servers (restricted) so an option should popup asking the name of the agent in which you want to RUN the .exe file or a source input via CSV will also be fine.
Can anyone tell me or can this be possible ? Is there any one who has made such a script.
Can anyone please help.
Gautam.75801Hi Justin,
Thank you for the suggestion.
Below is the script what i Executed.
"C:\Windows\system32\PsExec.exe" @C:\HPS\Serverrlist.txt cmd /C "server name\C$\hps\hps.EXE"
Pause
I tried using PSExec. But in the LAB domain as well as in the production i tried this on servers in which i have full access. When i execute this i get the output as Access is denied. Below is the screenshot of the Error.
I have installed Psexec on both machines.
I have full admin rights to the shared folder or network location which i have scratched in the screenshot. Not sure why i am getting this error.
Also analysed the event logs and found a failure event once i execute this script.
A handle to an object was requested.
Subject:
Security ID:
Domain name\My username
Account Name:
Lg167978
Account Domain:
My Domain
Logon ID:
0x234992
Object:
Object Server:
Security
Object Type:
File
Object Name:
C:\Windows\System32\eventvwr.msc
Handle ID:
0x0
Process Information:
Process ID:
0x17e0
Process Name:
C:\Windows\System32\mmc.exe
Access Request Information:
Transaction ID:
{00000000-0000-0000-0000-000000000000}
Accesses:
READ_CONTROL
SYNCHRONIZE
WriteData (or AddFile)
AppendData (or AddSubdirectory or CreatePipeInstance)
WriteEA
ReadAttributes
WriteAttributes
Access Reasons:
READ_CONTROL: Granted by
D:(A;;0x1200a9;;;BA)
SYNCHRONIZE:
Granted by D:(A;;0x1200a9;;;BA)
WriteData (or AddFile):
Not granted
AppendData (or AddSubdirectory or CreatePipeInstance):
Not granted
WriteEA:
Not granted
ReadAttributes:
Granted by ACE on parent folder D:(A;;0x1301bf;;;BA)
WriteAttributes:
Not granted
Access Mask:
0x120196
Privileges Used for Access Check:
Restricted SID Count:
0
Can you help in solving this.
Gautam.75801 -
Unsupported class version error trying to run jar file on windows machine
Hi,
i've written a program that connects to an access database to get its data. Created a jar file with the class files, the access database and other required files.
works fine on my home windows computer but when i try to run it on another machine i get an error.
here's what i write on the cmd: java -Xmx128m -jar myFile.jar
heres the error i get:
Exception in thread "main" java.lang.UnsupportedClassVersionError: StartUp(Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
and so on.
It seems like it might be quite a basic error but i'm lost, can anyone please shed some light and tell me where i'm going wrong?
cheers in advancehey there, in case anyone was going to reply, i've worked it out now. couldn't work out what was wrong at first so just pulled out all my classes and put them into a brand new jar file. now use javaw -jar instead of java and it worked fine! wierd...
-
Modifying a running executable file
Does Solaris allow you to modify a file that is currently
executing.? I get a core dump when the exe is changed.
Some Unix systems used to give "Text file busy".By removing the file first, I assume the file (inode)
remains
in use (mmaped) until closed(unmapped) when the file
exits. Correct. You have an inode with 0 filesystem references
(links). The kernel does not remove the inode's data
block until the last user of that inode has released that
inode (closed filedescriptors, or unmapped mapped all
blocks from that inode).
The newly copied file(same name) gets another
inode, thereby not modifying the original.Correct.
Does Solaris page to/from the binary file ?Yes. Read-only pages (code) for the binary and other shared
libraries are paged in from the file/inode. Writable
regions of the binary/shared library (initialized data
space, bss) are read from the file/inode and my be written
out to swap space, when the system runs out of memory.
Does the file get copied into swap space ?Only when the system runs out of memory.
Does it page to/from the swap space ?For writable page mappings that were previously paged out
to swap space: yes.
Is the performance of the file system containing the
file an issue ? (if its paging from there)Assuming you have a really slow filesytem (overloaded disk
for example) and you have lots of binaries on that disk
(huge amounts of read-only pages that are paged in directly
from the slow filesystem) and the system is low on memory
(i.e. the pager removes/frees pages for the binaries and
these must be reloaded from the filesystem once the code
executes again), then yes, performance of the filesytem
would be an issue. -
Do I need the main softwares to run executables
We are using LabView 6.1, and IMAQ 2.5. I am working on a system that is used for data and image acquisition, in which we use a National Instrument (NI) PCI 1409, which is an analog frame grabber. I also have purchased IMAQ deployment engine. I am planning to make executables of the program I had.
I know that I need the application Builder, But what version and how much it would cost me.
I need also to know, If I want to run my system by one of the executable versions of the program I had , do I need to install LabView and IMAQ softwares on the new target machine? Also Do I need to get the IMAQ hardware card or board on to the target machine in order to run the system I have on the target machine?
How many licenses I nee
d to have to run these executables on a target machine?To use LabVIEW to deploy applications you only need to purchase the correct Application Builder for your operating system, which I assume is Windows since you are using NI-IMAQ. NI-IMAQ is the hardware driver for the frame grabber and allows you to acquire, display, and save images. There are no additional fees or licenses for distributing applications with NI-IMAQ.
IMAQ Vision is an add-on toolset for LabVIEW used for image processing. IMAQ Vision includes functions like pattern matching, histogram, edge detection, guaging, and many others. If you are going to use IMAQ Vision functions in your application, then you will need to purchase one vision deployment license for each target machine. The deployment engine covers one target machine in addition to your
development machine. If you are only using NI-IMAQ then there are no licensing issues.
To run executables on a target machine, you do not need to install LabVIEW. I have provided a few links below for your convenience.
LabVIEW Application Builder:
http://sine.ni.com/apps/we/nioc.vp?cid=10731〈=US
IMAQ Vision:
http://sine.ni.com/apps/we/nioc.vp?cid=1305〈=US
Details on deploying applications with IMAQ Vision:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/f695b089e3b1cd3286256a4000702136?OpenDocument
Application Builder user manuals:
http://sine.ni.com/apps/we/nioc.vp?pc=res&cid=10731〈=US&p_0=manual
Regards,
Brent R.
Applications Engineer
National Instruments
Maybe you are looking for
-
Media Encoder Flips a ghost Ultra Key frame
First time using Ultra Key - Learning trial by fire. I've created a short video using a Canon HF G10 and ultra key to layer the video for effect I want. The Ultra Key is used for about 30 seconds of the 3 minute video and this anomoly only shows up d
-
Can't get a blank entry in Choice List of Values (LOV)
Using Jdev 11.1.1.3 but will be upgrading to 11.1.1.5 in few weeks. Need to display a Choice List that is bound a view object with static data. The List should show a blank item since users don’t need to select any. I am able to display the LOV in th
-
Service request lodged, doesn't process until server restarted.
Hi, SCSM 2012 R2 RU3, being used as a front end portal for self service for orchestrator 2012 R2. I was wondering if anyone has come across an issue where a service request was lodged and the SR is in SCSM but without any status change to 'new' or an
-
I have a file in one of the folders of my webapp running in Tomcat. I need to convert the URL to the file to an absolute file path so that I can read it. The URL looks like http://localhost:28080/tester/custom/reports/transform.xsl I tried creating a
-
Does anyone else have trouble opening Autocad dwg files in Illustrator CS4?
When I try to open some .dwg files from Autocad I get the message " Version of this LPF file is not supported" Can anyone help with this? Does the problem lie with the (autocad) sender or with Illustrator? Stumped and needing to get on with work!