engine and it was stored in to one of the locations of the memory.another program is Our LabVIEW.It is used to get the data from memory and send feed back to pascal program in real time.Is it possible in LabVIEW?just i want to find out the Memory location?Hi Subbu,
Sharing memory between two totally seperate applications, natively, is
almost impossible on modern OS's with dynamic memory allocation. Also the
only memory locations that LV can Peek and Poke too are limited to I/O
addresses, and I do not think it is possible to point a LV array to
another preallocated data.
What is needed is either:
A common interprogram communication protocol like local TCP/IP, OLE etc.
Or a shared function whos job is to hold data eg a DLL (that has semiphore
indications to limit access, to prevent race conditions).
Looking at you email again, it seems that it may not be possible for you
to modify the operation of the Pascal program, an alternative would be to
create a DLL, in pascal or whatever, that can access the memory locatio
n,
that LV can call and so access the data.
Tim
subbu wrote:
> I am running 2 programs simultaneously.one is Pascal program.It is
> used to develop simulation data of Spacecraft engine and it was stored
> in to one of the locations of the memory.another program is Our
> LabVIEW.It is used to get the data from memory and send feed back to
> pascal program in real time.Is it possible in LabVIEW?just i want to
> find out the Memory location?
>
> I am running 2 programs simultaneously.one is Pascal program.It is
> used to develop simulation data of Spacecraft engine and it was stored
> in one of the locations of the memory.another program is Our
> LabVIEW.It is used to get the data from memory and send feed back to
> pascal program in real time.
> Based on LabVIEW data processing,pascal does not produce a next
> data.Is it possible in our LabVIEW?Please clear my doubt.