LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show files that are not deleted

Solved!
Go to solution

Hi everyone! Smiley Happy

 

I have to find a way to show the files that are not deleted, but my code just shows me the last file that is not deleted...

(True and false are written in red because I use a french version of Labview Smiley Wink)

 

If someone can help... Thank you in advance for your reply!

 

Sans titre.png

0 Kudos
Message 1 of 8
(2,769 Views)

You need to build an array in the shift register.  Initialize the shift register to an empty array of paths.  In the TRUE case, you need to use the Build Array function to append the new path to the array.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 8
(2,750 Views)

Thank you for your reply! I didn't think about the Build Array function, it seems to be the solution Smiley Happy, I tried but I can't do it, it doesn't work...

 

Can you show me please? I'm a beginner with Labview...

 

 

0 Kudos
Message 3 of 8
(2,734 Views)

Something like this should work.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 8
(2,729 Views)
Solution
Accepted by rafale350

@crossrulz wrote:

Something like this should work.


Or if you want to fit that code on a postage stamp you can use the contitional tunnel feature introduced in LabVIEW 2012.

1!.PNG

Come on Tim, Get with the timesSmiley Very Happy


"Should be" isn't "Is" -Jay
Message 5 of 8
(2,719 Views)

@JÞB wrote:

Come on Tim, Get with the timesSmiley Very Happy


Wasn't sure if the OP has 2012 and I'm still using 2011 for my projects.  At least I'm certified!Smiley Tongue


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 8
(2,713 Views)

Thank you both!

 

I've tried both of yours solutions, but it display each times the last file that has not been deleted... Smiley Frustrated

0 Kudos
Message 7 of 8
(2,693 Views)

False alarm!

 

It's works perfectly!

 

Thanks! Smiley Very Happy

0 Kudos
Message 8 of 8
(2,689 Views)