NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

怎样在labview程序中调用另一个exe程序,且不影响当前程序的运行

请问怎样在编好的labview程序中调用另一个exe程序,且不影响当前程序的运行
1 条消息(共 11 条)
10,326 次查看
关注!!!!!!!!!
" 一天到晚游泳的鱼"

labview@263.net

我的个人网站:LabVIEW——北方客栈 http://www.labview365.com
欢迎加入《LabVIEW编程思想》组——http://decibel.ni.com/content/groups/thinking-in-labview
0 项奖励
2 条消息(共 11 条)
10,306 次查看
在LV中调用EXE很容易,不过不影响当前程序的运行大概是个什么情况?与当前程序一起并行执行还是什么其它的?
0 项奖励
3 条消息(共 11 条)
10,298 次查看
Try External Application llb at:   http://gtoolbox.yeah.net
 
The other application is launched in a seperate thread, minimize the influnce to current thread.
 
George
George Zou
0 项奖励
4 条消息(共 11 条)
10,293 次查看

网站打不开?

0 项奖励
5 条消息(共 11 条)
10,287 次查看

dabo <x@no.email> wrote:
>请问怎样在编好的labview程序中调用另一个exe程序,且不影响当前程序的运行
system exec.vi
0 项奖励
6 条消息(共 11 条)
10,271 次查看
See attached zip file.
George Zou
0 项奖励
7 条消息(共 11 条)
10,261 次查看

Hi Zou,

            I have tried your enclosed samples, and I have some queries, I don't know whether you can tell me.

1). LV has a VI which is "system exec.vi",  it can achieve the issuer need also. do you want to tell the other channel handles only ? 

2). Are the subVIs from NI, or made by yourself ? I found that I cann't open it with double click, if there are made by you, can you tell how to make ?

 

thanks @!

 

________________________________________________________


Try to make everything Automatic
0 项奖励
8 条消息(共 11 条)
10,233 次查看
Yukee,
 
I created this llb.  It gives you more control over the external application.  System exec.vi launches the application, but it doesn't give you information about the newly created process.  So it hard to close the application if it's title changes (for example, notepad, paint, word, etc.).  And you konw when user manually closed the application.
 
The VIs in the llb have no front panel, so you can't open them.  But you still can use them.
The VIs are created in Code Interface Node.
 
George

帖子被zou在12-05-2005 03:34 PM时编辑过了

George Zou
0 项奖励
9 条消息(共 11 条)
10,210 次查看
Oh, thank you, zou. I will try it.
________________________________________________________


Try to make everything Automatic
0 项奖励
10 条消息(共 11 条)
10,206 次查看