LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect the File path change state (excel)

Solved!
Go to solution

Hello,
I need to know how I can detect the path change state of my excel file, to set my counter to zero, if the state changes, I was thinking of an event structure, but I don't know how to use it, is it that there are tracks or example for this kind of problem, thank you to all.

0 Kudos
Message 1 of 7
(1,859 Views)

Hi Ayoubas,

 


@Ayoubas01 wrote:

how I can detect the path change state of my excel file,


Which "excel file"?

What is a "path change state"?

Does the filepath change somehow somewhen in the middle of your file operations? (Why?)

 

What exactly do you want to achieve?

Best regards,
GerdW


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

 

I want once the file path is changed by the user, at this time I have to detect this change to reset my register to zero, the change of path t is manually writing by the user during recording File,I hope you get the idea

 

Ayoubas01_2-1646990829971.png

 

Ayoubas01_1-1646990545329.png

 

0 Kudos
Message 3 of 7
(1,851 Views)

Hi Ayoubas,

 


@Ayoubas01 wrote:

I want once the file path is changed by the user, at this time I have to detect this change


Use an event structure with a ValueChange event for that filepath control...

Best regards,
GerdW


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

I saw that, but I did not understand how, if you can give me an example I will be grateful thank you🙏

0 Kudos
Message 5 of 7
(1,832 Views)

Hi Ayoubas,

 


@Ayoubas01 wrote:

I did not understand how, if you can give me an example


Simple like this:

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(1,824 Views)
Solution
Accepted by topic author Ayoubas01

Using a simple path shift register I was able to solve the problem

 

Ayoubas01_0-1652270246385.png

thanks to all 

0 Kudos
Message 7 of 7
(1,712 Views)