LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

White space in cell in excel - with CLAUDIE_xlsx addon

Solved!
Go to solution

Hi everyone.

 

I tried using CLAUDIE_xlsx addon on LabVIEW in order to write and read data from an excel file.

 

I succeeded with creating, opening and writing to an excel file.

 

But when after I write text to spreadsheet in excel, I see that in addition to the text in the excel file, there is a blank cells without the excel cells boarders.

 

This is the blank cells in the excel file:

Excel_Whitespace_Error.JPG

 

And here is the LabVIEW connections:

Excel_Whitespace_Error__LabVIEW_connections.JPG

 

Do you know how I can fix this?

 

Also, is it possible to read a specific cell from a spreadsheet in excel or only a specific row? if it's possible, how do I do it?

 

 

Thanks,

Reshef

0 Kudos
Message 1 of 5
(3,126 Views)
Solution
Accepted by resheffink

Hi Reshef,

 

But when after I write text to spreadsheet in excel, I see that in addition to the text in the excel file, there is a blank cells without the excel cells boarders.

You seem to write a lot of empty strings to your sheet - as far as can be seen from your blurry image…

 

is it possible to read a specific cell from a spreadsheet in excel or only a specific row?

Yes and yes.

 

if it's possible, how do I do it?

Usually you can do this using ActiveX calls to remotely control Excel.

I don't know how your CLAUDIE toolkit handles those calls - have you read its manual or tried to contact the support?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(3,109 Views)

I've found the problem. it needed a const length of array to be inserted into excel. now everything works fine.

 

Thank you for your help!

0 Kudos
Message 3 of 5
(3,015 Views)

Hello,

 

So im trying to read an excel file with labview in order to display some data on led screens. 

When i tried a simple VI, as a first step, to read an excel file it returns an error code 10 : duplicate path. 

I used Claudie_xlsx addons which doesnt require activeX.

I have searched in google for some samples but i guess people are not familiar with Claudie addons.

I have attached the some screenshots. 

 

Thanks,

Dhafer 



received_257165745728323.jpeg

 

received_2886703738230880.jpeg

 

0 Kudos
Message 4 of 5
(2,765 Views)
I have an existing excel with 2 blank sheets. When I write to sheet number 2, the style of sheet number 1 disappears. Does anyone have experience with the addon and can help with an example of writing to Excel correctly?
0 Kudos
Message 5 of 5
(54 Views)