LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compressed excel

As attached is the program where the user will record the data and save it onto a log file, it will then be printed on the main vi as this is just a subvi. 

Problem lies at when it is saving onto the log file, the excel file is being compressed to narrow version. Is there any way to retain the original size?

0 Kudos
Message 1 of 5
(2,268 Views)

Hi ybomi,

 

can you please explain "compressed to narrow version" and "retain the original size"?

 

Which size are you looking for?

Best regards,
GerdW


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

for now, it was printed out in a narrower version in the VI than I printed out directly from excel itself. 

is it that the string is being wrapped when it is being saved onto the excel file, then when it is finally done the printing becomes narrow?

0 Kudos
Message 3 of 5
(2,230 Views)

Do you mean the worksheet orientation?  Portrait vs landscape?  This can be set in the Set Report Orientation and after performing the save I believe the file will retain that information.

 

Also you may want to look into a state machine.  Your code is quite nested and maybe hard to follow and update.

0 Kudos
Message 4 of 5
(2,193 Views)

If you cawant to set the cell widths use "set cell dimention.vi"


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 5
(2,188 Views)