LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sharing resources labview <-> other applications

Hi there,

is there a simple way to share resources between labview602 and
another application running on Win2k?

A LV application should read from an AD-Board (PCI DAS08), let's say
every second, while another application (not written in LV) reads from
the same board every 40 ms.

Is it possible to realize the LV application without changing the code
of the other application?

Thanks,
\Ulli.
0 Kudos
Message 1 of 4
(2,775 Views)
Two applications fighting for the same resource is most likely cause for problems. The if you want LabVIEW to get a peak at the data every second, then have your other application publish the 40 ms interval data to Datasocket and let LabVIEW read that. You can of course publish to any ActiveX control, but Datasocket is done for you.

Daniel L. Press
PrimeTest Corp.
www.primetest.com
0 Kudos
Message 2 of 4
(2,775 Views)
Thank You Dan,
I tried the LabView examples concerning datasocket and I found them
quite easy to handle.
Now my question is what do I need to do to write data from a visual
c++ application to the datasocket-server (hope I'm not completely off
topic now). There is mentioned an ActiveX control to use with
datasocket. I'm not familiar with that. Is it something already
included in the mfc? Or can it be downloaded somewhere?

Thanks,
\Ulli.



Photon Dan wrote:

> Two applications fighting for the same resource is most likely cause
> for problems. The if you want LabVIEW to get a peak at the data every
> second, then have your other application publish the 40 ms interval
> data to Datasocket and let LabVIEW read that. You can of course
> publish to
any ActiveX control, but Datasocket is done for you.
>
> Daniel L. Press
> PrimeTest Corp.
> www.primetest.com
>
0 Kudos
Message 3 of 4
(2,775 Views)
Datasocket software includes an ActiveX control that you can use from C++, VB, CVI, etc. There are technical details spelled out with some examples here -> http://www.ni.com/pdf/wp/wp1680.pdf

Enjoy,

Daniel L. Press
PrimeTest Corp.
www.primetest.com
0 Kudos
Message 4 of 4
(2,775 Views)