LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pascal interface/conversion

I have some old programs written in Turbo Pascal (DOS). Is it possible to
use these as they are with Labview?

--
Leon Lobo
Optical Engineering Group
Department of Mechanical Engineering
Loughborough
Leics.
LE11 3TU
0 Kudos
Message 1 of 3
(2,722 Views)
L Lobo schrieb:

> I have some old programs written in Turbo Pascal (DOS). Is it possible to
> use these as they are with Labview?
>
> --
> Leon Lobo
> Optical Engineering Group
> Department of Mechanical Engineering
> Loughborough
> Leics.
> LE11 3TU

Not as they are, AFAIK. But you could try to get a Delphi version and compile
the programs (hopefully with minor changes only) into a DLL.


-Franz
0 Kudos
Message 2 of 3
(2,722 Views)
L Lobo wrote in message
news:8qndi7$75s$1@sun-cc204.lboro.ac.uk...
> I have some old programs written in Turbo Pascal (DOS). Is it possible to
> use these as they are with Labview?

It depends entirely on what they do. If you can launch them from the
commandline with arguments or with a configuration file, then they go away
and do their job before saving the results to a file or outputting them to
the commandline, then you can use them from Labview via the "exec" function.
You can supply runtime options if predictable keys need to be pressed when
the program starts by piping the contents of a file to it.

If they're truly interactive and you can't predict the inputs needed, then
you're pretty stuffed- Labview can't directly interact with t
he program
while it's running.
0 Kudos
Message 3 of 3
(2,722 Views)