LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Open External application

Please Help!!

 

How can I send information and receive from external command prompt from my cvi project.

I want to run an external command prompt, a code that's is not mine, to send information to this command prompt, the make my program hit enter at  

the command prompt and then receive back information from the command prompt.

 

Thanks in advanced.

0 Kudos
Message 1 of 4
(4,108 Views)

Hello DSFDF,

 

What you could do is open the external process, redirect the input and the output. Then, you could write directly to the input and read the output of the process.

 

Best regards,

= Nelu F. || National Instruments.

0 Kudos
Message 2 of 4
(4,082 Views)


This is what the external executable file do
I have a program the's when I run it the program open a cmd (Command Prompt )
and I can enter manually variables, press enter the program calculate for me something and then present on
the cmd the calculated variables.

 

how I whant to use the external executable file
my question is how to write a code in C thet's will open this program send every time different variables and then recive back from the program the calculated variables??

 

thanks in advanced

0 Kudos
Message 3 of 4
(4,039 Views)

Hello DSFDF,

 

I think this resource will help you.

 

Best regards,

= Nelu F. || National Instruments.

0 Kudos
Message 4 of 4
(4,007 Views)