LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Howto call a vi by activeX or DLL from Excel

Hi NG's
We use the Nonlinear Lev-Mar Fit.vi to calculate data during measurements.
In order to calcualte data only existing in excel-Format with the same
regression, i thought to use ActiveX, call this vi an get back data.
But how should I do this. No idea
Anybody out there who can help?


Thanks a lot

Bruno
0 Kudos
Message 1 of 2
(2,602 Views)
There are crude example VIs on NI's website that demonstrate how to read and
write individual cells in Excel from Labview. Write a Labview VI that reads
the data from the cells in the spreadsheet, do your fit and write the
results back to other cells. Then load the spreadsheet manually and run your
VI. There are many things you can do to control Excel via ActiveX that will
make this better, but this simple method will get you running.

Bruno Hartmann wrote in message
news:91sfv0$1lj$1@proxy.fe.internet.bosch.de...
> Hi NG's
> We use the Nonlinear Lev-Mar Fit.vi to calculate data during measurements.
> In order to calcualte data only existing in excel-Format with the same
> regression, i thought to use ActiveX, call this vi an get bac
k data.
> But how should I do this. No idea
> Anybody out there who can help?
>
>
> Thanks a lot
>
> Bruno
>
>
0 Kudos
Message 2 of 2
(2,602 Views)