LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

User click any type of Boolean button to open file path and browse for file

Solved!
Go to solution

Greetings,

 

I am very new in LabView Programming.

 

Referring to the attached image, I am wondering if there is a way to open file path when boolean button (switches or LEDs) is clicked.

 

Boolean button clicked -> the greyed out file path control is enabled  -> and user can click the browse button 

if not, would please suggest a better way to do this?

 

 

Regards,

H

0 Kudos
Message 1 of 2
(3,510 Views)
Solution
Accepted by topic author quadratini26

Hi nnhas,

 

Referring to the attached image, I am wondering if there is a way to open file path when boolean button (switches or LEDs) is clicked.

Upon value change (event!) of the button you could call the FileDialog function…

I guess this is what you are talking about with "open file path"!? Otherwise use FileOpen to open a file when the user clicks on those switches…

 

Boolean button clicked -> the greyed out file path control is enabled  -> and user can click the browse button if not, would please suggest a better way to do this?

There is no "greyed out" filepath control in your image…

But you can use a property node to set the activation state of controls!

Best regards,
GerdW


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