Svp correction de programme

Bonjour,
je suis un stagiaire qui a besoin de votre aide car on m'a donné le projet en retard.
cela fait plus 6 semaines que je suis sur le projet, il me reste jusqu'a vendredi pour finir !!
j'ai avancé mais je suis maintenant bloqué
le but de mon projet est de piloter une alim stablisé via une carte 6008: 
si vous regarder la face avant de mon programme ci-joint vous devez comprendre son fonctionnement.
mes question sont:
- je veux affaicher les information du tableau dans le graphique(c-a-d la tension udebut qui évolue jusqu'a avoir ufin en fonction du temps(h,m,s))
- pour la partie demarer acq je veux envoyé les infos du tableau au nidaq
- et si vous avez des conseils n'hésitez pas je suis novice sur labview.
 il me sreste que 3 jours ça sera très sympa de m'aider.
je suis un stage qui a déja posté des message ici mais j'ai perdu mon mdp donc j'ai changé de compte
merci d'avance 
a.maxime
Pièces jointes :
commande carte ni 6008.vi ‏121 KB

Bonjour maxmus77,
Tous d’abord, vous ne pouvez pas imbriquer une structure événement dans une autre structure événement.
Préférez l'utilisation d'une structure de type Machine à état avec gestion d'événement, ou une structure producteur consommateur avec gestion d'événement.
Machine à états simple
http://www.ni.com/white-paper/14120/fr/
Application Design Patterns: Producer/Consumer
http://www.ni.com/white-paper/3023/en/
Que voulez vous faire exactement avec votre USB 6008. Si vous êtes extrêmement pressé, Je vous conseille de consulter les exemples DAQmx présent dans LabVIEW.
Cordialement, 
Sabri JATLAOUI - Certified LabVIEW Developer

Similar Messages

  • Correct the programme and tell me what is wrong and why

    public class Vehicle
         private double maxLoad;
         public double load;
         public Vehicle()
              maxLoad=0;
         public double getLoad(double weight)
              load = weight;
              return load;
         public double getMaxLoad()
              maxLoad = +load ;
              return maxLoad;
         public static void main(String[] args) throws Exception
              Vehicle VehicleLoad = new Vehicle();
              VehicleLoad.getLoad(500);
              VehicleLoad.getMaxLoad();
              VehicleLoad.getLoad(500);
              VehicleLoad.getMaxLoad();
              VehicleLoad.getLoad(5000);
              VehicleLoad.getMaxLoad();
              VehicleLoad.getLoad(5500);
              VehicleLoad.getMaxLoad();
              System.out.println("Vehicle Load is "+VehicleLoad.getMaxLoad());
    the output iam trying to get is the sum of weight .

    Navy_Coder wrote:
    CaptainMorgan08 wrote:
    Navy_Coder wrote:
    petes1234 wrote:
    Your title is not a request but a demand. How do you think we'd reply? You also do pretty much a code-dump: here is my code, fix it for me. That is not how we work here.
    A better way would be for you to find the errors, report the errors to us, not just dump your code, and then request that we help you with specific questions.As an interesting side note, I've come to realize after having worked with my Indian coworker, that he almost always speaks in the imperative. Nothing is ever a request, suggestion or statement; it is always an order (regardless of the fact that he is the lowest guy on the totem-pole). Everything is always, "we will", "we must", "you must", "you will", etc. Very annoying. (Even more so is the fact that he's been in the US for nearly 15 years and still speaks this way.)I have a few Indian friends, and I don't think any talk like that.Were they born (and spend 30 years) in India?No. ;-)
    One was born in India, but he didn't live there long.

  • JCONNECTOR with SAP B1 2005A

    I am having problems connecting to SAP B1 with DI API using JConnector. If I put
    wrong db name, I get error message. If all information is correct, my programme "frizes"
    at this line int result = company.connect();. It looks like it is in a loop. Doing something but do not return neither company name nor error message.
    I have wasted on this one week already I run Windows XP SP2 with DI API installed on it.
    thanks
    public class BBDemoConnect {
    public static void main(String[] args) {
    SBOCOMUtil util = new SBOCOMUtil();
    // create new Connect object
    ICompany company = util.newCompany();
    company.setServer( "192.168.xx.xx" );
    company.setCompanyDB( "someDB" );
    company.setUserName( "xx" );
    company.setPassword( "xx" );
    company.setLanguage(com.sap.smb.sbo.api.SBOCOMConstants.BoSuppLangs_ln_English);
    company.setDbUserName("sa");
    company.setDbPassword("xx");
    company.setLicenceServer( "192.168.xx.xx:30000" );
    //company.setSboLoginContext("");
    // use trusted connection to SQL Server
    company.setUseTrusted( new Boolean(false) ); // to TRUE to log on using the
    current NT user
    // connect
    int result = company.connect();
    System.out.println("Connect result: " + result);
    // analize connection result
    if ( result != 0 ) {
    System.out.println("Connection error: " + result);
    else {
    try {
    System.out.println("Connection success, company name: " +
    company.getCompanyName() );
    finally {
    company.disconnect();
    Message was edited by:
            Trinidad Martinez

    Hi Oleksiy,
    I don't see anything strange in your code. You should receive an error message but it shoudn't loop without end ;o(
    The only thing I can propose you is to create a message for support, they will have a deepest look into your problem.
    Regards
    Trinidad.

  • My first step in Java, please help me.

    I've just installed J2SDK1.4.0_03 and I'm reading the first pages of the Java tutorial.
    I've created a work folder : C:\Java
    I'm working with an msdos session of windows 2000
    I've created my first example class, prthello.java with NotePad :
    class prthello{
    public static void main(String args[]) {
    System.out.println("Hello World!");
    I've successful compilated it (javac prthello.java) and generated the prthello.class
    I've tried to execute it (java prthello) but it doesn't work and i receive the following message :
    Exception in thread "main" java.lang.NoClassDefFoundError: prthello
    The path should be correct (C:\Programmi\j2sdk1.4.0_03\bin) ,
    any suggestions would be appreciate.
    Thanking in Advance
    Andrea Giussani
    Milano, Italy

    Thank you for your suggestions, but i have already checked.
    The path is ok, i've installed jsdk under folder "programmi" and the path is :
    C:\>set path
    Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\IBM\CLIENT~1;
    C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;C:\Programmi\F
    ile comuni\Autodesk Shared\;C:\Programmi\j2sdk1.4.0_03\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    prthello.java and prthello.class are in the same folder (C:\java) where i executed javac with success and java with the error above mentioned.
    Any other suggestions ? Should I reinstall the JSDK ?
    Thanking in advance,
    Andrea Giussani

  • FP loses communication to host without triggering watchdogs

    FP loses communication with host. Problem does not seem to be picked up by watchdogs (which have been tested by removing ethernet cable and found to work correctly). Programme worked fine for 2 months without incident. It may be coincidental but problem appears to happen during the early mornings (4 - 6am) when external temperatures are around 3 degrees C. Simply powering off and on the FP seems to return operation to normal.

    Hello,
    There are no known issues with the FP-2010 and low temperature. You should be able to communicate with the module from -25C to 55C. If possible, I recommend that you test the controller in an environment has a constant temperature to try to determine if temperature is the main cause of this issue. It is possible that the module has become damaged internally and now is susceptible to temperature.
    The other thing you may want to try doing is reinstalling the real-time software on the FP-2010. This may help alleviate a software error that may be causing this problem. To do this, right-click on the Software folder that appears under your FP-2010 in Measurement and Automation Explorer and click Install Software.
    Regards,
    Bill B
    Applications Engineer
    National Instruments

  • Regarding CJV4 tcode

    Hi,
    This is wrt to the CJV4 tcode in PS module. A Simulative version of an operative Project needs to be done, which is the second radio button on the selection screen of the tcode. On execution, we are getting a few warnings(25) - msg 'Factory calendar in project differs from plant factory calendar' and 2 succesful msg :-
    1. Project can be transferred
    2. Creating project xxxxxx version SIMxxx
    The Simulation version is not getting created on checking the same in display. Kindly suggest the reason for the same and if possible any steps for solving the problem.
    Thanks in advance for the help...!
    Anoop

    Hi ,
    This may be  a program bug.U can right OSS to service.sap regarding this issue. They will proveid u patch for correcting ur programm error.I faced the similar situation before.
    Rgds

  • My hard drive is DEAD.I have to reinstall all my Adobe programms and I need to know exactly the correct process to do ( Indesign CS6-Photoshop CS6 - Photoshop CS5 -Illustrator CS6 - Ligntroom 4 )....

    My hard drive is DEAD.I have to reinstall all my Adobe programms and I need to know exactly the correct process to do ( Indesign CS6-Photoshop CS6 - Photoshop CS5 -Illustrator CS6 - Ligntroom 4 )....
    is any friendly tutorial available ?
    Thank you
    Albert

    If you didn't have the opportunity to deactivate the installations then you should contact Adobe Support thru chat and ask them to reset your activations for all the serial numbers involved.
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Make sure you are logged in to the Adobe site, have cookies enabled, clear your cookie cache.  If it continues to fail try using a different browser.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
    Then you just reinstall the programs and activate using the same serial numbers.  If you need to download you can find download available thru the following links...
    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html
    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh
    You might also find the following helpful...
    Download and Installation Help -
    https://helpx.adobe.com/download-install.html

  • I get an error message saying 'An error has caused Photoshop to stop working correctly. Windows will close the programme and notify you if a solution is available'. I have had no notification. My old Photoshop CS5 works fine, but as I'm paying for CC2014

    I get an error message saying 'An error has caused Photoshop to stop working correctly. Windows will close the programme and notify you if a solution is available'. I have had no notification. My old Photoshop CS5 works fine, but as I'm paying for CC2014 I would like to use it. I have tried renaming the 'sniffer' file to 'snifferold' as bobmiller4002 suggested but the problem is not resolved. Lightroom works fine.

    Hi Nancy,
                 I'm not sure I have the answers to all your questions. Although I use Photoshop and Lightroom extensively, I'm not a 'techy'.
    My system;
    Packard bell imedia S2885
    1TB hard drive
    500G RAM
    Windows 8.1   64- bit
    Intel core i5 4440
    If I open Photoshop cc14 without opening any image, I still get an error message that reads: 'Photoshop has encountered a problem with the display driver, and has temporarily disabled enhancements which use the graphics hardware'.
    There is also a link to the Adobe help site, but I'm not sure exactly what I should be downloading from there.  
             Thanks,
                        Dan.

  • Correct procedure to update Embedded Controller Programme - T43

    Dear Forum,
    Could somebody please describe the best way to safely update 'Embedded Controller Programme' in a T43?
    - The computer is a Thinkpad T43 1871 PM1 machine
    - BIOS Version is 1.29
    - Embedded Controller Version is 1.03
    - Apparently this is the correct current Embedded Controller Version http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-59439
    - Should I boot the machine into safe mode rather than regular startup?
    - Should I deactivate my firewall (PCTools), my anti-virus (Avast) and Malwarebytes from running at startup before I shut my machine down?
    - Are there any other specific programmes I need to shut down? (eg. IBM Access or any of the IBM updates?)
    - Does the controller update require internet access? Or should I also disconnect the computer from the web?
    Thank you!! :-)
    Harryredknapp

    Hi Harry,
    There is no need to boot the machine in Safe Mode, and yes it would be good idea to deactivate your firewall and antivirus products for the time being while the controller program is being updated.
    When I run BIOS update, I don't turn off any Thinkvantage tools so in my experience they don't interfere with the update process, and as far as I know the controller program doesn't require internet access (if you're doing manual update from the setup saved on your thinkpad).
    Hope it helps.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • Programme does not work correctly when built as an application

    My programme operates correctly when in development, but when built into an application it fails to function with regard to closing and opening front panels. I am using 'open VI referance' and 'property node virtual instrument Front panel open' to close and open front panel, it is this area that seems to fail.
    Do I have to do anything special with VI's that contain Server Functions?
    Any help would be appreciated. I am using LABview 5.0 with its Application Builder.
    Many Thanks

    Hi Dennis,
    It is very difficult to understand the problem here.
    1. Could you please explain what you mean when you say "it fails to function with regard to closing and opening front panels" ?
    2. It may also help if you can attach your program so that I can take a look at it.
    3. What is the program intended to do?? I mean, is it some sort of serial application etc.??
    I hope to solve your problem soon.
    Sincerely,
    Sastry V
    Applications Engineer

  • Messzge d'erreur  lors du chargement d'Adobe Player sous windows 7Erreur lors de l'application du programme correctif au fichier C : \ Config.Msi\PTF6DD.tmp.

    Lors du chargement d'Adobe Player  sous Windows 7 le chargement se fait jusqu'à 97% et affiche le message d'erreur suivant: Erreur lors de l’application du programme correctif au fichier C : \ Config.Msi\PTF6DD.tmp. Il a sans doute été mis à jour de manière différente et ne peut plus être modifié par ce programme correctif. Pour obtenir des informations complémentaires, contactez le revendeur de votre programme correctif. Que faut-il faire.

    Uninstall using http://labs.adobe.com/downloads/acrobatcleaner.html
    then reinstall from http://get.adobe.com/reader/enterprise/

  • Sous vista je ne peux pas installer le logiciel adobe downloader messCette application ne peut pas être installée car le programme d'installation n'a pas été configuré correctement. Veuillez contacter l'éditeur de l'application pour obtenir de l'aide ?

    Sous Vista je ne peux pas installer le logiciel Adobe Downloader , mon but est de télécharger premier élément 13 Le message d'erreru est :"Cette application ne peut pas être installée car le programme d'installation n'a pas été configuré correctement. Veuillez contacter l'éditeur de l'application pour obtenir de l'aide"?

    nanette01
    Premiere Elements 13 does not support Windows XP, Windows Vista, and Mac OSX 10.7.
    I have tried to push the Adobe ReadMe directive, using Windows XP as my test case. I could download
    Premiere Elements 13 tryout from Adobe to my Windows XP SP3 32 bit computer, but I could not install it.
    Please review and consider. Do you have Windows 7, 8, or 8.1 64 bit computer available to you for Premiere Elements 13?
    ATR

  • Y a t il une fonction de correction de parallaxe dans aperture svp

    bonjour  a tous je decouvre aperture et aussi le monde mac .... etant passionné d ephoto je souhaiterai savoir s il existe une fonction de correction de la parallaxe des images dans aperture svp !
    merci de votre aide

    Bonjour and welcome to our spot of sun in the orchard.  The language used is English (for better or worse  ).
    What do you mean by "parallax correction"?  I know of this in relation to sights (for shooting or astrophotography) and for viewfinders that are not through-the-lens, but I am not aware of how it applies to pictures.
    Perspective correction (de-keystoning, etc.) are not done in Aperture, but can be applied to Images in Aperture with plug-ins.  I use and recommend both PTLens and Photoshop.  There are likely others that also work well.

  • Installing programmes and upgrades correctly

    Can someone please give me a brief outline of the correct and most efficient way to install programmes and upgrades. This is pretty basic, I know, but I'd like to get into a habit of doing it the right way, rather than fumbling through it each time.
    e.g. I downloaded an iTunes upgrade. I clicked on all the relevant icons and it all seems to install, but I get left with a small white 'drive' icon on the desktop that contains the .mpkg and readme files, as well as the .dmg file. For the sake of keeping my computer uncluttered, which icons should get dragged to applications (and at what point in the process) and which can be safely ditched afterwards?
    Thank you!
    G4 iBook   Mac OS X (10.4.6)  

    Hello, and welcome to the Apple Discussion!
    The little white drive icon on the desktop, is where the installer file is, when you are done installing, you can drag and drop the drive icon on the trash can in the dock, and this will eject the disk image; then drag the .dmg file to the trash, and empty it.
    If you don't want to fool around with this when you install updates, an easier and more efficient way is to click the Apple in the top left corner (the apple menu as it is called). Once you have opened the Apple menu, go down to Software Update. This will look at the model of your Mac, and get the Apple software updates, and install them after download.
    I hope this helps, and enjoy your Mac!

  • I cannot download a programme as it is not accepting my administrator name (my name) and password (I know my password is correct)

    I am currently in Ghana and am trying to download a programme to make my modem work. 
    When i download a new program or go to update spotify for example, in order to allow the changes my mac requires me to enter the administrator name and password.
    I know the password as when i log into my computer on use this works.
    However when the tab comes up to download/etc the name for the administrator does not come up, and so i copy the name that it says on the system preferences accounts information. this does not work (it is my name).
    I
    cant download snow leopard as i need a digitial copy which isnt in store online - and dont wanna send it to ghana.
    Please help??

    If the machine was upgraded to Lion 10.7.x by the original owner then you bought an illegal license of Lion and also of any other applications that the seller  said came pre-installed, this assumes the seller did not include original install media. In that case you need to contact the seller for the original install DVDs that came with the machine re-install up to Snow Leopard 10.6.8 and then purchase Mountain Lion ($20) and the applications you want or need. If the seller cannot come up with the original install discs then you can buy them from a nominal cost from AppleCare..

Maybe you are looking for