Hello
I'm using lv 5.1 on NT 4
I want to read an array of float from an activex control
i wrote i vc++.
The param carrying the array is declared as a VARIANT
in vc++.
This array is in turn a safearray of floats.
Now the param in the Invoke node in lv has both
input and output. (I don't know how to restrict this in
visual studios activex wizard)
Anyway to the input i wire an lv array of floats (single)
This is an lv array control.
I initialize the array with some values.
Then i run labview.exe in visual studio debugger.
I run the vi and after a while a breakpoint in the activex
is reached.
I can then see that the initial values are indeed transfered to
the activex.
But i also want to send values back to labview so
i replace the values i
n the safearray with some measured
values. (this is inside the activex)
Back in labview. On the output of the param i wired the output
to a 'to-G' node with the type wired to a array indicator.
However i only get the initial values!
-----------------------------------------------------------------------
Erik Westlin Manne Siegbahn Laboratory
email: westlin@msi.se