Simple for you, hard for me

I have 3 arrays:
Array A
Array B
Array C
I want to read through a text file. e.g.
hello
my
name
is
goofy
and
i
like
to
eat
pies
for
dinner
as
well
as
drinking
water
I want to place the 1st line in Array A, the 2nd line in Array B, then the 3rd line in Array C
Then I want to place the 4th line in to position 1 in Array A, then I want to put the 5th line into position 1 in Array B, then I want to put the 6th line into position 1 in Array C
And so on until I have the following:
Array A Array B Array C
hello my name
is goofy and
I like to
eat pies for
dinner as well
as drinking water
Can someone tell me the most basic way to do this. By basic, i mean the easiest to get my young head around

editing some simple int should work fine.
int whateverYouWannaCallIt = 0;
FileInputStream fin = null;
String     line;
StringBuffer s = new StringBuffer();
try
  fin = new FileInputStream(filename);
catch (Throwable e)
  System.out.println("Unable to open " + filename);
BufferedReader dis = new BufferedReader(new InputStreamReader(fin));
try
while ((line = dis.readLine()) != null)
  if(whateverYouWannaCallIt == 0)
    ArrayA = line;
  else if(whateverYouWannaCallIt == 1)
    ArrayB = line;
  else if(whateverYouWannaCallIt == 2)
    ArrayC = line; 
  whateverYouWannaCallIt ++;
  if(whateverYouWannaCallIt >= 3)
    whateverYouWannaCallIt = 0;
fin.close();
.honestly, this prolly isn't the best method. This works nicely if you know for a fact that you will only have 3 arrays. But if you want it to dynamically account for how many ever arrays there are..I'd advise using a 2D array, still iterating your "whateverYouWannaCallIt" variable and using that as the first index of your 2D array..then just increment it the same way, and change the check from if it >= 3 to if it >= numOfArrays or something...

Similar Messages

  • Easy Question for you hard programmers

    Do I have to do something special to read from a file using Fort�? My program compiles fine, and it'll even run at a prompt or in TextPad, but when I run it in Fort�, it throws a FileNotFoundException.
    Help Appreciated.

    You do have to look in the correct directory for the
    file, but that's true whether you are using Forte or
    not. Perhaps you are not specifying any directory
    path and you don't know what Forte uses as its current
    directory?I've run into the same problem with Forte when I try to use ClassLoader.findResource to find a file. I never did figure out where it's supposed to be, even if I modifed the classpath. However, it worked when I specified a specific file path, i.e. starting with C:\ etc etc. What's annoying is that you of course have to escape the backslashes. C:\\dir\\subdir.... etc. yuck.

  • Challange for you, help for me! java program

    I am a beginning java student and desparately (again) in help of someone who will check my java program. See below what they want from me, and try to make a program of it that works in all the ways that are asked. Thank you for helping me, i am running out of time.
    Prem Pradeep
    [email protected]
    Catalogue Manager II
    Specification:
    1.     Develop an object to represent to encapsulate an item in a catalogue. Each CatalogueItem has three pieces of information: an alphanumeric catalogue code, a name, and a price (in dollars and cents), that excludes sales tax. The object should also be able to report the price, inclusive of a 15% sales tax, and the taxed component of the price.
    2.     Data input will come from a text file, whose name is passed in as the first command-line argument to the program. This data file may include up to 30 data items (the program will need to be able to support a variable number of actual items in the array without any errors).
    3.     The data lines will be in the format: CatNo:Description:Price Use a StringTokenizer object to separate these data lines into their components.
    4.     A menu should appear, prompting the user for an action:
    a.     Display all goods: this will display a summary (in tabulated form) of all goods currently stored in the catalogue: per item the category, description, price excluding tax, payable tax and price including tax.
    b.     Dispfay cheapest/dearest goods: this will display a summary of all the cheapest and most expensive item(s) in the catalogue. In the case of more than one item being the cheapest (or most expensive), they should all be listed.
    c.     Sort the list: this will use a selection sort algorithm to sort the list in ascending order, using the catalogue number as the key.
    d.     Search the list: this will prompt the user for a catalogue number, and use a binary search to find the data. If the data has not yet been sorted, this menu option should not operate, and instead display a message to the user to sort the data before attempting a search
    5.     Work out a way to be able to support the inc tax/ex tax price accessors, and the tax component accessor, without needing to store any additional information in the object.
    6.     Use modifiers where appropriate to:
    a.     Ensure that data is properly protected;
    b.     Ensure that the accessors and mutators are most visible;
    c.     The accessors and mutators for the catalogue number and description cannot be overridden.
    d.     The constant for the tax rate is publicly accessible, and does not need an instance of the class present in order to be accessible.
    7.     The program should handle all exceptions wherever they may occur (i.e. file 1/0 problems, number formatting issues, etc.) A correct and comprehensive exception handling strategy (leading to a completely robust program) will be necessary and not an incomplete strategy (i.e. handling incorrect data formats, but not critical errors),
    Sample Execution
    C:\> java AssignmentSix mydata.txt
    Loading file data from mydata.txt ...17 item(s) OK
    CATALOGUE MANAGER: MAIN MENU
    ============================
    a) display all goods b) display cheapest/dearest goods
    c) sort the goods list d) search the goods list
    e) quit
    Option: d
    The goods cannot be searched, as the list is not yet sorted.
    CATALOGUE MANAGER: MAIN MENU
    ============================
    a) display all goods b) display cheapest/dearest goods
    c) sort the goods list d) search the goods list
    e) quit
    Option: b
    CHEAPEST GOODS IN CATALOGUE
    Cat      Description      ExTax      Tax      IncTax
    BA023      Headphones      23.00      3.45      26.45
    JW289      Tape Recorder     23.00      3.45      26.45
    MOST EXPENSIVE GOODS IN CATALOGUE
    Cat      Description      ExTax      Tax      IncTax
    ZZ338      Wristwatch      295.00 44.25      339.25
    CATALOGUE MANAGER: MAIN MENU
    ============================
    a) display all goods b) display cheapest/dearest goods
    c) sort the goods list d) search the goods list
    e) quit
    Option: c
    The data is now sorted.
    CATALOGUE MANAGER: MAIN MENU
    ============================
    a) display all goods b) display cheapest/dearest goods
    c) sort the goods list d) search the goods list
    e) quit
    Option: d
    Enter the catalogue number to find: ZJ282
    Cat Description ExTax Tax IncTax
    ZJ282 Pine Table 98.00 14.70 112.70
    CATALOGUE MANAGER: MAIN MENU
    ============================
    a) display all goods b) display cheapest/dearest goods
    c) sort the goods list d) search the goods list
    e) quit
    Option: e
    Here you have the program as far as I could get. Please try to help me make it compact and implement a sorting method.
    Prem.
    By the way: you can get 8 Duke dollars (I have this topic also in the beginnersforum)
    //CatalogueManager.java
    import java.io.*;
    import java.text.DecimalFormat;
    import java.util.StringTokenizer;
    public class CatalogueManager {
    // private static final double TAXABLE_PERCENTAGE = 0.15;
    // Require it to be publicly accessible
    // static means it is class variable, not an object instance variable.
    public static final double TAXABLE_PERCENTAGE = 0.15;
    private String catalogNumber;
    private String description;
    private double price;
    /** Creates a new instance of CatalogueManager */
    public CatalogueManager() {
    catalogNumber = null;
    description = null;
    price = 0;
    public CatalogueManager(String pCatalogNumber, String pDescription, double pPrice) {
    catalogNumber = pCatalogNumber;
    description = pDescription;
    price = pPrice;
    // the mutators must be most visible
    // the final keyword prevents overridden
    public final void setCatalogNumnber(String pCatalogNumber) {
    catalogNumber = pCatalogNumber;
    // the mutators must be most visible
    // the final keyword prevents overridden
    public final String getCatalogNumber() {
    String str = catalogNumber;
    return str;
    // the mutators must be most visible
    // the final keyword prevents overridden
    public final void setDescription(String pDescription) {
    description = pDescription;
    // the accessors must be most visible
    // the final keyword prevents overridden
    public final String getDescription() {
    String str = description;
    return str;
    // If the parameter is not a double type, set the price = 0;
    // the mutators must be most visible
    public boolean setPrice(String pPrice) {
    try {
    price = Double.parseDouble(pPrice);
    return true;
    catch (NumberFormatException nfe) {
    price = 0;
    return false;
    // the accessors must be most visible
    public double getPrice() {
    double rprice = price;
    return formatDouble(rprice);
    double getTaxAmount(){
    double rTaxAmount = price * TAXABLE_PERCENTAGE;
    return formatDouble(rTaxAmount);
    double getIncTaxAmount() {
    double rTaxAmount = price * (1 + TAXABLE_PERCENTAGE);
    return formatDouble(rTaxAmount);
    double formatDouble(double value) {
    DecimalFormat myFormatter = new DecimalFormat("###.##");
    String str1 = myFormatter.format(value);
    return Double.parseDouble(str1);
    public static void main(String[] args) throws IOException {
    final int MAX_INPUT_ALLOW = 30;
    int MAX_CURRENT_INPUT = 0;
    FileReader fr;
    BufferedReader br;
    CatalogueManager[] catalogList = new CatalogueManager[MAX_INPUT_ALLOW];
    String str;
    char chr;
    boolean bolSort = false;
    double cheapest = 0;
    double mostExpensive = 0;
    String header = "Cat\tDescription\tExTax\tTax\tInc Tax";
    String lines = "---\t-----------\t------\t---\t-------";
    if (args.length != 1) {
    System.out.println("The application expects one parameter only.");
    System.exit(0);
    try {
    fr = new FileReader(args[0]);
    br = new BufferedReader(fr);
    int i = 0;
    while ((str = br.readLine()) != null) {
    catalogList[i] = new CatalogueManager();
    StringTokenizer tokenizer = new StringTokenizer(str, ":" );
    catalogList.setCatalogNumnber(tokenizer.nextToken().trim());
    catalogList[i].setDescription(tokenizer.nextToken().trim());
    if (! catalogList[i].setPrice(tokenizer.nextToken())){
    System.out.println("The price column cannot be formatted as dobule type");
    System.out.println("Application will convert the price to 0.00 and continue with the rest of the line");
    System.out.println("Please check line " + i);
    if (catalogList[i].getPrice() < cheapest) {
    cheapest = catalogList[i].getPrice();
    if (catalogList[i].getPrice() > mostExpensive) {
    mostExpensive = catalogList[i].getPrice();
    i++;
    fr.close();
    MAX_CURRENT_INPUT = i;
    catch (FileNotFoundException fnfe) {
    System.out.println("Input file cannot be located, please make sure the file exists!");
    System.exit(0);
    catch (IOException ioe) {
    System.out.println(ioe.getMessage());
    System.out.println("Application cannot read the data from the file!");
    System.exit(0);
    boolean bolLoop = true;
    BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
    do {
    System.out.println("");
    System.out.println("CATALOGUE MANAGER: MAIN MENU");
    System.out.println("============================");
    System.out.println("a) display all goods b) display cheapest/dearest goods");
    System.out.println("c) sort the goods list d) search the good list");
    System.out.println("e) quit");
    System.out.print("Option:");
    try {
    str = stdin.readLine();
    if (str.length() == 1){
    str.toLowerCase();
    chr = str.charAt(0);
    switch (chr){
    case 'a':
    System.out.println(header);
    System.out.println(lines);
    for (int i = 0; i < MAX_CURRENT_INPUT; i++){
    System.out.println(catalogList[i].getCatalogNumber() + "\t" +
    catalogList[i].getDescription() + "\t" +
    catalogList[i].getPrice() + "\t" +
    catalogList[i].getTaxAmount() + "\t" +
    catalogList[i].getIncTaxAmount());
    System.out.println("");
    break;
    case 'b':
    System.out.println("");
    System.out.println("CHEAPEST GOODS IN CATALOGUE");
    System.out.println(header);
    System.out.println(lines);
    for (int i = 0; i < MAX_CURRENT_INPUT; i++){
    if (catalogList[i].getPrice() == cheapest){
    System.out.println(catalogList[i].getCatalogNumber() + "\t" +
    catalogList[i].getDescription() + "\t" +
    catalogList[i].getPrice() + "\t" +
    catalogList[i].getTaxAmount() + "\t" +
    catalogList[i].getIncTaxAmount());
    System.out.println("");
    System.out.println("MOST EXPENSIVE GODS IN CATALOGUE");
    System.out.println(header);
    System.out.println(lines);
    for (int i = 0; i < MAX_CURRENT_INPUT; i++){
    if (catalogList[i].getPrice() == mostExpensive) {
    System.out.println(catalogList[i].getCatalogNumber() + "\t" +
    catalogList[i].getDescription() + "\t" +
    catalogList[i].getPrice() + "\t" +
    catalogList[i].getTaxAmount() + "\t" +
    catalogList[i].getIncTaxAmount());
    System.out.println("");
    break;
    case 'c':
    if (bolSort == true){
    System.out.println("The data has already been sorted");
    else {
    System.out.println("The data is not sorted");
    break;
    case 'd':
    break;
    case 'e':
    bolLoop = false;
    break;
    default:
    System.out.println("Invalid choice, please re-enter");
    break;
    catch (IOException ioe) {
    System.out.println("ERROR:" + ioe.getMessage());
    System.out.println("Application exits now");
    System.exit(0);
    } while (bolLoop);

    One thing you're missing totally is CatalogueItem!! A CatalogueManager manages the CatalogueItem's, and is not an CatalogueItem itself. So at least you have to have this one more class CatalogueItem.
    public class CatalogueItem {
    private String catalogNumber;
    private String description;
    private double price;
    //with all proper getters, setters.
    Then CatalogueManager has a member variable:
    CatalogueItem[] items;
    Get this straight and other things are pretty obvious...

  • Easy for some, hard for me...MPLS and LAN

    Based on the attached diagram, I need site 2's pc to use site 1's firewall for internet access. If you had 2 factory fresh L3 poe switches, how would you program them to get the needed results?
    PS anything on the diagram can be changed (ip addreses, GW's, VLAN's etc)

    Check the routing tables on your firewall.  Make sure there is a route to Site B.  It sounds like your firewall might not know that Site B is "inside" instead of "outside".  So when you ping the inside interface of your firewall from Site B, it's sending the reply to it's default router - the outside.  You may need to put a couple of static router statements on your firewall like:
    route 192.138.4.0/24 inside
    route 10.14.2.0/24 inside
    I have no idea of the syntax for Sonicwall's so you'll have to figure that part out. 
    If this posts answers your question or is helpful, please consider rating it and/or marking as answered.

  • Reflect : challenge for you, help for me

    i use reflect to read info from a .class file, it works well.
    only problem is reflect doesn't know inner class. e.g.
    public clsss TopClass
    class InnerClassBank
    //somethings here
    reflect doesn't know that class InnerClassBank exists inside TopClass (any others are ok: e.g. methods and fields etc.)
    i am sure class InnerClassBank is there inside TopClass.class because i see it from input stream (open file TopClass.class as file stream).
    who knows how to read inner class from a .class file by reflect or other ideas except file stream?

    This works for me:
    // class to test with
    class Outer
        public int field1;
        public int field2;
        class Inner1{}
        class Inner2{}
        void Method1(){}
        void Method2(){}
    // test class
    public class ReflectTest
        public static void main(String[] args)
            try
                Field[] fields=Class.forName("Outer").getDeclaredFields();
                Method[] methods=Class.forName("Outer").getDeclaredMethods();
                Class[] classes=Class.forName("Outer").getDeclaredClasses();
                for(int i=0;i<fields.length;i++)
                    System.out.println(fields.toString());
    for(int i=0;i<methods.length;i++)
    System.out.println(methods[i].toString());
    for(int i=0;i<classes.length;i++)
    System.out.println(classes[i].toString());
    catch(Exception ex)
    ex.printStackTrace();
    output
    public int Outer.field1
    public int Outer.field2
    void Outer.Method1()
    void Outer.Method2()
    class Outer$Inner2
    class Outer$Inner1

  • Easy to fix for you, not for me. 2 small syntax errors.

    My code is:
    private var soundsVector:Vector.[sound1, sound2, sound3, sound4, sound5, sound6, sound7]
    The error message says:
    1086: syntax error: Expecting semicolon before rightbracket
    1084: syntax error: Expecting identifier before leftbracket.
    Can anyone help me by showing what changes i need to make? Thanks.

    How about this:
    private var soundsVector2:Vector[sound1, sound2, sound3];
    Other sample code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
         creationComplete="init()">
    <mx:Script>
        <![CDATA[
    private var soundsVector1:Vector;
    private var soundsVector2:Vector[sound1, sound2, sound3];
    private var sound1:Sound = new Sound();
    private var sound2:Sound = new Sound();
    private var sound3:Sound = new Sound();
    private function init():void{
         soundsVector1 = new Vector([sound1, sound2, sound3]);
        ]]>
    </mx:Script>
    </mx:Application>

  • Video tutorals? Are there any specifically for PS Touch for Phone?

    Does anyone know of any video tutuorials specifically related to Touch for Phone please? (I'm running Android in case theres a difference with iPhone version)
    I've tried adobe TV but any updated videos that might be relevant have 404 errors. see http://tv.adobe.com/watch/creative-cloud-creative-pages/adobe-photoshop-touch-overview-vid eo/
    These dont seem to be specifically relevant to the Phone version
    http://tv.adobe.com/show/learn-photoshop-touch/
    In app help file is rather basic.
    Thanks.
    Dave.

    Hi Dave,
    I have a couple of suggestions for you. For Getting Started tutorials, check out these 5 below. They are specially designed for the new phone verison of Photoshop Touch:
    Starting a new project
    Using the tools
    Using Layers
    Creating Selections
    Saving & Sharing
    For video tutorials of specific techniques, you could watch the videos in the Learn Photoshop Touch show on Adobe TV. Those videos were made for the tablet version of Photoshop Touch. Most of the functionality is the same but the interface is slightly different.
    Finally, if there is a specific technique you are looking for, ask the folks here in this forum for suggestions. There are many creative and artistic people in this community with great tutorial ideas.
    I hope this helps,
    Luanne

  • How do you find the right replacement for a hard drive

    i have a 2007 macbook and the hard drive just went out and i want to find a new one that would be combatible

    For a new hard drive try Newegg.com http://www.newegg.com/Store/SubCategory.aspx?SubCategory=380&name=Laptop-Hard-Dr ives&Order=PRICE
    Or OWC for regular hard drives and SSDs  http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    Here are instructions on replacing the hard drive in a MacBook with a removable battery. http://creativemac.digitalmedianet.com/articles/viewarticle.jsp?id=45088
    After you put in your new hard disk put your install DVD into the optical drive (CD/DVD drive) and reboot. Be sure to either use the disc that came with your Mac, or, if you installed a later Mac OS X version from disc, use the newer disc. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option Key until the Install Disk shows up) until the apple shows up. That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window.
    Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. You should see your hard drive in the left hand column along with your other drives. Click on the drive and select the Erase tab. Set the format value to Mac OS Extended (Journaled) and click the Erase button. After that has finished select the Partition tab. Type in a Name for your hard drive and select how many partitions you want from the Volume Scheme. The usual setting is one partition. Click on the Options button after you've selected a partition to make sure it's set for GUID. Then click the Apply button and after the Partitioning is done quit Disk Utility.
    You can now follow the instructions on the install screen

  • How do you display the capacity/free space for the hard drive......

    How do you display the capacity/free space for the hard drive on the desktop, under the hard drive icon.... I have seen this done, but I am not seeing any options to do so.... thanks.

    View, Show View Options…, Show item info checkbox.

  • Easy for you but hard for me

    I am sure this will be a simple issue for you, but I am not an experienced Oracle person. I run SQL reports from an Oracle database every night for work. Now my bosses have put a large LCD monitor on the production floor and want the data from the Oracle DB to be shown on the monitor. They would like it presented in easy to read graphs or something that can be understood by a non technical person. The data must update around every 15 minutes. As I said, I have the SQL scripts already and I am wondering if there is an application I can use to do this sort of thing. Any ideas would be greatly appreciated.

    Here is one of the shorter SQL scripts and a few lines of the results from that script:
    SELECT distinct Unit_status.serial_number, to_char(Unit_status.modified_date, 'DD/MON/YY'), Unit_status.model
    FROM
    unit_status
    WHERE Unit_status.process = 'FQA'
    AND Unit_status.pass_fail_indicator = 'P'
    and unit_status.modified_date between
    to_date('17-FEB-08 00:00','DD-MON-YY HH24:MI') and to_date('23-FEB-08 23:59','DD-MON-YY HH24:MI')
    SERIAL_NUMBER     TO_CHAR(UNIT_STATUS.MODIFIED_D     MODEL
    356433013809929     17/FEB/08     TMO5300BABLK
    011288000241271     17/FEB/08     TMO2610BABLK
    356433012117548     17/FEB/08     TMO5300BABLK
    356433010946435     17/FEB/08     TMO5300BABLK
    354829011549759     17/FEB/08     ATT6102IABLK
    352268015709352     17/FEB/08     ATT6102IABLK
    355536014470003     17/FEB/08     TMO6133BABLK

  • Do the movies that you can buy for ipad have subtitles for the hard of hearing?

    Do the movies you buy on iTunes have subtitles for the hard of hearing ?

    Tap bubble on bottom right for audio and sub-title (tap to enlarge image)

  • A simple script for you, a giant script for me-

    I like scripts very much but scripting does not seems to like me! Can anyone help me and write a script for me? What I need is this:
    1. Ungroup everything in a spread
    2. A loop that goes through every text frame in the spread and, at the end of the text contained in each of those frames inserts a blank paragraph. (The frames contains text and inline graphics)
    This may seems strange but is what I need.
    Best regards and thank you in advance
    Maria

    I like scripts very much but scripting does not seems to like me! Can anyone help me and write a script for me? What I need is this:
    It's much easier for you to show us what you have and then we'll fix it for you or tell you what is wrong. Then you'll learn something to!
    1. Ungroup everything in a spread 
    This one's easy -- unless you're worried about groups inside groups?
    app.activeWindow.activeSpread.groups.everyItem().ungroup()
    If it's groups all-the-way-down, on the other hand, well, it might be more than one line...

  • OT: Does this simple menu work for you?

    http://www.madisonconcrete.com/testing/page.html
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    OK - I have double buffered the HOME button. Can you see a
    difference, or
    is it still flickering?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:e47857$opt$[email protected]..
    > Hmm - so the article implies that making background
    transparent will fix
    > that, but it doesn't appear to do so. I'll try the
    double buffering
    > method.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Thierry | www.TJKDesign.com"
    <[email protected]> wrote in message
    > news:e45u7a$adj$[email protected]..
    >> Murray *ACE* wrote:
    >>> Interesting, Thierry. Is it flickering for you
    now?
    >>
    >> Yes, it still does.
    >>
    >> --
    >> Thierry
    >> Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    >> The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    >> CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    >> CSS Tab Menu:
    http://www.TJKDesign.com/go/?3
    >>
    >>
    >
    >

  • 24 Great Ideas from Idea Exchange for you to Kudos

    There are 1140 ideas on the LabVIEW Idea Exchange right now. That's a lot of ideas, and it doesn't even count the RT or FPGA exchanges. Reading through all of them is something most of you can't spend time doing. Some of the ideas quickly garner a lot of Kudos, and those jump to the top of the lists and get attention from NI. Others are good, but they languish, lost in the noise.
    I have read them all, generally by staying up-to-date on the forum ever since its inception. I kudos'd many as I went. Over the weekend, I went through all of the ideas I had kudos'd and picked out a set that I think a lot of customers would want but that don't have the high Kudos ratings. Maybe these got posted on a weekend or holiday. Maybe the title is a bit misleading and you didn't bother to read it. Or maybe you've just stopped reading the Idea Exchange because you couldn't keep up with the wash of words fellow wire workers are writing. Perhaps this simplified menu will be a bit easier to browse.
    To be clear: I'm not including any of the ideas that already have high Kudos counts. Those are great ideas, but they've already got their time in the sun. These are the little quiet ideas that I think might make a big impact on your productivity, your VI's functionality or your VIs performance. All of these had fewer than 100 Kudos when I made this list. Full disclosure: Two ideas on the list (12 & 23) are ones I submitted to the Exchange. I think they warrant being on the list, but maybe I'm biased because they happen to affect the areas of LV I use most. You be the judge... :-)
    User-defined partial Highlight Execution (so you only slow down execution in the "interesting" part ...
    Simpler Array Size (shows N terminals where N is the number of array dimensions instead of a single ...
    Conditional auto-indexing for output arrays (for when you need to filter an array down to just the s...
    (and I should also mention its companion idea, although this one has 102 Kudos: Add a Concatenate Indexing option for arrays leaving For Loops
    Right-Click on FP Terminal to add Event case for that control
    Make "TypeDef" the default choice in the control editor
    Make-mouse-wheel-scroll-the-string-control-indicator (and other things that should recognize scroll ...
    Adding a "don't wait until done" option to the Call By Ref node
    CTRL-Double-Click on a VI in project windows should open Block Diagram directly
    Scroll-Bar-Property-for-Clusters
    (10 and 11 go together) "Create-SubVI" or "New V" DEFAULT VI Template
    (10 and 11 go together) Create a proper connector pane when doing Edit >> Create SubVI
    Tag an XControl as the default control or indicator for a LabVIEW Class (so we can finally build new...
    Add a "Mouse Scroll" event
    Add a Click Event (so we can stop checking for Mouse Down followed quickly by Mouse Up and just let ...
    Make-project-window-dockable-and-always-on-top
    Separate-label-locations-for-Controls-and-Indicators
    Add symbol on string control/constant to tell when string is in slash or binary or password display ...
    Add a new debug stepping button: "Finish SubVI And Close Panel" (helps to avoid panels littered all ...
    Be able to Find All Instances of VI and view VI Properties when the VI is in run mode
    Bad-wire-gets-cleared-automatically-when-it-can (as the idea says, hard to explain, just look at the...
    Allow-vertical-scrollbar-on-arrays-with-1-visible-element (and, I'll go further and say vertical, no...
    I-would-like-to-see-a-Close-Other-VI-s-option-in-the-File-Menu
    Shift-Enter-should-define-word-wrap-bounds-on-Free-Labels (just like it currently does for string co...
    Insert "In-Place Element structure" onto wire
    There you go... 1140 down to 24. If you've got other aspects of LV you'd like to see improved, add them to the Idea Exchange.
    Solved!
    Go to Solution.

    Mads wrote:
    A good example is the fact that one of the most popular ideas ever was the idea to adjust the design of the boolean constant.  Altenbach, who came up with that idea, have received less kudos for other ideas that I'm sure would give him (and us) much higher benefits. Popularity and greatness are very often two different things.
    Although I get your general point, having used LV 2010 in beta for the last few months, the improvement of readability of diagrams brought by the boolean constant change cannot be understated. Tons of VIs have arrays of boolean constants on them, have boolean constants squeezed into small corners, etc, and the redesign has helped A LOT.
    Speaking to your general point -- my goal was to find low-ranked ideas that I felt would have significant developer impact and give people a second chance to review those ideas. Are there other ideas among the 1000 that are worth doing? Sure. I tried to find a broad enough set that people could actually make a meaningful choice of what to kudos (any fewer and it would be akin to "hey, everyone, come vote for this particular idea"). And it does rely upon my opinion -- though I tried to use my professional opinion as someone who regularly hears user feedback to promote ideas that I think users would generally like, as opposed to my personal opinion as a LV developer to improve the areas of LV that I personally use a lot.
    I know that customers like it when NI is responsive to its demands. I know that NI knows this and so is proactively trying to address concerns that make it high on the Idea Exchange. LV 2010 is coming out in August. If you look at the ideas that are tagged "In Beta", you can see the responsiveness of NI. As we start work on the next version of LV (or rather, full time work, since future versions of LV are always already in work -- we are a parallel language in so many ways), we're going to go find the next batch of ideas to implement. But I also know that there can be user fatigue with the Idea Exchange's massive amount of content. That fatigue can lead to a strange situation where NI addresses the high flying concerns and, users are still left feeling they didn't quite get what they wanted, but they maybe can't say why because, after all, NI implemented the high kudos ideas. I cherry picked some ideas that, if implemented, I think would get a lot of people saying, "Yes, LV is now better" as a way of avoiding some of that fatigue effect. Is it a list of earthshattering ideas that revolutionize LV? No. It is a list of incremental improvements that should affect lots of people and make LV recognizably better to its users.

  • HT4759 I have never used  "iwork for cloud beta" or "google chrome" to my knowledge to print. I wish icloud to please and thank you for you to delete this information! as it shows in the advanced settings for icloud when I was trying to print an index of

    My note on my ipad and Iphone have an index of the notes to the left on my copnuter!  I wanted to only print the index and the date after the index.  The computer would allow me to print the note but not the date it was indexed or the title to the left! of the index date!  Has anyone ever had this problem!  I am changing laptops and wanted to keep an index printed out for references but delete all the notes from this old notebook! 
    Please note my Ipad automatically changed to the ios7 update even when the Iphone 5 was with my spouse in Norfolk Va.  I had purchased an iphone 5 in feb with 32 gb verses 16 I was happy with it until I thought I was updating itunes to fix bugs and fixes.  It updated the ios7 program and the whole look of the iphone five changed and I am over 58 and have trouble keeping up and did not want to update!  I callled and had 436 days of insurance left on my phone and I asked them to keep te money for the upgrade and just give me back the 6ios. of course it is know.  Apple was trying to helpe get up to speed but the calendar was given me the most difficulty not being able to see appts forward enough to plan very well!  My spouse is retiring from the DOD  and for the first time in his life can have his on cell so I gave him my 5 and still had my old 4 got my ios6 back and  just now the phone is feeling pretty comfortable again for me. The only thing missing is siri i do miss her!  I never anticipated that my ipad would change to the ios7 on its on but the applestore in Tampa said that yes that happens oops! I now will try to self educate myself on the ios7.  I love my ipad but wish it had not jumped to the 7ios.  big problem again is I have is on my 5 it wasa a 32 and I have double or the max of icloud storage but just learned at the apple store that icloud does not store your photos on the cloud.  I am a grandmother and the soul pupose of me purchasing so much icloud storage was for my grandkids pics and now I found out you guys don't do this.  Where do you store the photos for people?   Help!  have mercy on me because even though the 436 days of service from Icloud left on my iphone 5 my spouse is the only one that can use it even tho my ipad automatically switched to the ios 7.  Really am trying to work with you apple because I think you have a better product but as far as customer service you can make an appt at the service center an hour away and then wait inline for 40 minutes for the genuis bar guys to make you feel like an idiot for not figuring this out on your own or I have to pay just to talk to your service department after I already have in my name 436 days left on my service contract!  The contract only goes with the phone even though your update changed my ipad also!  A little customer service that is given free of charge when you have some one really trying to educate themselves on and ios7 that they didn't even want would go a very long way toward keeping your customers happy otherwise once a more friendly tech company that offers the better product tops you. Its over!  You have a great product and people are paying you to help them lean how to navigate it!  The problem is once you have mastered one system that system is updated and you start over!  Maybe you could offe something for everyone!  You see my husband doesn't have to ever call apple because he has and IQ to high to measure!   Unfortunately the service I payed for is with his phone and I now have and I pad with the ios7 that converted automatically and when I call they tell me I must be told there will be a fee charged for this service!   One question I asked the support center apple store is how can the ipad convert when the iphone 5 is at the Norfolk Navy Base with my spouse and the ipad is here in Spring Hill Florida with me.  She said it just happens!  The service center nearest available to me is 1 hour away and I need an appt. With them to ask a simple question!.  Time is a commodity that is becoming more dear to me every day and it seems I am spending a great deal of it trying to solve a somewhat simple question to the experts no more than a 3 minute conversation could set me on the right track but I can't even buy insurance service for my ipad that just converted to ios 7 on its's own!  Sincerely I could use some help
    <E-mail Edited by Host>

    My note on my ipad and Iphone have an index of the notes to the left on my copnuter!  I wanted to only print the index and the date after the index.  The computer would allow me to print the note but not the date it was indexed or the title to the left! of the index date!  Has anyone ever had this problem!  I am changing laptops and wanted to keep an index printed out for references but delete all the notes from this old notebook! 
    Please note my Ipad automatically changed to the ios7 update even when the Iphone 5 was with my spouse in Norfolk Va.  I had purchased an iphone 5 in feb with 32 gb verses 16 I was happy with it until I thought I was updating itunes to fix bugs and fixes.  It updated the ios7 program and the whole look of the iphone five changed and I am over 58 and have trouble keeping up and did not want to update!  I callled and had 436 days of insurance left on my phone and I asked them to keep te money for the upgrade and just give me back the 6ios. of course it is know.  Apple was trying to helpe get up to speed but the calendar was given me the most difficulty not being able to see appts forward enough to plan very well!  My spouse is retiring from the DOD  and for the first time in his life can have his on cell so I gave him my 5 and still had my old 4 got my ios6 back and  just now the phone is feeling pretty comfortable again for me. The only thing missing is siri i do miss her!  I never anticipated that my ipad would change to the ios7 on its on but the applestore in Tampa said that yes that happens oops! I now will try to self educate myself on the ios7.  I love my ipad but wish it had not jumped to the 7ios.  big problem again is I have is on my 5 it wasa a 32 and I have double or the max of icloud storage but just learned at the apple store that icloud does not store your photos on the cloud.  I am a grandmother and the soul pupose of me purchasing so much icloud storage was for my grandkids pics and now I found out you guys don't do this.  Where do you store the photos for people?   Help!  have mercy on me because even though the 436 days of service from Icloud left on my iphone 5 my spouse is the only one that can use it even tho my ipad automatically switched to the ios 7.  Really am trying to work with you apple because I think you have a better product but as far as customer service you can make an appt at the service center an hour away and then wait inline for 40 minutes for the genuis bar guys to make you feel like an idiot for not figuring this out on your own or I have to pay just to talk to your service department after I already have in my name 436 days left on my service contract!  The contract only goes with the phone even though your update changed my ipad also!  A little customer service that is given free of charge when you have some one really trying to educate themselves on and ios7 that they didn't even want would go a very long way toward keeping your customers happy otherwise once a more friendly tech company that offers the better product tops you. Its over!  You have a great product and people are paying you to help them lean how to navigate it!  The problem is once you have mastered one system that system is updated and you start over!  Maybe you could offe something for everyone!  You see my husband doesn't have to ever call apple because he has and IQ to high to measure!   Unfortunately the service I payed for is with his phone and I now have and I pad with the ios7 that converted automatically and when I call they tell me I must be told there will be a fee charged for this service!   One question I asked the support center apple store is how can the ipad convert when the iphone 5 is at the Norfolk Navy Base with my spouse and the ipad is here in Spring Hill Florida with me.  She said it just happens!  The service center nearest available to me is 1 hour away and I need an appt. With them to ask a simple question!.  Time is a commodity that is becoming more dear to me every day and it seems I am spending a great deal of it trying to solve a somewhat simple question to the experts no more than a 3 minute conversation could set me on the right track but I can't even buy insurance service for my ipad that just converted to ios 7 on its's own!  Sincerely I could use some help
    <E-mail Edited by Host>

Maybe you are looking for

  • Sap UM connector 9.1.2 trouble with "SAP User Management User Recon" task

    Hello All, i have a problem with Sap UM Connector version 9.1.2. OIM version 11.1.1.5 Windows 2008 R2 Problem is: Then accounts in Sap are created through direct provisioning feature of connector everything works ok (subsequent update or delete an ac

  • Ipod Classic not recognized by Alpine CDA 117

    I hope someone can help me out here . A newly installed Alpine CDA117 ( by Best Buy) today . It will not recognize or play my 7 month old Ipod Classic 120gb. I does recognize my wife's ipod mini without a problem. Any thoughts ? Any help would be gre

  • Forms 10.1.2.0.2 application with ie7 and Jvm 1.5_11 unstable.

    Hi, We are running a 10.1.2.0.2 forms application, using the sun jvm, version 1.5.0_11-b03 . Since we started using IE7, some users experience sudden "hangs" or a total crash of IE& + JVM when starting the application. A log file appears with the fol

  • Virtual directory mapping in weblogic 7.0

    I'm trying to define a virtual mapping in my web application deployed in Weblogic 7.0 sp2 and it's not working. I've defined in my weblogic.xml <virtual-directory-mapping> <local-path>c:/cursoBEA/imagenes</local-path> <url-pattern>/imagenes/*</url-pa

  • Keyboard character set?

    Is there any site that provides (screen shots, table, ...) the full listing of available characters on the Touch's keyboard?