Change name of variable addressed programatically while looping

I am creating a vi which has to set up 24 channels of instrumentation with five different values for each channel.  I need to pass these values as variables to other stages of the vi.  
Is there a way to have the same basic variable name with a channel appended and then during the course of looping through all the channels address this variable with one object whose name changes on each loop.
For example,  I create InstrumentNameCh0 through InstrumentNameCh23 as variables,  is there a way for the loop to output to InstrumentNameCh"i" where "i" is the loop count.
Otherwise, I have to create 24 parallel structures differening only by name. 

Thanks Matt!
Don't know if it is getting close to the original query or not. Here is an image to go with my pvious outline for the AE.
Ben
Message Edited by Ben on 03-13-2009 02:34 PM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
AE.PNG ‏89 KB

Similar Messages

  • RE: 1) Changing name and IP address of an AIX 4.2 Server 2)Using NAT

    Daniel,
    you (normaly) just have to :
    1) edit the $FORTE_ROOT/fortedef.sh fileand change the value of variable
    FORTE_NS_ADDRESS
    2) shutdown and restart forte environment
    3) put the new values in the control panel of the client and run !
    It worked on our site with the same configuration (Aix 4.2)
    Good luck
    De : Daniel[SMTP:[email protected]]
    Répondre à : Daniel
    Date : vendredi 18 juin 1999 13:08
    A : [email protected]
    Cc : Jose Ignacio
    Objet : 1) Changing name and IP address of an AIX 4.2 Server 2)
    Using NAT to reach forte
    Hello Forte Users :
        I have 2 questions to make:
        1)
        I've installed a Forte Server Central Node (Release 3.0.F.2) in an
    IBM RS/6000  with OS AIX 4.2
        (The name of the server is Name_1 and the IP address is
    125.125.50.50 with mask 255.255.255.0)
        Nowadays we had to change the name and IP address of this server
    lets say to Name_2 and 125.125.60.60 with mask 255.255.255.0.
        After that we try to find any reference to old name and IP address
    in the forte directory and all of its subdirectories changing them to
    the new ones.
        After these changes we found than forte could'nt start the nodemgr
    server.
        We have too many reasons to avoid installing FORTE again.
        Does anybody know if I have to change anything more to make
    nodemgr server work.
        2)
        The second question is about NAT (Network Address Translation).
        To reach a Forte Server Central Node from a Forte Client we have
    to pass through a Firewall and NAT.
        We are researching and at this moment we can not reach the server
    from the client, has anybody any suggestion to correctly configure
    Forte (Client and Server) to use NAT between them.
        If anyone could help me I would be very pleased.
        Thank you very much in advance,
        Daniel GonzáLucas (EAM Sistemas Informáticos SL, Spain,
    e-mail: [email protected])
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    >> 15 Mins is not enough for completely the replication.
    >> use repadmin /syncall /aEpd   - for force replication.
    >> Wait 3 hrs minimum.
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
      LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • RE:Changing name and IP address of an AIX 4.2 Server2.

    Hi Daniel,
    we had similar problem on HP-Unix OS. The client
    changed the IP address of the server for some reason.
    Then we got 'Can not resolve the IP address' error
    (or something like that). Finally it turned out that
    the OS references more than one file to resolve the
    IP address. Somehow the second file (I am not Unix
    guru but my colleague said he never knew about it)
    had its properties changed to execute only. If you
    have the same problem you might do two things:
    1. Create small C program using GetHostByName method
    (it should have the same name on AIX I think).
    Execute it and see what the OS will say.
    2. Contact Forte tech support - they have that code.
    We were told by Forte this is the first thing Forte
    does when connecting.
    Hope that helps!
    Rumen
    DO YOU YAHOO!?
    Get your free @yahoo.com address at http://mail.yahoo.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    TomF:
    Yeah I know the listner SHOULD be the only thing that needs to know the server's network information. However, databases are big, complex pieces of software, and I'm just a bit paranoid that there's some system variable that needs to also get changed that I might be overlooking.
    You suggested I might need to change the global_name... Upon further research, I've found references to other variables that may need to change... local_listener, remote_listner, and dispatcher. (Note: I don't have the Oracle documentation handy so I can't verify how valid those are.)

  • Changing a dynamic variable to static while runtime

    How can I change a variable to be static runtime?
    I have a defined variable but I can't put data into it after a few calculations, but when I have put data into it I want to make sure that the data doesn't get overwritten. Is this possible?
    GTH

    Kinda, but not quite what I meant. I'll try to give a
    rough code example:
    public class Foo {
    int notToBeChanged;
    public Foo (int Bar) {
    notToBeChanged = bar * bar;
    // From here on it shall not be possible to change
    ge what's in notToBeChanged
    public void Bar () {
    notToBeChanged = 5 // Illegal!!
    Of course this is easily overcome by just being
    careful about how I code this. But what I'm worried
    about is that when someone else will come to do
    maintenance on my code that they won't be so careful.
    Heck, they won't even know that I don't want that
    variable changed.You can't change a variable to be static. Given what you've said, I don't think that is what you want. You can make a class immutable by not providing any capability to change the variables (no mutator methods).
    As far as protecting your code from other programmers who inherit it when they get the responsibility to maintain it ... you can't. Document your intent, and hope they are intelligent enough to read and understand.
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • In our program, we are concerned about reducing CPU work; how to wait until a boolean condition changes in a "while loop"?

    Is there a way to wait until a boolean condition changes (instruction is sent) in a "while loop" (because I want the program run until I press exit button)? Now it is consuming a lot of CPU because it is running the loop very fast waiting for instructions unless I stop the program.
    Thank you.

    Use /functions/time and dialog/wait until next millisecond multiple in the
    loop. Input 100ms.
    "mcdesm" wrote in message
    news:[email protected]..
    > In our program, we are concerned about reducing CPU work; how to wait
    > until a boolean condition changes in a "while loop"?
    >
    > Is there a way to wait until a boolean condition changes (instruction
    > is sent) in a "while loop" (because I want the program run until I
    > press exit button)? Now it is consuming a lot of CPU because it is
    > running the loop very fast waiting for instructions unless I stop the
    > program.
    >
    > Thank you.

  • Using while loops instead of for loops in arrays?

    I am new to java and doing a java tutorial on using arrays and for loops. What im trying to find out is how it is possible to use a while loop instead.
    I would be very grateful if anyone can suggest a way of changing my code to use a while loop.
    The code I have written is:
    public class DetermineGrade
    public static void main(String[]args)
    final char[] mark = {'A','B' ,'C' ,'D' ,'F' };
    char [] grade = new char[5];
    int [] Score ={95,35,65,75};
    for (int i=0; i<4; i++)
    if (Score >= 90)
    grade= mark[0] ;
    else if (Score >=80)
    grade = mark[1] ;
    else if (Score >=70)
    grade = mark[2] ;
    else if (Score >=60)
    grade = mark[3];
    else grade = mark[4];
    for (int i=0; i<4; i++)
    System.out.println("grade = " + Score + ", " + grade);
    Thankyou LB

    Im trying to underdstand the differences in the
    different loops. I can grasp the for loop but I dont
    see how a while loop works, or how it id different
    from the other?
    for (j = INIT; j < MAX; j++) {
        // do stuff
    }is the same as
    j = INIT;
    while (j < MAX) {
        // do stuff
        j++;
    }Lee

  • Beginner Question: Won't execute index to nested while loop

    Problem:
    I have a nested while loop inside a for loop. The for loop runs over and over from 0 to 587. I want the while loop to only execute when the for loop hits 587 by means of a continue condition which is on when 587 = [ i ], the for loop iteration number. However when I try to change the value sent to the while loop from 588 none of the probes execute. This is bad because the index only runs from 0 to 587 and never equals 588.
    Context:
    This is for real time video analysis. Trying to convert a 658 x 492 color video feed frame by frame into low resolution grayscale video. With this index error the output is currently the top left 1/4 of the image, repeated in a 2x2 grid on the image display.
    The VI is attached. I'm very appreciative of your thoughts on this.
    Attachments:
    Bin.vi ‏237 KB

    The for loop is responsible for processing a frame. At the completion of the execution of [ i ] from 0 to 587, the replace array VI outputs the final product of the frame. So every time [ i ] = 587, the replace array VI needs to send its array to the arraytoimage, which in turn must send the image to the image display.
    I got rid of the while loop and replaced it with the case structure. 
    Maybe the problem is with the false case of the case structure? I want to continue outputting the same image for the next [0, 586] each time after it sends an updated image on the [ i ] = 587 iteration.
    Attachments:
    Bin.vi ‏238 KB

  • Changing Domain Name and IP address of a server

    We have an Oracle 10G server (running on Windows) that needs to have its domain name and IP address changed. I did a search on this forum and found similar threads to this one (e.g. Rename server name & change domain Just wondering if anyone has any other comments to make that haven't been mentioned previously.
    Looks like on the server side, we just have to change the listener and tnsnames.ora file. Anything else we have to worry about? (Unfortunately this is something I've never done before.)

    TomF:
    Yeah I know the listner SHOULD be the only thing that needs to know the server's network information. However, databases are big, complex pieces of software, and I'm just a bit paranoid that there's some system variable that needs to also get changed that I might be overlooking.
    You suggested I might need to change the global_name... Upon further research, I've found references to other variables that may need to change... local_listener, remote_listner, and dispatcher. (Note: I don't have the Oracle documentation handy so I can't verify how valid those are.)

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can i change my icloud email address? i mis typed my name and wanted to change my icloud email address??, how can i change my icloud email address? i mis typed my name and wanted to change my icloud email address??

    hello guys ...i need any help or suggestions, how can i change my icloud email address?? i typed a w rong name by mistake?? can i change it and retype the correct one? thanks ...your suggestio is higly appreciated.

    That's definitely not supposed to happen.  You shouldn't have someone else's iCloud email linked to your ID.
    You'll have to get iCloud support to sort this one out.  The only way to contact them is to start here: http://www.apple.com/support/icloud/.  You'll have to provide your iPhone serial number.  Unless it's within the 90 day free support window, or you purchased AppleCare, there will be a charge.  I suppose you can plead your case when they answer that you shouldn't be charged as you didn't set up this address and it shouldn't have happened with your ID.

  • TS4020 Can I change my iCloud email address name without creating a new account?

    CCan I change my iCloud email address name without creating a new account?

    Once you have created an iCloud account and chosen an @icloud.com address to go with it you can't change the address (short of creating an entirely new account).
    However, all is not lost. You can add up to three 'email aliases' - these are additional addresses (not accounts) which deliver into the same inbox as the main account. (In fact it's a good idea to give out alias addresses, rather than the main address, because if they attract spam you can easily change them.) (New aliases can only be @icloud.com ones; @me.com addresses cannot now be created.)
    You should be aware before you start that once you've created an alias you cannot turn that address into a full iCloud account or move it to another account.
    More information on aliases here: http://help.apple.com/icloud/#mm6b1a490a

  • TS4002 Can I change my iCloud email address to a different name of mine ?

    Can I change my iCloud email address to a different name of mine ?

    You can't change your @icloud.com name

  • How come my local variable is not updating it's value with respect to what's happening in the while loop?

    Hello,
    I am trying to extract data out of a while loop as my declarations update with respect to the iteration number. I have attempted to use both local variables and shift registers, but with no luck.
    I have also done the following example: http://www.ni.com/white-paper/7585/en and it works like a charm.
    I attached the PNG file with local variable declaration circled in red. Will attach a VI in the next respnose.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    Local Variable.png ‏366 KB

    OK, looking at the code...
    Can you explain what it is supposed to do? What's the purpose of the value property node read which only seems to update an indicator.
    The inner while loop should proably be a FOR loop, because the number of iterations is known before the loop starts.
    Your use of formula nodes seems overly complicated.
    LabVIEW Champion . Do more with less code and in less time .

  • While Loop to Monitor a 1D 8Bit boolean Array for changes

    Hi;
    I need help in monitoring a 1D 8-bit boolean array for a value change. I think I need to use a while loop with shift registers???
    Any suggestions?
    Thank you,
    4BoysDaD

    Where are you going to put it in your code. It will depend on what you are already doing. Here is an example to show you how to do it with out shift registers.
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    Example.vi ‏8 KB
    Check of 1D Boolean Array has Changed.vi ‏8 KB

  • Change Host Name and IP Address on machine running WLS 9.2

    Hello,
    I am new to this community, so please forgive any unintended missteps.
    I have an installation of BEA WebLogic Server 9.2 running on Windows 2003 Server SP2. This installation is running on a virtual server, which was created using some VMware product that copies or clones production environments. The purpose of this new, cloned environment is to act as a development environment. This new DEV server has a different host name and IP address from the source PROD server.
    WLS is not starting up properly. It complains about the license.bea file not being valid. To try to fix that, I manually changed the IP address listed within that file, from that of the original system to that of the current system, but that did not change the error message I get during startup.
    I imagine that this instance of WLS needs to be re-licensed to account for the change in IP address. Besides that, are there any other configuration parameters in text files, registry settings, etc., that need to be modified in order to allow the new instance of WLS to work the same as the old instance?
    Please note that we want both DEV and PROD to run simultaneously, so we need to take steps to ensure they (and the applications running on WLS) don't talk to each other.
    I tried to search the BEA sites and found a few resources, but related to some other products (ALES?), not WLS.
    Thoughts, suggestions, feedback, or pointers to documentation would be greatly appreciated.
    Thanks,
    JPG.

    Hi JPG,
    The BEA license files are tied to IP address. Editing the license.bea to change the IP address file will not work.
    Any reason why you cannot use a 5 user dev license for your environment?
    If you break the 5 user limit then use IIS or Apache to front-end the the WLS instance.
    Cheers
    Mike

Maybe you are looking for