Can LabView start/call another program such as QuickTime?
Hi,
I want to use my LabView program to start up another program. Is this possible? If so how is it done?
The program I have in mind is QuickTime. Will I be able to pass the name of the file I want it to play as an argument and specify where the new window will open?
Thanks,
Dave.
Hi
You could also place an ActiveX-container in a vi. So you can select a file and set the window position.
Just have a look at the simple attachment.
Hope this helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
quicktime.vi 25 KB
Similar Messages
-
Labview FPGA called another software component
Hi
I am trying to compile my FPGA code which has previously compiled. I get this error.
"Labview FPGA called another software component, and that component returned the following error:
Error Code: -52009
NI Platform Services: The requested resource has been marked for deletion and is rejecting new requests."
What is this error code?Hi,
I've been looking in to this for you today - unfortunately, that seems to be a really rare error code which doesn't come up very often on our systems, so there's no quick fix that I can find.
A couple of options:
1) Have you made any changes to the code recently, in terms of updating it from an earlier version of LabVIEW? If so, it may be worth mass compiling your project up to the latest version in case there are references to software components which no longer exist.
2) It's probably worth a try repairing your LabVIEW, FPGA and RIO drivers installations from disk, as described here: http://digital.ni.com/public.nsf/allkb/FE6B641E86E55AF2862576DE00038001?OpenDocument
This could be due to some kind of missing or corrupted component in, for example, the Xilinx Tools
3) Are you referencing any kind of external software, such as DLLs or third party instruments, in your file?
4) What hardware are you using?
Please let me know how you get on with these queries.
Best wishes,
Chiara A
Applications Engineer with NI UK & Ireland -
Is it possible to call another program (vlc media player in my case) in a VI???I dont want to use the Active X control for playin videos as it does not have much playback functions...
Use the System exec.vi to launch any executable from LabVIEW in your case VLC player. Provide the required inputs path, command line args so that you can obtain the desired functionality.
With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved. -
Hello guys, Please help me.
Today I got weird Problem, My Windows 7 Ultimate eventually can't execute any Windows Programs, such : Msiexec, Cmd, Notepad, Taskmgr, Msconfig, Regedit, etc.
When I tried to run any Windows Programs, the Message Box Appeared with this message : Insufficient system resources exist to complete the requested service.
Then I checked my System32 Directory, I was shocked because All of Windows Defaults Programs appeared with Locked Icon.
Then I checked 1 by 1 Windows Program, for an Example : dcdiag.exe. I checked the Security Tab and I got this notifications : No Permissions have been assigned for this object.
Warning : This a potential security risk because anyone who can access this object can take ownership on it. The object's owner should assign permissions as soon as possibe.
Other Informations :
1. My Windows account Privilege is Administrator.
2. I've Actived Anti-Virus and Always Updated.
3. In Safe Mode Everything Was Fine, I Can run Notepad, Task Manager, Command Prompt, etc (except : Msiexec / .msi Installer).
4. I tried System Restore in Safe Mode, but I don't have any Restore Points. In Normal Mode, I can't execute System Restore.
So, How can I solve this Problem?
Body text cannot contain images or links until we are able to verify your account -__-"Hi,
According to your description, it seems like a program which start with Windows blocked the access of these app.
To open Msconfig, you can boot into Safe Mode firstly, then open Msconfig and following clean boot process to execute the operation.
If there is any progress, please feel free let me know.
Roger Lu
TechNet Community Support -
Calling another program from the current program
Hi all,
In our requirement we are calling another program from our current program .
In the current program( from which we are calling ) we are giving file name in the selection screen
and when we run the current program we are successfully going to other program but our main requirement is to higlight the file name which we had given earlier .
Note : The called program doesnt have any selection screen.HI
use EXPORT and IMPORT key words for passing data from one program to another program.
as the called program is available in the same session you can use above key words which means you are accessing ABAP MEMORY.
You can also use SET and GET key words which means SAP memory
take F1 help there are examples tooo and detailes explanation abou the same
Regards
Ramchander Rao.K
Edited by: Ramchander Krishnamraju on Dec 24, 2008 7:05 AM -
Is there another program instead of quicktime that u can import movies
is there another program instead of quicktime that u can import movies to ur ipod?
hey aechick,
u can do without quicktime to convert videos of any format to mp4...
goto this link : http://www.download.com/Free-iPod-Video-Converter/3640-21944-10498771.html?tag=tabur
its one of the numerous file convertin' software.....i use videora though...u cud do a google on it..
lemme know if it works aye cheers
sam
Windows XP ipod 60 GB video -
How to call another program from LabVIEW?
Hi!
Is there anyone that can answer my question? I have found a similar thread where the user needed to call labVIEW from some program but I want to do the opposite.
I made a program in labVIEW that communicates via COM-ports (serial communication) with the processor I use at the job (Ubicom´s IP2022).
Now I want to add more funcionality to this program. I want to be able to program re-program IP2022 through this LabVIEW application.
The programming is done via an Ethernet-dongle. I start a program called IP2kProg, I write the ip-address of the dongle and the program-file (.elf) downloads at this address. But how can I do this from
LabVIEW, do I need to open IP2kProg or can I send some values to it via LabViEW?
Ant suggestions?
Thanks, AmirAmir,
There are couple of options:
1. If your IP2kProg program has a command-line interface, you can use LabVIEW's System Exec.vi and send the commands and parameters to it.
2. If the IP2kProg has an API / exported functions, you can call them from LabVIEW using the Call Library Function Node.
Hope this gives you some ideas.
-Khalid -
Calling another program and waiting for output
Hi,
I'm writing a program that passes a file created for an application called Net Sim but has to wait for the output. Net Sim lies in another directory from the java files and I don't know how to call the program with the file created as a parameter, such as:
ns2 network1.tcl
where 'ns2' is the dos command to run net sim and 'network1.tcl' is a file passed as a parameter to the program.
I've tried
try{
Runtime r = Runtime.getRuntime();
r.exec(" <directory> ");
}catch(IOException e){
System.out.println("Error " +e);
This doesn't work though and I could use some help, as well as how to save the file created by the program in another directory.
Finally, I need to know how to make the program wait for the output from net sim which is a file I intend to use. Can I do this with a while loop etc.?
I thank you in advance for any help,
Regards,
Gary.Here's an article from JavaWorld describing some of the pitfalls when using Runtime.exec() that might help you:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html -
Call another program in first program
hi,
i need to perform to call another report in my current report. so how am i going to do so?
how report work:
the report are going to run as background job. once the report run, it will send out the report in text file to user. and then i want it to trigger report 2. report 2 work the same, it will send another text file to user.
and the parameter for both the report is on current date only.
so how am i going to code in my first report program, to call the second report program, and to execute it?
thanks
Edited by: ben leen lee on May 14, 2008 3:57 AMHi,
clear: d_JOB_COUNT.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = d_JOBNAME
IMPORTING
JOBCOUNT = d_JOB_COUNT.
submit ZFI_AGEWISE_PERFORMANCE
VIA JOB d_JOBNAME
NUMBER d_JOB_COUNT
with IKUNNR IN r_id
with s_vertn in S_VERTN
with s_hkont IN S_HKONT
with IBUDAT eq IBUDAT
with P_BUKRS eq P_BUKRS
with s_umskz in s_umskz
*with R1 = R1
WITH R2 = R2
*with r3 = R3
WITH P_SESS = P_SESS
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBNAME = d_JOBNAME
JOBCOUNT = d_JOB_COUNT
STRTIMMED = 'X'.
Reward Points -
How to call another program as root in servlet
In my servlet, I want to call another background programs (writeen in c) to do some tasks and gather the output of them as the output of my servlet. Is there any way to do so like Suexec in apache.
Thankssorry I forgot mention that the c program required the caller had root privilege.This is the problem I facing now.
Thanks -
Can keynote hyperlink to another program
I'd like to use keynote to hyperlink to another program. According to the inspector I can only link to a quicktime movie, webpage, or another keynote file!
Any ideas?Dear Tulse,
Thanks for your reply. I don't think it's a matter of security, this isn't anything that involves networking or sensitive data- all I wanted Keynote to do is to open up, say, a Word or an AppleWorks/Inspiration file which could then be used to brainstorm > save > then back to the presentation.
regards,
There are probably good security-related reasons why
Keynote doesn't do this. I'm also not clear what you
would want Keynote to do with the launched
application, since it can't actually communicate with
it in any fashion, nor would it be easy for the
launched app to return to the presentation when it
was finished with whatever it was doing.
With all this said, I think it would be hugely
beneficial if Keynote could run AppleScripts when an
object was clicked -- then it would much like
HyperCard, and one could launch apps and communicate
with them very easily. The security issues would
still apply (for that matter, there'd be more of a
risk), but I'm sure there would be a way around this
issue.
PowerMac G5
Mac OS X (10.4.4) -
Can Web Start call earlier installed versions on client machine?
Can Web Start invoke earlier installed versions of the
JRE on a client machine, without invoking a download?
I ask because I have tried to so, unsuccessfully,
using the versions attribute of the j2se element.
In the usenet thread 'Jar test, with 1.4 VM?',
Usenet Message ID:
[email protected]
http://groups.google.com/groups?selm=1170640609.025666.236030@s48g2000cws.googlegroups.com
(follow the Google link at the top, to the thread)
I was attempting to confirm that a Jar file I
was deploying, was 1.4 compatible.
The test failed, because despite that the (1)
user who attempted it had a working 1.4.2 install,
the JNLP file (which declared version='1.4'),
was prompting for a download. The user was
not prepared to do that, understandably -
that was exactly what I was trying to avoid
doing, myself.
Since then, I did further testing locally -
trying to get a 1.5 launch when my current
Java is 1.6 - I have a number of 1.5 versions.
No request for '1.5', '1.5.0_08' or '1.5*' worked
(OK - that last one was just a WAG*), every time
I was prompted for download (which also failed,
as an aside!).
What am I getting wrong?
Do I misunderstand the intent of the j2se element
finding earlier verions? Is it only versions that
were installed by web start?
Is my understanding of how to use the version
attribute, incorrect?
* Where are the detailed instructions on the
allowable forms of the version attribute?
Neither the spec. nor developers guide seem
to go into it in any detail. Some of the forms
I have seen around the forum were (AFAIR)..
<!-- Suggests 1.4 preferred? -->
version="1.4 1.5+"
<!-- Suggests 1.4 only? -->
version="1.4"
<!-- Suggests 1.4.2 preferred, if microversion
13+ is found, else 1.5+? -->
version="1.4.2_13+ 1.5+"FWIW - here is the JNLP I am currently using
for the test, it is 'live and public'..
<?xml version='1.0' encoding='UTF-8' ?>
<!--
If you see this message in your browser, it means the
browser is not correctly set up to handle the JNLP file
type, that launches Java applications within a secure
environment, that cannot access your computer, or data.
To get the browser (and PC) correctly set up to handle
this type of file, visit ..
http://www.java.com/
..to install the free, secure, Java Plug-In made
by Sun Microsystems.
-->
<jnlp spec='1.0'
codebase='http://www.athompson.info/family/'
href='thompson-1.4.jnlp'>
<information>
<title>Thompson Family Genealogy</title>
<vendor>Andrew Thompson</vendor>
<description kind='one-line'>
The ancestors of William Robert Ramshaw Thompson
</description>
<offline-allowed />
<shortcut online='false'>
<desktop/>
</shortcut>
</information>
<resources>
<j2se
version="1.4"
href="http://java.sun.com/products/autodl/j2se" />
<jar href='genj-applet.jar' main='true' />
</resources>
<applet-desc
main-class='genj.applet.Applet'
name='genealogy'
codebase='./index.html'
width='300'
height='170'
>
<param name='GEDCOM' value='thompson.ged' />
<param name='ZIP' value='thompson.zip' />
</applet-desc>
</jnlp>Using your tips, I was able to find the 1.5
JRE's listed in the Java control panel
(of an XP Pro box) and see they had no
checkmark for 'enabled'.
After enabling 1.5.0_08, I was successfully
able to launch the application (OK - applet
really) using the 1.5.0_08 JRE.
Thanks.
As an aside, I had to specify '1.5.0_08'
exactly to get that JRE. This is fine for
local testing, but sometimes it is handy
to ask others to help test via the web,
and it would be nice if I could make it less
specific (e.g. '1.5', to get any installed
and enabled JRE that is a 1.5 variant)
Do I understand wrong? Should that work,
to specify '1.5' and get a '1.5.0_08' JRE that
is installed and enabled? -
Make a Java program call another program??
Is there a way to make a Java program execute another program?
Why dont we demonstrate:
Program (Windows-based) Calculator.exe
Code:
try {
Runtime.getRuntime().exec("c:/windows/calc.exe");
} catch(IOException e) {} -
Calling another program with in a program
Hi experts,
i want to call a program (second) from the first program. The problem is that the first program is called during the update task. so i think we cant use the submit statement.
Thnak you in advance.
Arul
Edited by: arul m on May 6, 2009 12:36 PMHello,
Try this FM
TH_IN_UPDATE_TASK
check this
http://help.sap.com/saphelp_nw04/helpdata/EN/fa/f23c15330411d5992100508b6b8b11/content.htm -
I have an app called roadshow, I'm trying to move the videos I have recorded in there into iTunes so I can watch them on my tv instead of on the iPad. Is there some way to move the videos out of the program without deleting them? They are classic movies that iTunes does not have and I do not want to rent them on DVD it he case of skipping or something. I do not have AirPlay in my house yet, that will come in the next few years. Do you have any suggestions?
It was tricky sorting out the actual questions in your post. I think the other poster has one question in hand, here's the other:
Post by Turingtest2: HowTo: Grouping Tracks Into Albums - http://discussions.apple.com/message.jspa?messageID=9910895
Maybe you are looking for
-
Reading strings and integers from a text file
I want to read the contents of a text file and print them to screen, but am having problems reading integers. The file contains employee's personal info and basically looks like this: Warren Laing 32 //age, data type is int M //gender, data type is S
-
Hello, while doing payment run, I am getting this error " The following documents were not processed since they will be sent by EDI" please suggest. Thanks
-
Need clarification on "reader enabled" in LC ES
Is "reader enabled" some plug-in or just an option to "mark" before I start developing new form? Cant find much about it in LC help but I see its very important for later user-end capabilities (like sending filled pdf by e-mail using only adobe reade
-
JTable Java 1.6 Bug Progress ??? Work Around ?
I was just wondering if there was a work around for the following bug on java 1.6 ??? http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6568959 This has been really annoying me because it's a requirement to use JInternalFrame and of course they want
-
I'm useed to object orientated programming (C#) so now I'n switching to php its time to write classes. But there's something I don't get in the following code: <?php Class path{ private $serverPath; function _construct() $this->server