LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save Data to Memory about ActiveX in LabView

Hello Everybody,

I want to use an ActiveX Method, which save Data into Memory. The proplem
is, this Method want to have an pointer to an Memory place where the data
can be saved.

I tried to get an pointer of an LabView-Array over a C-DLL, give this
pointer to the ActiveX Method, which could save the data. But this dosen't
work. I don't know what's the problem, maybe the ActiveX Method isn't
allowed to save Data in Memory which is allocated from Labview.
Have somebody an idea what to do?
Or an other suggestion to solve such an Problem?

Thanks a lot

Robert
0 Kudos
Message 1 of 5
(2,927 Views)
This seems an awfully hard way to get data into an array. Why not just load the data from a file into the array? If the data is in memory, how about saving the data to disk first, then loading in labview into the array?

Jared
0 Kudos
Message 2 of 5
(2,927 Views)
Jared wrote in message
news:50650000000500000087220000-986697009000@quiq.com...
> This seems an awfully hard way to get data into an array. Why not
> just load the data from a file into the array? If the data is in
> memory, how about saving the data to disk first, then loading in
> labview into the array?
>
> Jared

Hello Jared,

the idea is good, but the problem is I have to do this in a loop, maybe
10-20 times a second. And the PC have to do a lot of other things, too. So I
wan't to avoid an overhead for File I/O.
Do you have an other idea?

Many thanks for your answer

Robert
0 Kudos
Message 5 of 5
(2,927 Views)
If low-level programming is your issue, you can use the Out Port function that lets you write in the register address.
0 Kudos
Message 3 of 5
(2,927 Views)
alberto wrote in message
news:5065000000050000008F220000-986697009000@quiq.com...
> If low-level programming is your issue, you can use the Out Port
> function that lets you write in the register address.

Sorry I forgott, I'm using LabView with NT4.0 so the OutPort Function
doesn't work.
And if I use Win 98 How do I know to which register address I should write,
the data I want to transfer are about 20Kbyte, and this in a loop maybe
10-20 times a second.

Thank you for your answer

Robert
0 Kudos
Message 4 of 5
(2,927 Views)