LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hon can I creat an active x with mulatiple select cell and multiple value or data output.

I have an acive x that can read and retrieved the value in a specific cell from excel to labview. Now I want to get atleast 20 values in diff cell from excel to labview and can also pass 20 values to labview.

Thank you
(can i have a simple example, please?)
0 Kudos
Message 1 of 3
(2,750 Views)
Hi Julro,

Have you looked at the example supplied with LabVIEW.
'C:\Program Files\National Instruments\LabVIEW\examples\comm\ExcelExamples.llb\Write Table To XL.vi'

I know this is a write to excel but all you need to do is modify the Set CellValue.vi so that you read the value and you have yourself a Get Cell Value.vi.

Hope this helps
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(2,750 Views)
You should use the Range method of the Worksheet and select the beginning and ending cell. Then, read the value of that range.
I attached a simple examples that allows you to specify which sheet and which cells you want to read.
Zvezdana S.
0 Kudos
Message 3 of 3
(2,750 Views)