Can a ring control be populated using a separate text file when VI loads (not running)?

I would like to know if there is a way to populate a ring or enum control list using values maintained in a text file (or other format) outside of a VI.  I have to be able to call this VI from TestStand or LabVIEW, and would like to be able to use the drop down interface to pick from the list of selections.  As a result, the ring or enum list would need to be updated before the VI runs.  I want to avoid just using a string to prevent typo's from creating errors.  There would be several different VI's getting the list values from this text file.  Is this possible, or am I way off base?  Or does anyone have any other ideas or suggestions?
Thanks everyone,
q.

Thanks for the replies.  I had a chance to play with ring controls and updating the string array dynamically.
However, as I mentioned in my first post, one of the reasons I want to use dynamically updated lists is to have a readable drop down list in TestStand when you configure a step (i.e. Specify Module).  This would help serve as a part of a hardware abstraction layer, and for maintainability purposes we don't want to split the hardware map among a number of VI's.
Unfortunately, TestStand doesn't seem to recognize the string list from a ring control.  And as mentioned above, there are issues with updating Enums.  Is it possible to accomplish a way of dynamically populating this list in such a way that TestStand will recognize it?  Is there another control that would work better (e.g. list boxes, combo boxes, etc.)?
Thanks for your help,
q

Similar Messages

  • Than how can i get java class by using it's class file?

    Hi
    After compilation of a java program, it creates a class file.
    After getting class file suppose class file has been deleted.
    Than how can i get java class by using it's class file?
    Thanks in advance.

    get a decompiler and run your class file through it--I'll assume you want the source code back and that you are not trying to recover a missing class file by attempting to use the class file that is missing--if it's missing, then I've not a clue on how to get it back by using what is already missing.
    BTW: many of your compilers have source control--if it does, just restore your missing file.

  • Print to PDF - using Snow Leopard (Saving a PDF file when printing is not supported. Instead, choose

    i have a PDF form that i created that is used as a custom proposal that my company sends out to potential clients. the form in its editable state is only used internally. we recently upgraded to snow leopard, but prior to the upgrade, we were able to fill the custom proposal form out using adobe reader, and, as you well know, we weren't able to save that edited document as a PDF with the custom form fields filled out. our work around using adobe reader was to print to a pdf using the adobe pdf printer in the printer dialog. with the addition of snow leopard, however, instead of choosing the adobe pdf printer, we were to choose PDF from the bottom left corner, then Save As PDF, and it would spit out an uneditable pdf that then allowed us to email it to the potential client without them being able to edit it as well as have an internal, digital copy for our records instead of having lots of paper floating around (i know this is also doable using security that disallows the client certain editing privileges, but printing to a pdf is much quicker and more efficient, and the pdf security isn't really that secure at its best).
    in any case, i came across this gem of a post here on the support forums that installs another option from the PDF drop down on the bottom left of the print dialog menu that reads Save As Adobe PDF and is supposed to do exactly what i am trying to get it to do...print to a pdf file from adobe reader.
    http://kb2.adobe.com/cps/509/cpsid_50981.html    
    once i updated to acrobat 9.2 (as the link above suggests 9.1), however, the Save As Adobe PDF does appear in the print dialog menu, but it still gives me the same error that acrobat 8 - 9 gave me while using Snow Leopard — Saving a PDF file when printing is not supported. Instead, choose File > Save — and as i've already explained, you can't save an edited pdf form in reader (as i am the only one in the office with acrobat) and still keep the fields as you've entered them in. the only work around is to print to a pdf but is apparently having some recent problems.
    using acrobat, however, i know that i can save the editable pdf as a new file with the fields customized as i have left them, but it still saves it as an editable pdf and the print to a pdf option still remains the best option...that way we have digital copies internally that are uneditable that can be printed at any time or emailed to the client.
    how can i do print to a pdf, based on what i've written above, using snow leopard and acrobat and reader?

    A simple way is to flatten the form fields, which converts the field appearances to regular page contents. You can do this with JavaScript or PDF Optimizer (Advanced > PDF Optimizer > Discard Objects > Flatten form fields). A very nice script that adds a custom menu item can be found here: http://www.uvsar.com/projects/acrobat/flattener/

  • Variable  is used in description text Task description, but does not exist

    Hi,
    I am getting following error in the standard task 207914 ERMS_DECSN.
    Workflow Error
    Variable &REQREQ.REQUISITIONERUSER.ITSDESTINATIONSY& exists in description text Task description, but not in the container
    Message no. 5W146
    Diagnosis
    Variable  is used in description text Task description, but does not exist in the container.
    System Response
    The task could cause workflow errors.
    Procedure
    Correct description text Task description or add the variable to the container.
    Can anybody please guide step by step process to correct this error.
    Regards,
    Deepak

    Hi Deepak,
    I face a similar issue,Task description contains an element which is available in container, but during Check, it throws below error.
    Variable &ZINFO.REASON& exists in description text Task description, but not in the container
    but variable "&ZINFO.REASON&" is not accessed in Task description.
    suggest any ways to check the binding or adjust binding between workflow/task.
    Please provide a solution to fix this error or advice if this error can be ignored?

  • I'm using the sync option for when I'm not near my desktop and no matter what it won't work its telling me my account name or password is not correct and it is!

    I'm using the sync option for when I'm not near my desktop and no matter what it won't work its telling me my account name or password is not correct and it is!

    This is from my personal experience:
    It almost happens every time I tried to connect with Sync from my Android phone, the window asking me to enter my account name and password always shows up. And if I enter the information, it'll say I have the wrong password, etc. My workaround is to click the "cancel" button. But it does not cancel immediately. The window will stay on for a while (usually a few minutes), then it'll disappear and start connecting to Sync. And it'll connect and sync successfully.
    You can try this workaround but you have to be patient to wait for the window to disappear.
    I don't know what is the cause of this, but it has happened ever since FF4 for Mobile came out. I have searched around and couldn't find any solutions.

  • What are the limitations in terms of data size  or performance while using csv or text file as datasource?

    <p>Also what are the limitations in terms of data size  or performance related issues while using csv or text file?</p><p>Is it the best practice to use csv , text file to use as a datasource to improve performance?</p><p>Please Advice.... </p><p>&#160;</p>

    <p>Hi,</p><p>Create Same Data Input for CSV and Text File ,Create 2 different reports one for CSV and One for Text ,run them one you have done that.</p><p>Go to Report Menu and Select Performance Information .Use the Data in that to check which one is good datasource to improve performance</p><p>Cheers</p><p>Rahul</p>

  • Please help I just accidentally deleted a very very important note from my "Notes" on my iPhone 4s.  How can I get it back? Is there a "Trash" file somewhere for deleted notes?  Thank you, Susan

    Please help I just accidentally deleted a very very important note from my "Notes" on my iPhone 4s.  How can I get it back?
    Is there a "Trash" file somewhere for deleted notes?
    Thank you,
    Susan

    Had you never backed up the phone before? When you saw the iTunes logo and cable, the device was in recovery mode. The data was already lost. The only way to recover from that is to restore the device, which will delete all of your data. You will only be able to restore to your last backup, whenever that was. Sorry this happened, but this highlights the importance of doing regular backups. The backup is the only protection you have against a problem like this.

  • How can i change control values based on a read-in file?

    I understand that controls only have outputs and indicators only have inputs, but I'm looking for some help creating code that has the capabilities of both. Specifically and ideally, my front panel would allow the user to select an old spreadsheet file to read, and those values from the spreadsheet would be displayed. The user could then tweak those values to their liking, and then submit those tweaked values as a new file/overwrite the old/etc. The important part is the the indicating and controlling of the read in values.
    thanks
    Solved!
    Go to Solution.

    Using a local variable works well if I want to view and change a single value, but I want to view and change a few different values that are to be read in from a speadsheet. I have tried creating an array and then inserting numeric controls into the array, on the front panel. The code will run, but there is no output to the array control. I can't for the life of me pinpoint where the issue is.
    Is inserting multiple numeric controls into the array, not a good idea? Should I just create 3 separate numeric controls and local variables to get around this?
    Message Edited by csmrunman on 09-16-2009 11:48 AM
    Attachments:
    controlasindicator.vi ‏7 KB

  • With iPad 2 I can use Messages to text other iPhone users, but not others.

    With iPad 2 I can use Messages to text other iPhone users, but when I try others I get the big red x on the contact. I have upgrade to Iso 6. According to the help on Messages, it should have the capability to text outside Apple Products

    I suggest asking Verizon.  Standard SMS text messaging is a cellular carrier function.

  • How can I force Time Machine to use existing backup sparsebundle files?

    I backed up both my OSX Mountain Lion MBP and MacOSX Snow Leopard iMac to the same USB Disk. I then plugged this USB Disk into my Time Capsule, and configured Time Machine in both macs to use it through the network. But Time Machine insists on creating new backup sparsebundle files, ignoring the existing ones. How can I force Time Machine to use the existing backups.backupdb sparsebundle files instead of creating new ones?

    How can I force Time Machine to use the existing backups.backupdb sparsebundle files instead of creating new ones?
    You can't. Time Machine works differently over a network than it does with a locally-attached drive. What you could do is delete the folder named "Backups.backupdb" at the top level of the volume, which contains the backups you made via USB. You should then be able to backup to the same sparsebundle locally and over the network. But I wouldn't recommend doing that. Certainly don't do it unless you have at least one other complete backup (which you should have anyway.)

  • When I try to open firefox, I get a message that says, "firefox is already running" and to close it or restart my computer when it is NOT running, so I can't get on the internet through firefox. What is wrong?

    The information box pops up when I click on my desktop icon for firefox as well as if I try to access it in other ways. I have restarted my computer. I have tried removing firefox and redownloading it. No matter what I do, it still gives me a box saying it is already running, but not responding. When I pull up my taks bar, it is not running! I can't close it as the box suggests because it is not open to do it. I just keep getting a box saying it is already running no matter what I try to do, even though it is not running.

    I have tried everything I could to fix this, but some things require actually being on Firefox, and since I cannot get on, I cannot click on the tabs to do it. I have even totally uninstalled firefox, and that has not fixed this. I still get the same message that firefox is running and I need to close it or restart (which I have also tried dozens of times). I have removed things like Java, and that has not helped either. If I cannot even get on line in firefox, how can I fix this. I am not crazy about using internet explorer, but right now, it is my only option. I even tried to start in safe mode, and the same message box pops up!

  • How to open saved files using 'read from text file' function

    Hi everyone, I am having a hard time trying to solve the this particular problem ( probably because I am a newb to lanbview ). Anyway , I am able to save the acquired waveforms by using the 'Write to text file' icon. I did manually modify the block diagram of the 'Write to text file' icon and create the correct number of connector so as to make my program work. But now I have no idea on how to modify the block diagram of the 'Read from text file' block diagram to make my program 'open' my saved waveforms. Or i do not have to modify anything from the block diagram of the 'Read from text file'? Can anyone teach/help me connect up? Do i need the build array on the "open" page?
    Here are some screenshots on part of my program  
    let me know if you guys would need more information / screenshots thank you!
    Attachments:
    ss_save.jpg ‏94 KB
    ss_open.jpg ‏94 KB
    modified_writetotextfile.jpg ‏99 KB

    Ohmy, thanks altenbach. oh yeah i forgot about those sub VIs. will upload them now. Was rather demoralized after reading the comments and really struck me on how weak i'm at on labview really hope to get this done. But of course i have to study through and see how it works. Actually i am going to replace those 'signal generators sub vi' with ThoughtTechonology's sample code so i can obtain data waveforms real-time using Electrocardiography (ECG) ,Electromyography (EMG ) and Electroencephalography (EEG) hopefully i can find out how to connect the sample code.
    ( ps . cant connect it now unless my program is working otherwise labview will crash ) 
    ( p.s.s the encoder of my biofeedback trainer already acts as an DAQ so i wont need to place an DAQ assistant in my block diagram i suppose )
    The sample code of ThoughtTechnology is named as attachment.ashx.vi. too bad i cant use it and present it as my project
    Attachments:
    frequency detactor.vi ‏53 KB
    signal generator.vi ‏13 KB
    attachment.ashx.vi ‏40 KB

  • Using data in text file as indicator

    hi all  
    i want to know is there a way to use a text file and use the data in it to represent and name as the label of the indicator ?
    i have attached a sample text file , what i want to achieve is that as the first row of the text file is 2 3 4 6 , its should be represented in labview and also all the indicators representing the data should have the label as the data
    so when numeric indicator is displaying a value 2 it should also name the indicator 2
    also the file i am attaching has only 04 columns what if the number of columns are unknown , then how can i achieve the same thing .
    i hope i am clear in describing what i want to achieve
    with regards
    Regards
    Attachments:
    TEXT FILE.txt ‏1 KB

    Hi nolsqn,
    what about reading the file as array of strings (ReadFromSpreadsheetFile as 2D array of strings) and display the content in a table? Here you could easily use the first row of the text file for the column headers...
    Otherwise it would be a much harder job to "create" new indicators depending on the number of columns...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Using EXPDM genrating text file

    Dear All,
    Is it possible using EXPDP (Data Pump) in Oracle 10g or 11g we can export tables data in ASCII/Text file? Or using ImpDP can we impot any text file into tables etc.
    If any one yes then how?
    Thanks

    Data Pump provides an external tables access driver (ORACLE_DATAPUMP) that reads and writes files.
    [http://download-west.oracle.com/docs/cd/B12037_01/server.101/b10825/dp_overview.htm#sthref19]

  • I cant text flow using 3 different text files on the same document?????

    Im starting out with 3 different files of text saved as "tab delimited text" from excel, I open a document in ID with 107 pages and create 3 boxes in the master on top of a pdf. I then override all 107 pages so that the text I insert will flow to the next page and so on, once I paste the 2nd text file into the next text frame it skips the original 107 files and starts flowing into new pages. Im ready to pull my hair out, I have been trying to figure this out for 2 hours. I dont know what to do at this point. I think Im getting a migraine.
    I would have done a data merge on 2 of the files but the third HAS to be text flow (which gives me the same problem above) because it has to be physically changed to fit each page.

    Are you Placing the text from an external file, or pasting it from the clipboard?
    If Placing, move the loaded cursor inside one of the master frames on the first page, hold down the Shift key and click, being sure the cursor is not on any sort of guide. The entire text file will flow using the master text frames, and ID will add all the require pages to place all the text.
    If pasting, you can either override the frame on the first page only, or make a temporary first frame on the pasteboard. Paste into this frame, which will result in a red plus sign in the bottom right corner of the text frame indicating overset text. Switch to the Selection tool (black arrow) and click on the plus sign to pick up the overset text. Hover the new loaded cursor over the frame on the second page, or over the first page as above if you used a temporary frame, hodl the Shift key and click. Delete the temporary frame, if you used one, and the text will reflow to start in the first real frame, but you may have to pick up overset again in the last frame due to the reflow.

Maybe you are looking for

  • XP SP3: USB-drivers won't install

    I just got myself a 8900 Curve and want to connect it to my PC to transfer data, Sync it, update the OS... Mass Storage Device through the BB works perfectly, but the PC Sync Tool not. Windows XP SP3 detects New Hardware but can't find drivers. In De

  • LiveCycle Content Sevices ES used as a Web Content manager

    Is it possible or was the product meant to be integrated as a Web Content Management system. I was reading through a powerpoint presentation that was done by Marcel Boucher and it appears that this functionality was removed and not replaced. Does LC

  • Migration of 2lis_11_vahdr DS into BI7

    Dear Experts, I have issue with 2lis_11_vahdr data source. I hope this DS is not support BI7 directly, I relpicated it from R/3 and Migrated into BI7. Now while converting the existing Infosource into Transformations Iam getting fully mapped Transfer

  • How to set proxy for mail with Gmail account

    Hi, I'm using mail and set up a Gmail pop account. My mac is behind a proxy, say 192.168.0.1:808. I set the system http and https with the above address and can browse the internet with safari. But the mail app cannot receive or send any mails from t

  • Director 12 - Texture problems

    I'm having a problem with two textures getting swapped inside a Director12 .DCR. The first is a .JPEG skybox texture (1024x1024) which is imported as a cast member. The second is a .BMP 3D model texture (256x256) which is applied to the model in 3dsM