06-03-2010 04:21 PM
Hi Folks,
I have a text file filled with commands. and i would like to turn this text file into a dropdown ring box, how do i do that??
textfile attached.
Lee
Solved! Go to Solution.
06-03-2010 04:41 PM
What part are you having problems with? Reading the file? Extracting a specific part of a row? Populating a ring?
What's supposed to go into the ring? Many of those lines are exactly the same.
06-03-2010 04:48 PM
I am having problems on Extracting a specific part of a row and Populating a ring? I can read a file. the attached is just a sample test file that i was working on, once i figured out the aformentioned problems i will use the real file.
Lee
06-03-2010 04:55 PM
06-03-2010 04:56 PM
i want it to show the below on the dropdown ringREAD: Optical Power,60420000
READ: Optical Power,60420001
READ: Optical Power,60420002
READ: Optical Power,60420003
READ: Optical Power,60420004
READ: Optical Power,60420005
READ: Optical Power,60420006
READ: Optical Power,60420007
READ: Optical Power,60420008
READ: Optical Power,60420009
READ: Optical Power,604200010
READ: Optical Power,604200011
READ: Optical Power,604200012
READ: Optical Power,604200013
READ: Optical Power,604200014
READ: Optical Power,604200015
READ: Optical Power,604200016
READ: Optical Power,604200017
READ: Optical Power,604200018
READ: Optical Power,604200019
READ: Optical Power,604200020
READ: Optical Power,604200021
READ: Optical Power,604200022
READ: Optical Power,604200023
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
READ: Optical Power,60420000
06-03-2010 04:58 PM
06-03-2010 05:01 PM
06-03-2010 05:01 PM - edited 06-03-2010 05:03 PM
That's not extracting anything from the lines. That's just dumping the contents of the file directly into the ring. That can be accomplished by simply doing this:
06-03-2010 05:02 PM
lee40002 wrote:
i can't find the example finder, where is it?
Help -> Find Examples.
To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
06-03-2010 05:07 PM
thank you, my cowoker and i have tried to figured that out for the whole afternoon. We made it far more complex than necessary.
Lee