LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing from max to min value

I created a .txt file from that file path that contains a only a number.

 

I wanted to extract that number and put it on a display that could show the variations on that .txt file.

0 Kudos
Message 11 of 17
(2,123 Views)

Still not clear on what you are trying to do.

 

But there is a function called path to string.  You can use that on the file path then use string functions in order to pick the number out of the filename.

0 Kudos
Message 12 of 17
(2,111 Views)

I have these files on the anex.

 

I want to extract there numbers and put it on a indicator.

 

Problem is that the write/read function, saves one at the time in this .txt file, but i want to read it as a whole, not in separet parts

0 Kudos
Message 13 of 17
(2,101 Views)

What is "anex"?

 

So you need to go through a list of filenames and collect data from each of those file names?

 

Now you need to create an array of filenames.  (Look at List Directory or some function with a name like that.)  Then feed that array into a loop with auto-indexing.

 

 

Message 14 of 17
(2,093 Views)

Will try that. Thank you 🙂

0 Kudos
Message 15 of 17
(2,073 Views)

@Janitor wrote:

Thanks for the tips but right know i dont have time to build sub-VI´s.

 

In regards to the indicator, that only creates a indicator of the path file, what i want is the number inside the path, in this case in the .txt file.


Did someone tell you to build a subVI?

 

No one has time for subVIs.  Then they get fired and I am left to do the cleanup.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 16 of 17
(2,018 Views)

@Janitor wrote:

Thanks for the tips but right know i dont have time to build sub-VI´s.

 


You don't have time to _not_ build sub vi's. They'll save lots of time down the line, or even down the day ...

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 17 of 17
(1,977 Views)