Problème de code compilé sur cible cRio

Bonjour à tous,
Je vous soumets mon petit souci sour cible RT cRIO.
j'ai développé une appli pour cRIO basé sur le modèle de conception "LabVIEW FPGA Waveform Acquisition and Logging on CompactRIO"
Mon appli fonctionnait très bien et a été utilisée avec succès pour un besoin d'acquisition en embarqué.
tout récemment j'ai souhaité appporter des modifications dans mon code FPGA, RT et UI. Tout fonctionne très bien en mode interprété. Lancement des VI RT Main et UI Main après compilation du code FPGA.
Par contre j'ai quelques soucis à la compilation du code RT Main.vi. La plupart du temps des messages d'erreur concernant des fonctions non supportées par la cible alors que ces fonctions font partie du modèle. Quand j'arrive à compiler et lancer au démarrage de la cible RT mon PC hôte n'arrive pas à communiquer avec la cible RT (erreur 314004 sur la fonction Créer l'extrémité d'écriture d'un flux réseau)
J'ai comme l'impression que mon code n'arrive pas à bien se compiler, qu'il ne se compile pas pour la bonne cible ou plante systématiquement au lancement.
Si quelqu'un à une suggestion je suis preneur, car je suis un peu sec sur le sujet
Résolu !
Accéder à la solution.

Suite à un contact avec l'assistance NI j'ai en effet un oubli dans la configuration de ma compilation.
J'ai sans doute reconfiguré ma compilation et avait simplement oublié de mettre la librairie de variables partagées dans mes paramètres de compilation.
Mais j'ai un autre soucis, que je n'avais pas jusqu'à présent, je n'arrive plus à compiler. Mon RT Main.vi fonctionne très bien. Lorsque je veux compiler j'ai des messages de VI brisés pour des fonctions non supportées par la cible. Or ces fonctions proviennent du modèle de conception "Labview FPGA Waveform Acquisition and Logging on compactRIO"
Mystère, je continue à creuser.

Similar Messages

  • Problème de code illisible sur une carte

    J'ai acheté une carte de 15$ et  mon code sous le collant est très illisible, il me manque 7 chiffres ou lettres. Le collant est très endommagé. Je cherche comment faire pour en obtenir un autre. Est-ce possible? Jai suivi les conseils de iTUnes stores du genre ALLER à Cartes et codes iTunes > Questions sur l’échange. Mais je ne trouve pas Questions sur l'échange sur cette page! 
    Merci

    Bonjour ,
    j'ai exactement le meme probleme  sauf que moi c'est  touts le numero qui est illisible
    vous devez fournire le code d'activations    voir ici   http://support.apple.com/kb/TS1292?viewlocale=fr_FR
    et enfin vous devez passer par l'express line  pour résoudre se probléme.
    https://expresslane.apple.com/GetproductgroupList.do?PRKEYS=131629&locale=fr_CA

  • Vi ne se charge pas sur cible RT2100

    Bonjour
    Je possede un FP RT2100 sur lequel je veux exécuter un code réaliser sur labview 2012SP1.
    le RT a été formaté puis les logiciel 6.0.12 ont été installés. (pack complet)
    Lorsque j'éxécute le code depuis le pc, pas de soucis, par contre lorsque je cherche à déployer l'executable rt sur la cible, j'ai une erreur "le vi n'a pas put se charger"
    Vous trouverez ci joint le rapport d'erreur généré par la cible.
    Je ne trouve pas de solution à ce problème.
    rq : ce code a déja tourné sur ce RT, mais compilé sur une autre version de labview
    Attachments:
    lvrt_err_log.txt ‏157 KB

    Bonjour,
    Je pense que ce lien va vous aider
    Why Does my Real-Time Executable Fails to Load on Certain Real-Time Targets?
    Cordialement
    Samuel G. | Application Engineer Team Leader
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Été de LabVIEW 2014
    12 présentations en ligne, du 30 juin au 18 juillet

  • How can I allow user to customize the functionality of program at runtime? (not using runtime code compilation)

    Using .NET Framework 4.0 what features are available that would allow to accomplish something very modular and user customizable, like depicted in this XML.  Where I define specific base operations like Get() and Put() methods that operate on strings. 
    And allow the user to add and remove those or mix and match them in a way that they basically design their own run time functionality that suits them.  So they just create their own 'Operation' and fill it with the operations they want to perform on some
    incoming data type, in this case it is a string - with substring and insert methods. 
    EDIT - Assuming end user is non programmer and Dynamic Code compilation is not an option.  I have an idea maybe using dynamic keyword, but not sure if it makes what i suggest possible.
    <Operation Name="GetValues">
      <Get id=123"  FromIndex="2" ToIndex="23"/>
      <Get id="234"  FromIndex="3" ToIndex="5"/>
       <Output Path="C:\" Filename="testOut.txt" Append="true">
         <Format>
              <Result id="123"/> , <Result id="234"/>
         </Format>
       </Output>
    </Operation>
    <Operation Name="InsertValue">
      <Put AtIndex="5">stringtoinsert</Put>
      <Put AtIndex="36">anotherstringtoinsert</Put>
    </Operation>

    Hi sjs1978,
    I am not familiar with dynamic code, and I made a research about it.
    >> I'm aware of dynamic code compilation, but that requires user to input pieces of code.
    Did you try to store the pieces of code into a file and call the code when the dynamic code compilation requires user to input code?
    In addition, I found links about using code provider to compile a source file, and the links below might be useful to you.
    # Dynamic Source Code Generation and Compilation
    https://msdn.microsoft.com/en-us/library/650ax5cx(v=vs.110).aspx
    # CSharpCodeProvider Class
    https://msdn.microsoft.com/en-us/library/microsoft.csharp.csharpcodeprovider(v=vs.110).aspx
    # Is it possible to dynamically compile and execute C# code fragments?
    http://stackoverflow.com/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-sharp-code-fragments
    Best Regards,
    Tony
    Help each other

  • Code compiles - throws java.lang.NullPointerException

    This program is intended to build an array and populate it with inventory, then print out the inventory line item by line item. The code compiles but throws the NullPointerException error when the program is run. Here is the main method with 2 classes, as well as the text from the error and a pointer to the specific place in the code the error is from...
    main method
    import java.util.Scanner;
    import static java.lang.System.out;
    import java.io.*;
    public class Inventory1
        private static void Exit() //set ability for program to exit on each loop
        { out.println("We hope this inventory program was " +
                           "helpful. Thank you for using our program.");
          System.exit(0);
      public static void main (String [] args)
          boolean validNumber;
          boolean validCount;
          boolean validDollars;
          //initialize scanner
      Scanner sc = new Scanner(System.in);        
      Music info = new Music();
      //declare and initialize variables
      int[] itemNumber = new int [5];
      String[] productName = new String[5];
      int[] stockAmount = new int[5];
      double[] productCost = new double[5];
      double[] totalValue = new double[5];
      while (true)
          for (int i=0; i<5; i++)
            out.println( "Enter CD name/description or 'exit' to stop the" +
                    " program: "); //prompt - product name
               info.productName[i] = sc.next(); // input
               if (info.productName.equalsIgnoreCase("exit"))
    out.println("Exit entered. ");
    Exit();
    else
    do
    out.println("Please enter CD number: "); //prompt - item number
    info.itemNumber[i] = sc.nextInt();
    validNumber = true;
    if( (info.itemNumber[i] <1 ) )
    {//make sure product number is positive number
    validNumber = false;
    out.println("All CDs have positive numbers and no other " +
    "characters. Please enter a valid CD number.");
    }while (!validNumber);
    do
    out.println("Quantity in stock: "); // prompt - quantity
    info.stockAmount [i] = (sc.nextInt()); // capture temp number to verify
    validCount = true;
    if(( info.stockAmount[i] <1 ))
    { // ensure stock amount is positive number
    validCount = false;
    out.println( "Inventory numbers must be positive. Please " +
    "enter a correct value." ); // prompt for correct #
    } while (!validCount);
    do
    out.println("What is the product cost for each unit? "); // prompt - cost
    info.productCost[i] = sc.nextDouble();
    validDollars = true;
    if (( info.productCost[i] <1 ))
    validDollars = false;
    out.println( "Product cost must be a positive dollar " +
    "amount. Please enter correct product cost." );
    } while (!validDollars);
    out.println(totalValue);
    @Override
    public String toString()
    return super.toString();
    Music classclass Music
    String productName[];
    String title;
    int itemNumber[];
    int item;
    int stockAmount[];
    int amount;
    double productCost[];
    double cost;
    double totalValue[];
    double value;
    int i;
    public Music(String title, int item, int amount, double cost, double value,
    int i)
    this.productName[i] = title;
    this.itemNumber[i] = item;
    this.stockAmount[i] = amount;
    this.productCost[i] = cost;
    this.totalValue[i] = value;
    public Music()
    public void setTotalValue(double[] totalValue)
    this.totalValue = totalValue;
    public double[] getTotalValue()
    return totalValue;
    public void setStockAmount(int[] stockAmount)
    this.stockAmount = stockAmount;
    public int[] getStockAmount()
    return stockAmount;
    public void setProductCost(double[] productCost)
    this.productCost = productCost;
    public double[] getProductCost()
    return productCost;
    public void setProductName(String[] productName)
    this.productName = productName;
    public String[] getProductName()
    return productName;
    public void setItemNumber (int[] itemNumber)
    this.itemNumber = itemNumber;
    public int[] getItemNumber()
    return itemNumber;
    }TotalInventory classclass TotalInventory
    double TotalInfo;
    public int [] getStockAmount(int[] units)
    int[] stockAmount = units;
    return units;
    public double[] getTotalValue(double[] cost)
    double[] productCost = cost;
    return cost;
    error message
    init:
    deps-jar:
    Compiling 1 source file to C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\build\classes
    compile:
    run:
    Enter CD name/description or 'exit' to stop the program:
    here we go
    Exception in thread "main" java.lang.NullPointerException
            at Inventory1.main(Inventory1.java:54)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 4 seconds)
    Inventory1.main(Inventory1.java:54) is this line of code in the main method: info.productName[i] = sc.next(); // input Any suggestions?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I have not changed my code from when I supplied it in the first post - I am simply pointing out that I already initiated the String with 5 as the number...I've supplied you with everything I am getting. The three modules are in the original post, as is the error message being received - nothing has changed.
    This means with the code posted in my original question I am getting an NPE. I compile the code and run it. I'm able to input the "title" (productName) after the prompt but then get the NPE. I'm not trying to make you read my mind, I'm just asking for help and make every effort to provide as much detail as possible to make that easier on all of us.

  • How can C++ code compile to .swf or .air

    I know that, at adobe max 2007, Scott Petersen has compile the Quake C/C++ Code to air application.
    Now I want to compile C++ Code to .swf, How and can Flex SDK help me?

    <div class=Section1><br /><br /><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;<br />font-family:"Calibri","sans-serif";color:black'>what we are trying to say is;<o:p></o:p></span></a></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:black'>Yes, adobe did work on a C++/SWF project but this isn&#8217;t a<br />public project and we&#8217;re not sure if it ever will be.<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:black'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:black'>So far it&#8217;s only internal to Adobe not available to the<br />public, and it may or may not ever be made public</span><span style='font-size:<br />11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:black'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:black'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><br /><br /><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:<br />"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;<br />font-family:"Tahoma","sans-serif"'> xtaotao [mailto:[email protected]] <br><br /><b>Sent:</b> Saturday, September 13, 2008 2:22 PM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Re: How can C++ code compile to .swf or .air<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>A new message was posted by<br />xtaotao in <br><br /><br><br /><b>Developers</b> --<br><br />  How can C++ code compile to .swf or .air<br><br /><br><br />you are not adobe, you cann't, adobe can. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b6790b/5">How can C++ code compile<br />to .swf or .air</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b6790b!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • Can anyone explain why the code compiles on one database but not another?

    I have two databases, both running 10.2.0.4, same hardware/OS platform.
    On one database, this code compiles just fine, on the second database, I get errors as shown below:
    SQL> SET SERVEROUTPUT ON SIZE 1000000;
    SQL>
    SQL> create or replace procedure testproc as
    2 vCount number;
    3 vCmd varchar2(2048);
    4 vLastName varchar2(30);
    5 vFirstName varchar2(30);
    6 vPK integer := 0;
    7 vSortLN varchar2(30);
    8 vSortFN varchar2(30);
    9 cursor cPERSON is
    10 select LastName,
    11 FirstName
    12 from GENERIC.PERSON
    13 order by LastName, FirstName;
    14 BEGIN
    15 select count(*) into vCount from USER_OBJECTS where object_name = 'ML4TEMPPERSON';
    16
    17 IF (vCount = 0) THEN
    18 /* NOTE: Omit semi-colon from command. */
    19 vCmd := 'create table ML4TEMPPERSON (PK integer not null, LastName varchar2(30), SortLN varchar2(30), FirstName varchar2(30), SortFN varchar2(30))';
    20 Execute Immediate vCmd;
    21 vCmd := 'alter table ML4TEMPPERSON add (constraint XPKML4TEMPPERSON PRIMARY KEY (PK))';
    22 Execute Immediate vCmd;
    23 END IF;
    24
    25 delete from ML4TEMPPERSON;
    26
    27 for P in cPERSON
    28 loop
    29 vLastName := rpad(P.LastName, 30, ' ');
    30 vFirstName := rpad(P.FirstName, 30, ' ');
    31 vSortLN := vLastName;
    32 vSortFN := vFirstName;
    33 DBMS_OUTPUT.PUT_LINE(vLastName || ', ' || vFirstName);
    34 vPK := vPK+1;
    35 INSERT into ML4TEMPPERSON
    36 ( PK, LastName, SortLN, FirstName, SortFN)
    37 values
    38 (vPK, vLastName, vSortLN, vFirstName, vSortFN);
    39 end loop;
    40 IF (vPK > 0) THEN
    41 COMMIT;
    42 END IF;
    43 END;
    44 /
    Warning: Procedure created with compilation errors.
    SQL> show errors
    Errors for PROCEDURE TESTPROC:
    LINE/COL ERROR
    25/3 PL/SQL: SQL Statement ignored
    25/15 PL/SQL: ORA-00942: table or view does not exist
    35/7 PL/SQL: SQL Statement ignored
    35/19 PL/SQL: ORA-00942: table or view does not exist
    SQL>

    Your table ML4TEMPPERSON doesn't exist in your second database, and you want do delete ans insert, may be in first database the table ML4TEMPPERSON exist
    Try this code. /* Formatted on 2009/05/21 09:10 (Formatter Plus v4.8.8) */
    SET SERVEROUTPUT ON SIZE 1000000;
    CREATE OR REPLACE PROCEDURE testproc
    AS
       vcount       NUMBER;
       vcmd         VARCHAR2 (2048);
       vlastname    VARCHAR2 (30);
       vfirstname   VARCHAR2 (30);
       vpk          INTEGER         := 0;
       vsortln      VARCHAR2 (30);
       vsortfn      VARCHAR2 (30);
       CURSOR cperson
       IS
          SELECT   lastname, firstname
              FROM generic.person
          ORDER BY lastname, firstname;
    BEGIN
       SELECT COUNT (*)
         INTO vcount
         FROM user_objects
        WHERE object_name = 'ML4TEMPPERSON';
       IF (vcount = 0)
       THEN
    /* NOTE: Omit semi-colon from command. */
          vcmd :=
             'create table ML4TEMPPERSON (PK integer not null, LastName varchar2(30), SortLN varchar2(30), FirstName varchar2(30), SortFN varchar2(30))';
          EXECUTE IMMEDIATE vcmd;
          vcmd :=
             'alter table ML4TEMPPERSON add (constraint XPKML4TEMPPERSON PRIMARY KEY (PK))';
          EXECUTE IMMEDIATE vcmd;
       END IF;
       vcmd := 'delete from ML4TEMPPERSON';
       EXECUTE IMMEDIATE vcmd;
       FOR p IN cperson
       LOOP
          vlastname := RPAD (p.lastname, 30, ' ');
          vfirstname := RPAD (p.firstname, 30, ' ');
          vsortln := vlastname;
          vsortfn := vfirstname;
          DBMS_OUTPUT.put_line (vlastname || ', ' || vfirstname);
          vpk := vpk + 1;
          vcmd :=
                'INSERT into ML4TEMPPERSON
    ( PK, LastName, SortLN, FirstName, SortFN)
    values
             || vpk
             || ', '
             || vlastname
             || ','
             || vsortln
             || ','
             || vfirstname
             || ','
             || vsortfn
             || ')';
          EXECUTE IMMEDIATE vcmd;
       END LOOP;
       IF (vpk > 0)
       THEN
          COMMIT;
       END IF;
    END;
    /Edited by: Salim Chelabi on 2009-05-21 06:12

  • Same float code compiled differently on different machines

    Hi,
    Scenario:   same project build on different machines. and then both the  application executed on
    same machine .. giving  slightly different results..(like 23.07499   to 23.07500)
    project involves many float operations.  project build on vs2013. c++
    there is difference oberved in the final value of float calculations..  like 23.07499   to 23.07500
    seems , Same float code compiled differently on different machines,  any input
    Regards,
    james

    >Scenario:   same project build on different machines. and then both the  application executed on same machine ..
    giving  slightly different results..(like 23.07499   to 23.07500)
    Do you get consistent results with the same executable each time you
    run it?
    Assuming you do, and the only difference is the EXEs, what's the
    difference between them - there must be something. Have a look at "How
    to compare binary images of the same project builds"
    https://support.microsoft.com/en-us/kb/164151/ and see if that sheds
    any light onto the issue.
    Dave

  • Using GDB to debug a code compiled with Sun cc

    When using gdb to debug C code compiled with Sun's cc, the step-into doesn't work, i can only "step into" a function if i put a breakpoint on it. Also, sometimes if i set a breakpoint on a function name, like "break foo", gdb indeed breaks when foo is reached, but without showing the source code (this i could not reproduce with a small demo program).
    I am using Sun Studio 12 on a SunOS 5.10 sun4u sparc machine.
    My demo program is:
    #include <stdio.h>
    #include <strings.h>
    void func1(str)
    char str;
    printf("This is the first line\n");
    printf("STR: %s\n",str);
    int main()
    char str[10];
    strcpy(str,"lalalal");
    printf("Calling func1\n");
    func1(str);
    printf("Returned from func1\n");
    The compilation command i run is:
    cc -c -g step_into.c -o step_into.o
    cc -g -o step_into step_into.o
    When running the program with gdb, the "step" command does not step into func1, but runs it like "next".
    I know there's the dbx debugger, but if there's a way to fix this with gdb - it is much preferable for us. Switching to dbx is not really feasible for us.
    Regards,
    Yael

    Hello Yael,
    I tried your example on my laptop (OpenSolaris x86/x64) with Sun Studio 12 update 1
    and GDB 6.3.50 - it works properly:
    $ gdb dist/Debug/SunStudio-Solaris-x86/forum_c_20091230
    GNU gdb 6.3.50_2004-11-23-cvs
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB.  Type "show warranty" for details.
    This GDB was configured as "i386-pc-solaris2.11"...
    (gdb) break main
    Breakpoint 1 at 0x8050a87: file src/args.c, line 15.
    (gdb) run
    Starting program: /export/home/nikm/SunStudioProjects/Forum_C_20091230/dist/Debug/SunStudio-Solaris-x86/forum_c_20091230
    Breakpoint 1, main () at src/args.c:15
    15         printf("Calling func1\n");
    Current language:  auto; currently minimal
    (gdb) next
    Calling func1
    16         func1(str);
    (gdb) step
    This is the first line
    func1 (str=0x80477ba "lalalal") at src/args.c:7
    7         printf("STR: %s\n",str);
    (gdb) Could you please download and try Sun Studio 12 update 1?
    It is available for free. Here is the web page:
    http://developers.sun.com/sunstudio/
    BTW, which GDB version do you use?
    I'll try it on a sparc system and let you know.
    Thanks.
    Nik
    P.S.: there is a typo in the source code:
    void func1(str)
    *char *str;I think it should be:
    void func1(char *str)Probably a copy-paste problem.
    Please use "CODE" mode when you copy-paste source lines (selected text, press 'CODE' button).

  • Code compiling problem

    I have written a small sample code with 2 classes(Money.java and MoreMoney.java),where the latter has the main function. The problem is i cant compile and run these programs using commmand prompt in windows but they work just fine when using netbeans.
    Env. variable is not a problem as money.java compiles using command prompt. Importing is not an issue as they are in the same package. Nor is package an issue, coz i have written the package name at the start of the code. Please suggest.Thank you in advance.
    The code is as follows:
    * Money.java
    * Created on August 8, 2006, 11:09 AM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package javaapplication1;
    * @author oracle
    public class Money
    private float amount;
    private int dollars;
    private float cents;
    public Money(int amount)
    dollars=amount/100;
    cents=amount%100;
    public float getdollar()
    return this.dollars;
    public float getcents()
    return this.cents;
    public String toString()
    return("You Entered "+dollars+" dollars and "+cents+" cents");
    * MoreMoney.java
    * Created on August 1, 2006, 5:36 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package javaapplication1;
    * @author oracle
    public class MoreMoney
    * @param args the command line arguments
    public static void main(String[] args)
    // TODO code application logic here
    Money m=new Money(143);
    System.out.println(m);
    Any other tips on my code are also welcome since i am new to java and would like to learn good 'coding habits'.

    Hello,
    Thank you for the suggestion.
    I already have my .class files & my .java files in the JavaApplication1 folder. I have done as instructed on the webpage (http://java.sun.com/javase/6/webnotes/install/jdk/install-windows.html#Environment) and also have set the environment variable, CLASSPATH to the value:
    C:\Program Files\Java\jdk 1.5.0_07\bin\JavaApplication1\src\ JavaApplication1
    When i say env. varible it is the 'systems variable' of the env. variable category. Am i correct on that one?
    I have another piece of information. After setting the CLASSPATH to its new value and restarting command prompt, it did not automatically go to that directory/path. It instead gave me the default path(C:/Documetns and Settings/oracle>)
    I had to manually change the directory until i had the above mentioned path. Is there something fishy about my DOS-prompt or is that the way it is supposed to be?
    So inspite all this experimentation the problem still persists. Why wont my code compile from DOS-Prompt? Thank you for your patience and please advice.

  • Bonjour, je veux installer i tunes et le message d'erreur est "Un problème s'est produit sur ce package windows installer. Un programe nécessaire pour que cette installation puisse se terminer n'a pas pu être executé. Contacter votre service suppott ou le

    Bonjour, j'essaye d'installer i tunes mais le message d'erreur apparaît !:
    "un problème s'est produit sur ce package windows installer. Un programme necessaire pour que cette installation puisse se terminer n'a pas pu être exécuté. Contacter votre servive support ou le distributeur package"
    Pourriez vous m'aider? merci

    Bonjour, j'essayerais d'utiliser le Adobe cleaner tool.
    http://www.adobe.com/fr/support/contact/cscleanertool.html
    ou de reinstaller le download assistant. (pour ajouter les fichiers manquants)

  • Configuration d'un server web sur un crio

    Bonjour.
    Je souhaite configurer un server web sur un crio
    9012 pour visualiser une simple vue.
    qu'elle est la démarche à suivre?
    Merci

    Bonjour,
    Tu as soit les WebServices, soit les face-avant déportées. A toi de voir ce qui conviendrait le mieux à ton application, en sachant que les face-avant déportées nécessitent une licence à partir d'un certain nombre.
    ++
    Da Helmut

  • Problème pour se connecter sur l'application YouTube de mon iPhone

    Bonjour !
    J'ai un problème pour me connecter sur l'application YouTube de mon iPhone : on me demande d'aller sur le site YouTube via compte Google et je peux me connecter sur le site internet (application SAFARI de mon IPhone) mais pas directement en utilisant l'application YouTube sur mon téléphone en raison d'un problème de reconnaissance de mon identifiant et de mon mot de passe ?
    Je ne comprends pas ce que je dois faire, merci de votre aide.
    Cordialement.
    Anne

    Bonjour Anne,
    Ce site est essentiellement anglophone et tu risques d'avoir du mal à trouver de l'aide en français.
    Je ne suis pas sûr de bien comprendre ce qui t'arrive : je viens de faire l'essai depuis mon iPhone et j'ai accédé à l'application YouTube sans problème et sans qu'il me soit demandé de m'identifier.
    Cela dit, il se trouve que j'ai un compte Google et que j'ai installé sur mon iPhone l'appli Google que je soupçonne d'être connectée en permanence avec mon compte. Et, en allant voir le site YouTube sur mon ordi depuis un navigateur en ayant pris soin de ne plus avoir de connexion active à mon compte Google, il est vrai que j'arrive sur une page qui me suggère assez fortement de créer un compte Google (ou de me connecter si j'en possède un).
    Mais cela n'empêche pas de consulter les vidéos et je pense que le comportement ne doit pas être très différent sur iPhone. Es-tu sure que tu ne peux pas passer outre l'identification sur YouTube ?
    Au pire et s'il n'est pas possible de faire autrement, il te suffit de créer un compte Google (avec ton adresse mail habituelle) même si tu ne t'en sers pas pour autre chose et de configurer sur ton iPhone l'appli Google avec mais, bien sûr, cela ouvre la porte au suivi à la trace de tes consultations par Google. A toi de mettre en balance avantages et inconvénients.
    Bon courage

  • J'ai un problème de mise à jour sur Apple Store ? Mon identifiant est grisé et impossible de le supprimer ? J'ai essayè plusieurs fois de le rénitialiser, mais je reviens sur la fenêtre avec mon identifiant grisé

    Bonjour,
    DEPUIS OCTOBRE 2014, je me trouve cette with this Problème? Je étais de GRATUIT Comme FAI et je ai Changé versez Prendre SFR? Et à partir de moment CE La Mai Problèmes Ont commence, je ai Voulu de passer suite à ma nouvelle adresse (Maintenant je sais Que je aurai du Garder mon ancienne). Quoique Maintenant je ai les deux et ce est là Je Crois mon Problème? je ai des mises à jour Qui ne se font plus (iMovie et Iphoto) Qui Ont pris l'identifiant SFR et Quand je request la mise à jour, une fenêtre se ouvre with the identifiant SFR grisé et si je Mets le mot de passe, juin fenêtre apparait me signalant au Québec par mesure de sécurité MON identifiant une Était dènitialisè et de le réinitialiser, je ai fait PLUSIEURS foie this opération, en changeant le mot de passe et d'identifiant also, Mais je reviens à la cas départ with the same fenêtre et l'identifiant SFR grisé? Je ne sais plus quoi faire?
    Si Une personne peut me conseiller, je la Remercié de me sortir de CE Problème!
    Je suis sur un Mac OSX Yosemite

    Bonjour,
    avez-vous trouver une solution à votre problème ? j'ai exactement le même problème depuis la màj iOS 8.0.2 (j'ai un iphone 5s).
    Cordialement,
    Zera

  • Problème lancement Vi sur cible

    Bonjour,
    Je développe actuellement un projet sous teststand afin de diriger un projet sous labview.
    Ma séquence teststand appelle un premier VI(on va l'appeler Call Vi), ce VI permet de charger les paramètres d'un autre VI(on va l'appeler Général) qui doit s'exécuter sur la cible (banc PXI).
    L'ensemble fonctionne à une condition près, je dois d'en en premier temps lancer mon VI général. Une fois celui-ci exécuté (déployé sur la cible je suppose) je peux utiliser le reste de mon projet.
    Ma question est donc : comment déployer mon projet sur la cible depuis teststand ou depuis mon Call Vi sans obtenir l'erreur fichier introuvable...
    Je vous remercie d'avance.
    Cordialement.
    Solved!
    Go to Solution.

    Hi Plump69,
    Just to let you know that you posted on the English-speaking forum. This link below will give you the possibility to re-post it in Franch : Le Forum Francophone
    Moreover, your post is related to TestStand issue, so if you prefer you can re-post it in English here : Forum TestStand 
    Regards,
    Antonin G. Associated LabVIEW Developper
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Communauté francophone des développeurs LabVIEW et des enseignants en STI2D
    Si vous souhaitez partage...

Maybe you are looking for

  • Hotmail dont work

    why is there a problem with hotmail. the mobile site dont load and the desktop site dont work

  • The title of a music won't appear in the browser window.

    The song appears in iTunes, but it does not appear on the browser window in Aperture.  The song title is a mixture of Japanese and English text and it was sampled from an original CD.  The browser does list other songs that have only Japanese, only E

  • Full information about DAQmx Task Name - How get?

    Labview 7.1 (information required for solve problem) I put in my application a DAQmx Task Name for fast configuration but i want put all information about task in a txt or spreadsheet file. But in Labview 7.1 haven't VIs like (http://zone.ni.com/devz

  • IDX Feed in Adobe Muse

    Has anyone figured out how to add an IDX feed in Muse? Is this even supported?

  • Where the smart forms stored in Package

    Hi,    Where the Smart forms are stored in package, In package only following option is there, 1.Dictionary Object. 2.Programs, 3.Includes, 4.Transactions, 5.Message class.