LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

system exec call question

I have a vi that I want to call another executable (i.e. excel) using the
system exec.vi. I want to run the called application in the background in
parallel with my vi. When I tried this, I wasnt able to operate my vi, buttons
pressed but there was no resulting action. i assume its because the other
application had control. any suggestions?

chuck
0 Kudos
Message 1 of 5
(2,550 Views)
I hate to ask the obvious question, but did you have the wait until completion set to False? If true, that would have stalled that data flow until the called application completes.
Stu
Message 2 of 5
(2,550 Views)
Stu wrote:
>I hate to ask the obvious question, but did you have the wait until>completion
set to False? If true, that would have stalled that data>flow until the
called application completes.>Stu

Stu,

I am probably missing something simple, but I am not sure where you set the
'wait until completion'. also, I have tried using system exec.vi to call
both a program that I had built using labview, and also commercial programs
(i.e. photoshop)just to see if it was my program at fault. Both situations
resulted in a hangup.

chuck
0 Kudos
Message 3 of 5
(2,550 Views)
"chuck" wrote:
>>Stu wrote:>>I hate to ask the obvious question, but did you
have the wait until>completion>set to False? If true, that would have stalled
that data>flow until the>called application completes.>Stu>>Stu,>>I am probably
missing something simple, but I am not sure where you set the>'wait until
completion'. also, I have tried using system exec.vi to call>both a program
that I had built using labview, and also commercial programs>(i.e. photoshop)just
to see if it was my program at fault. Both situations>resulted in a hangup.>>chuck

stu,

thanks, that was it. On the system exec.vi from labview 5 there wasn't an
input for 'wait until completion', but I see it on the labview 6 version.
thanks for the help.

chu
ck
0 Kudos
Message 4 of 5
(2,550 Views)
Hi chuck,

for a better dataflow between your vi and Excel you could use an ActiveX
object. With it you have direct access to all features of Excel.

Henrik

chuck schrieb:
>
> I have a vi that I want to call another executable (i.e. excel) using the
> system exec.vi. I want to run the called application in the background in
> parallel with my vi. When I tried this, I wasnt able to operate my vi, buttons
> pressed but there was no resulting action. i assume its because the other
> application had control. any suggestions?
>
> chuck
0 Kudos
Message 5 of 5
(2,550 Views)