LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger Event through file path control

Solved!
Go to solution

Hey guys,

 

I'm using a vi with a file path control and an event structure. I want an event to be triggered when a new file is loaded. I put filepathin: value Change into the Event structure, but this does not work. How could I do it?

 

Thanks

0 Kudos
Message 1 of 4
(1,806 Views)

Hi volfi,

 

I want an event to be triggered when a new file is loaded.

Where and how is the file "loaded"?

 

I put filepathin: value Change into the Event structure, but this does not work.

How is the value change event of the filepath control related to your "new file is loaded"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO
0 Kudos
Message 2 of 4
(1,803 Views)

the file is loaded through a file path control in the front panel. The file contains some data which I want to be displayed as soon as I select a new file.

0 Kudos
Message 3 of 4
(1,794 Views)
Solution
Accepted by topic author volfi

Hi volfi,

 

when you select a (new) file with your filepath control you should get a value change event for it.

In the event you should load your data.

 

When you handle things different in your VI then you should attach this VI - that's the way to get better answers here!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO
Message 4 of 4
(1,784 Views)