LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing and Reading Fields in an Executable

Hi there,
 
I would like to run a small (freeware) program within labview (this program calculates density given pressure and temperature of steam). Using Windows this is really simple; I run the program, click on the temperature field, enter the value, click on the pressure field, enter the value, and press OK. The density is then displayed in another field, I read that then close the program.
 
What I want to do is make this whole process automatic using Labview (I want to send two numbers to a subvi and then I want it to output the resulting number) How do I do this?
 
Thanks,
 
John A.
 
(Labview 6.1)
Message 1 of 3
(2,488 Views)

Hello John,

From what your are saying I expect that you cannot communicate with this freeware program (Or do you have documentation of a DLL or ??)

Is it not possible to communicate directly to what ever device you use or does the program only performs the calculation?

Message 2 of 3
(2,462 Views)

Hi John,

I think you should find documentation about your program starting: it is maybe possible that you run your program with parameter like:

c:\> name_of_the_program [option1] [option2]

where option 1 and 2 is temperature and pression. The program may return the result of your operation.

But I think that a freeware does not do this...

Sincerely,

BD.

~ La programmeuse compile le C. ~
http://www.pmeonline.fr.st
http://www.nihon-fr.com
http://www.cinemasie.com
http://ippai.free.fr
0 Kudos
Message 3 of 3
(2,454 Views)