LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV- DLL as shared Mem

Hi LVers !

I have the problem to exchange data between two processes running on
WinNT. The first is for data aquisition and logging running every 10ms
and the second is for visualisation with an update rate of 250ms . The
daq is a LV application. What I want is to create a DLL (which is now
possible with LV6) as shared memory accessable by respective DLL
functions for writing and reading the dtata.

Any idea how to create such a DLL with LV ?

Thanks

Hans Joerg
0 Kudos
Message 1 of 3
(3,452 Views)
Couldn't you just use Labview's DataSocket Technology? Create a
DataSocket data object and write to it with your DAQ process. Read the
datasocket with your display process. Or, if the processes are running
on the same computer, how about a plain old Global Variable? A DLL
seems the hard way to go. But if for some reason you must, there's a
white paper at NI's website detailing the process. Look for Application
Note 87, or try this search:

http://digital.ni.com/appnotes.nsf/websearch?Searchview&Query=an087

In article <3A2F4D78.EA5A8F1B@astrium-space.com>,
Hans =?iso-8859-1?Q?J=F6rg=20Beesterm=F6ller?=
Joerg.Beestermoeller@astrium-space.com> wrote:
> Hi LVers !
>
> I have the problem to exchange data between two processes running on
> Win
NT. The first is for data aquisition and logging running every 10ms
> and the second is for visualisation with an update rate of 250ms . The
> daq is a LV application. What I want is to create a DLL (which is now
> possible with LV6) as shared memory accessable by respective DLL
> functions for writing and reading the dtata.
>
> Any idea how to create such a DLL with LV ?
>
> Thanks
>
> Hans Joerg
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 2 of 3
(3,452 Views)
look at:
C:\Program Files\National Instruments\LabVIEW
6\examples\general\synchexm.llb\Queue Example.vi
you can use queues to buffer anything from simple individual doubles to
arrays of clusters of ... by flattening/unflattening to/from string.

wrote in message
news:915cdl$cus$1@nnrp1.deja.com...
>
>
> Couldn't you just use Labview's DataSocket Technology? Create a
> DataSocket data object and write to it with your DAQ process. Read the
> datasocket with your display process. Or, if the processes are running
> on the same computer, how about a plain old Global Variable? A DLL
> seems the hard way to go. But if for some reason you must, there's a
> white paper at NI's website detailing the process. Look for Application
> Note
87, or try this search:
>
> http://digital.ni.com/appnotes.nsf/websearch?Searchview&Query=an087
>
> In article <3A2F4D78.EA5A8F1B@astrium-space.com>,
> Hans =?iso-8859-1?Q?J=F6rg=20Beesterm=F6ller?=
> Joerg.Beestermoeller@astrium-space.com> wrote:
> > Hi LVers !
> >
> > I have the problem to exchange data between two processes running on
> > WinNT. The first is for data aquisition and logging running every 10ms
> > and the second is for visualisation with an update rate of 250ms . The
> > daq is a LV application. What I want is to create a DLL (which is now
> > possible with LV6) as shared memory accessable by respective DLL
> > functions for writing and reading the dtata.
> >
> > Any idea how to create such a DLL with LV ?
> >
> > Thanks
> >
> > Hans Joerg
> >
> >
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
0 Kudos
Message 3 of 3
(3,452 Views)