Need help: How to key in input array, save in a buffer, and extract them later?

Hi, I need help. I have several groups of data for input, and need to use them later in the same or different code. When I key in the input data, the code will ask the number of data group first, then in each group, there will be 6 data to key in, each has a specific variable name. The number of group and the data for each group will vary at each time running the code. The data group needs to be numbered sequently. After having all groups of data, these data will be sent to another sub VI to read. This sub VI needs to know each group number and each data of a group.
I think I should create a 2-D array to read these data in a do loop, but I can't let my do loop read data in each time. Then when I sent the data out, the next sub VI was confused by the sequence of the data group and the sequence of data in each group. Can someone help me or give me some example how to do it? Thank you very much for your help.
Message Edited by ccyang on 06-06-2006 10:37 AM

From what I understand of your explanation, an event structure might be
the way to go (LV 6+ I think).  Events could be based off of
keypresses in a particular control (a 2D array like you mentioned), and
once input in that particular field is complete, the user presses say
the 'enter' key, and you can use the "VKey" of the event data node to
determine which key is pressed (i.e. VKey = enter?).  From there,
you would continue to the next portion of data entry or processing of
entered information.
Hope this helps.

Similar Messages

  • How can I remove all messages, save to a DVD, and access them easily later?

    I recently dropped my .Mac account in order to use Gmail full time. I would like to be able to take those mac.com messages off of my computer--preferably saving them to a DVD--so that when I activate my Gmail account in Mail, they would be totally separate. I am also trying to save hard drive space.
    I've looked around about this, and even downloaded some Applescripts for Archiving mail, but those seem to continually make Mail crash (I have 3 years worth of email saved in Mail.app--about 3,000 emails). I have read enough about Backup to know that it saves things in strange/proprietary ways.
    Is the best plan simply to copy that ~/Library/Mail folder, straight up to a DVD, and then clear it off of my Mac? How do I do that without making Mail.app unstable? And will it be difficult to then read them from the DVD later if I need messages?

    ... and import its contents back into Mail whenever you wish ...
    You can also open individual .emlx message files within the copied mailboxes to read them, without first importing them back into Mail. However, by itself this isn't very practical because the files have names like "12345.emlx" that offer no clue about their content, so finding the message of interest among 3000 of them is a challenge.
    You might think that Spotlight would help with this, but in its normal state it excludes .emlx files from searches, so you can't simply do a Finder search on subject, content, etc. There are ways around this but none are simple:
    1. Use a Spotlight "raw query" search to find the messages. This avoids the exclusion of .emlx files that is tacked onto all normal Spotlight queries but requires knowledge of the syntax of raw queries. (To get an idea of how that looks, & to see the exclusions, you can do a "Get Info" on a Smart Folder. The raw query string is listed after the "Query:" entry in the General section.)
    2. Replace the ".emlx" extension with ".txt" or similar in the copied messages. (This could be done with an AppleScript using Finder.) Spotlight will then include the files in searches. In this case, opening the message file by default will be with TextEdit or similar, so you won't have access to "Reply" or similar features of Mail, but you will see the entire message, including the preference-like xml info about it that follows the message body in the raw .emlx file. As long as you don't alter the content, you can reimport the message into Mail by changing the extension back to ".emlx."
    3. Mimic what the Mail archive utilities do & construct a database that either relates the numbered .emlx files to their content or import entire files into database records & use its search features to find the messages of interest. This is appealing if you have a powerful database app like Filemaker & skills at database construction because you can construct any view of the info you want & organize it however you like. Obviously, if you don't, it would be simpler to buy a utility, which may offer other features that you might find useful.
    These alternatives would be most useful if you need to avoid reimporting large mailboxes back into Mail because of disk space concerns. They also avoid the perhaps considerable time it would take to reimport thousands of messages just to find one or two of interest. The second & third ones are somewhat self-contained & independent of Mail itself, which is both a strength & a weakness, depending on your needs.

  • I need help with Creating Key Pairs

    Hello,
    I need help with Creating Key Pairs, I generate key pais with aba provider, but the keys generated are not base 64.
    the class is :
    import java.io.*;
    import java.math.BigInteger;
    import java.security.*;
    import java.security.spec.*;
    import java.security.interfaces.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import au.net.aba.crypto.provider.ABAProvider;
    class CreateKeyPairs {
    private static KeyPair keyPair;
    private static KeyPairGenerator pairGenerator;
    private static PrivateKey privateKey;
    private static PublicKey publicKey;
    public static void main(String[] args) throws Exception {
    if (args.length != 2) {
    System.out.println("Usage: java CreateKeyParis public_key_file_name privete_key_file_name");
    return;
    createKeys();
    saveKey(args[0],publicKey);
    saveKey(args[1],privateKey);
    private static void createKeys() throws Exception {
    Security.addProvider(new ABAProvider());
    pairGenerator = KeyPairGenerator.getInstance("RSA","ABA");
    pairGenerator.initialize(1024, new SecureRandom());
    keyPair = pairGenerator.generateKeyPair();
    privateKey = keyPair.getPrivate();
    publicKey = keyPair.getPublic();
    private synchronized static void saveKey(String filename,PrivateKey key) throws Exception {
    ObjectOutputStream out= new ObjectOutputStream(new FileOutputStream(filename));
    out.writeObject(key);
    out.close();
    private synchronized static void saveKey(String filename,PublicKey key) throws Exception {
    ObjectOutputStream out= new ObjectOutputStream( new FileOutputStream(filename));
    out.writeObject(key);
    out.close();
    the public key is:
    �� sr com.sun.rsajca.JSA_RSAPublicKeyrC��� xr com.sun.rsajca.JS_PublicKey~5< ~��% L thePublicKeyt Lcom/sun/rsasign/p;xpsr com.sun.rsasign.anm����9�[ [ at [B[ bq ~ xr com.sun.rsasign.p��(!g�� L at Ljava/lang/String;[ bt [Ljava/lang/String;xr com.sun.rsasign.c�"dyU�|  xpt Javaur [Ljava.lang.String;��V��{G  xp   q ~ ur [B���T�  xp   ��ccR}o���[!#I����lo������
    ����^"`8�|���Z>������&
    d ����"B��
    ^5���a����jw9�����D���D�)�*3/h��7�|��I�d�$�4f�8_�|���yuq ~
    How i can generated the key pairs in base 64 or binary????
    Thanxs for help me
    Luis Navarro Nu�ez
    Santiago.
    Chile.
    South America.

    I don't use ABA but BouncyCastle
    this could help you :
    try
    java.security.Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
    java.security.KeyPairGenerator kg = java.security.KeyPairGenerator.getInstance("RSA","BC");
    java.security.KeyPair kp = kg.generateKeyPair();
    java.security.Key pub = kp.getPublic();
    java.security.Key pri = kp.getPrivate();
    System.out.println("pub: " + pub);
    System.out.println("pri: " + pri);
    byte[] pub_e = pub.getEncoded();
    byte[] pri_e = pri.getEncoded();
    java.io.PrintWriter o;
    java.io.DataInputStream i;
    java.io.File f;
    o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pub64"));
    o.println(new sun.misc.BASE64Encoder().encode(pub_e));
    o.close();
    o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pri64"));
    o.println(new sun.misc.BASE64Encoder().encode(pri_e));
    o.close();
    java.io.BufferedReader br = new java.io.BufferedReader(new java.io.FileReader("d:/pub64"));
    StringBuffer keyBase64 = new StringBuffer();
    String line = br.readLine ();
    while(line != null)
    keyBase64.append (line);
    line = br.readLine ();
    byte [] pubBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
    br = new java.io.BufferedReader(new java.io.FileReader("d:/pri64"));
    keyBase64 = new StringBuffer();
    line = br.readLine ();
    while(line != null)
    keyBase64.append (line);
    line = br.readLine ();
    byte [] priBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
    java.security.KeyFactory kf = java.security.KeyFactory.getInstance("RSA","BC");
    java.security.Key pubKey = kf.generatePublic(new java.security.spec.X509EncodedKeySpec(pubBytes));
    System.out.println("pub: " + pubKey);
    java.security.Key priKey = kf.generatePrivate(new java.security.spec.PKCS8EncodedKeySpec(priBytes));
    System.out.println("pri: " + priKey);
    catch(Exception e)
    e.printStackTrace ();
    }

  • My Creative Cloud subscription has expired, and I assigned the monthly payment, but I can not open any progam creative cloud, I need help how to solve this problem

    my Creative Cloud subscription has expired, and I assigned the monthly payment, but I can not open any progam creative cloud, I need help how to solve this problem

    Carlos-
    Start by signing out and back in to see if it will see the subscription: 
    How to sign in and sign out of creative cloud (activate/deactivate)
    If the apps are installed fine and close after launch see this link:
    CC applications close immediately after launch
    If the problem is something different, please let us know the error you see or what is happening on the screen so we can advise  you on a solution
    Pattie

  • Hi, I have this green mark (with pointing arrow looks like a link) on some words show on my window screen when I open a web page, I wonder if it is a virus link or such. Need help how to get rid of it. Thanks

    Hi, I have this green mark (with pointing arrow looks like a link) on some words show on my window screen when I open a web page, I wonder if it is a virus link or such. Need help how to get rid of it. Here's the example:
    WING
    GAMES
    MAJORITY
    Thanks

    If the third link you posted (the link containing the word "majority") does not look like the following then you inadvertently installed adware.
    That particular page should resemble the following:
    The word "majority" in the third paragraph should not be a link and should not have the green icon associated with it.
    To learn how this may have occurred, and how to prevent it from occurring in the future, read How to install adware
    Most so-called "news" websites are nothing more than entertainment outlets that cater to prurient interests, and contain advertisements that leave the user about three clicks away from installing junk. If you decide to frequent those websites, Safari's "Reader" feature helps minimize that exposure.
    Try it:

  • Mail server not responding. Need help how to verify my account

    Mail server not responding. Need help how to verify my account

    There are instructions on this page for how to create a new account without giving credit card details (the instructions won't work with existing accounts) : http://support.apple.com/kb/HT2534
    Unless an account is created via those instructions then credit card details will need to be entered on it before the account can be used.

  • How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    Try asking at ifixit.com. The iPhone is not considered user servicable. You're not going to get much help on an Apple sponsored forum.

  • Need help how to use itunes card to download music

    Need help how to use itunes card to download music

    If you want to add the iTunes card to your account, then in the iTunes app on the iPad you should be able to scroll to the bottom of the Music tab and there should be a Redeem button - there is more info here : http://support.apple.com/kb/HT1574

  • I have I pad one use iOS 5.1.1 i want update to iOS 8 itry a lot time but no possible  i need  help how ican doit

    I have I pad one use iOS 5.1.1 i want update to iOS 8 itry a lot time but no possible  i need  help how ican doit.

    The iPad 1 can not be upgraded beyond 5.1.1.

  • I need help, How could I add Aliases to Local Administrator account via terminal commands???

    I need help, How could I add Aliases to Local Administrator account via terminal commands???
    I want to use commands to add alias for existing administrator account remotly by using ARD.
    Thanks.

    Hi,
    a Windows Domain Controller does not have any local user or groups. So you might add the user to the admin group at Domain level.
    B RGDS,
    Gregor
    Edited by: Gregor Gasper on Jan 9, 2009 1:44 PM

  • HT203200 I need help on purchasing a game I forgot my security question answers. and it's been awhile since I downloaded anything.. how do I find out the answers or change them without knowing the old answers??

    I need help on purchasing a game I forgot my security question answers. and it's been awhile since I downloaded anything.. how do I find out the answers or change them without knowing the old answers??

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro?  All my apps I was used in my iPad, thanks guys!!!!

    The Mac OS X and iOS versions are separate products

  • Hi..i am trying to login i message but i cant access ,it thing i forgot my password number, please i need help,how i can reset new password number. please i need help.

    hi..i am trying to login i message but i cant access ,it thing i forgot my password number, please i need help,how i can reset new password number. please i need help.

    Go here.
    Good luck,
    Clinton

  • Need help how to upload a PDF to an internet site

    I'm applying for jobs on my iphone 5 and some websites need me to upload a resume... I click upload and my photo album comes up! I have PDFs of my resume saved on an app but I can't work out how to upload them on the websites? Any1 know an App or solution

    Duplicate post NEED HELP: HOW TO OPEN A PDF IN ESS (EMPLOYEE SELF SERVICE)
    --Shiv                                                                                                                                                                                               

  • Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait

    Need Help ASAP  my State tax form is in a PDF file and the attachment in my email says Please wait...
    I tried downloading updates like it said to but it still will not display the document.  How do I print the PDF file ASAP

    Can you give us a LOT more info?
    What email client? What version of Reader (I can only assume you even have Reader at this point)?
    Please wait? I'm sure it says more than that, right?
    Have you tried simply saving the PDF (it IS a PDF correct?) to your desktop and opening it from there?
    Did you get this form from the IRS or did it come from somewhere else? If the IRS again, what version of Reader?
    Help us help you.

Maybe you are looking for

  • ABAP for checking data in a characteristic

    Hi Experts, i want to load datas into a cube from a flat file, but I need to check whether the characteristic value (e.g. for 0material) I load is already in the characteristic (0material) or not. If yes, I have to get an error msg, and these records

  • Storing Uploaded Audio Files in Your Database

    I have been using the cffile tag to upload files into a directory on the server and then writing the details of that file into a database, but I would like to now instead of uploading and writing the file to a directory, I would like to write that fi

  • FORM_TRIGGER_FAILUER does a Rollback of posted data

    Hi How can i stop execution a trigger code with RAISE FORM_TRIGGER_FAILURE but not to ROLLBACK the posted data? I posted the data in a second form which is called via CALL_FORM from the start-form which raises now the FORM_TRIGGER_FAILURE. Before the

  • DDL view dependancy problem

    I have a child view with requires a parent view. When I use the Data Modeler to create the DDL statements the child view gets created before the parent view, which results in an error: SQL Error: ORA-00942: table or view does not exist 00942. 00000 -

  • Pagination always resetting

    My pagination keeps resetting itself on every SQL query updateable report page. When I query a table it will pull up the correct amount of data (say: 1-10 of 60). However, when I try to go to the next bunch of 10 using the pagination arrows, the page