From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

use labview to read an Excel file to some control and add a checkbox for each row

Solved!
Go to solution

  As the subject say,I need to use labview to read an excel file,and show it in some control,such as mclb;then ,I should add an checkbox for each row,enable me to choose the row i want.What should I do ? Many Thanks.

0 Kudos
Message 1 of 6
(3,299 Views)

@guiming wrote:

What should I do ?


What have you tried?

0 Kudos
Message 2 of 6
(3,298 Views)

Hi,

 

to answer your question:

- read an excel file

- show it in some control, such as a MCLB

- add an checkbox for each row

- choose the row you want

 

Hint to make it easier: I wouldn't use checkboxes, as the MCLB already allows to select rows by mouseclick…

Best regards,
GerdW


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

   I can read an Excel file to a sheet ,but I have no idea how to add a checkbox for each row.

0 Kudos
Message 4 of 6
(3,250 Views)
Solution
Accepted by topic author guiming

@guiming wrote:

   I can read an Excel file to a sheet ,but I have no idea how to add a checkbox for each row.


Sometimes all you need to do is Google. https://decibel.ni.com/content/docs/DOC-25000

http://www.labviewing.com/check-box-in-multicolumn-listbox/

 

 

0 Kudos
Message 5 of 6
(3,247 Views)

Thank you very much!

0 Kudos
Message 6 of 6
(3,243 Views)