Maintenir une sortie activée pendant un temps donné

Bonsoir,
Je me permets de vous solliciter, car je n'ai pas trouvé de solutions à mon problème du moment et je dois gérer divers projets de mes élèves de SSI avec peu de recul sur ce logiciel (quelques heures seulement).
Je souhaiterais quand cette condition est vraie que l'activation du port de sortie de ma carte 6809 soit maintenue pendant une durée finie (25 s). Le  module statechart permet de programmer des diagrammes d'états-transitions, je ne le connais pas mais il doit bien y avoir une solution pour réaliser cela sans utiliser ce module spécifique. L'activation de ce port permettra d'alimenter un moteur CC pendant un temps fini (en boucle ouverte). Pour info, le bouton rotatif me permet de tester ce programme sans avoir à lire le nombre de fronts montants sur un port d'entrée.
Par avance, vous remercie pour votre aide.

la fonction temps écoulé ne permet pas d'avoir d'excellente précision pour un pilotage de carte. on a un système qui utilise l'horloge du PC qui n'est pas du "temps réel". l'utilisatin d'un échantillonnage hardware pour le cadencement est ce qu'il y a de plus approprié (ce que fait la carte daq en interne ou par une source externe). les vi express sont bien pour coder rapidement mais pas pour qu'il soit performant. faire son code à la main permet de savoir ce que l'on met dedans et comment ça fonctionne. 
Cordialement
L.MICOU

Similar Messages

  • Condition vraie pendant un temps donné

    Bonjour,
    J'aimerai savoir si c'était posssible dans une boucle condition que lorsque ma condtion deviens fausse, attendre 5 secondes avant d'effectuer ce qu'il y a dans la condition faux. Sachant que ma condtion est simplement un bouton poussoir, vrai si je l'allume, faux si je l'éteinds.
    Donc lorsque j'éteinds le bouton, il y a une tempo de 5 secondes avant que la condition fausse ne se fasse.

    Fausse alerte !!!
    Il fallait simplement mettre un "attendre" avec comme constante 5000ms dans la condition vrai !

  • Problème d'acquisition des données pendant un temps fixé par l'utilisateur

    Bonjour la communauté Labview,
    j'ai un problème d'acqusition et d'écrire des données dans un fichier .lvm
    Comme vous le montre le fichier pdf joint, en mode manuel toute se passe bien. Lorsque j'appuie sur le bouton acquisition, un nombre de données est acquéri et permet de réaliser une moyenne sur ces échantillons.
    En mode automatique, la boucle for réprésente une série de mesures à réaliser et fixé par l'utilisateur
    Mon problème se situe au niveau du triangle rouge car l'acquisition des données ne se fait pas correctement. je voudrait que ça  enregistre les données acquis par le module d'enregistrement pendant un temps que l'utilisateur a fixé et ainsi on récupérera  N d'échantillons dont le nombre n'a pas grande importance.
    Le problème est que le module d'enregistrement ne se lance pas si bien que le fichier ne se crée même pas ou bien il récupère un échantillon.
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    diagramme simplifiée VI final.pdf ‏41 KB

    Bonjour,
    Merci pour votre réponse mais j'ai réussi à régler le problème vendredi soir après plusieurs heures de combat acharné avec mon programme.
    Cordialement,
    Alexandre

  • Boutons d'état ne s'activent pas pendant le scroll

    bonjour, je ne trouve mon probleme dans aucun forum , je pense donc que je fais une mauvaise manip
    j'ai placé 5 boutons d'état verticalement en haut de mon site et ai relié chacun à une ancre.
    Lorsque je clique sur chaque bouton d'etat il prend bien l'etat cliqué ....
    la page (tres longue) défile jusqu'à cette ancre...
    Par contre lorsque je suis positionné à l'ancre voulue le bouton d 'état ne reste pas actif...   j'ai vu un post qui en parlait mais je n'ai pas compris la solution
    et le plus important :
    ...de meme si je fait défiler ma page en scroll,  les boutons d'etat ne s'activent pas au fur et à mesure de leur passage devant les ancres
    merci de votre reponse voici le lien vers le pré-site
    et merci pour ce logiciel extra
    http://royalheritage02.businesscatalyst.com

    ouhaou merci !  un rien ... je n'y aurais pas pensé, pour moi c'était le cadre qui etait interactif j'étais sur le point de supprimer ces boutons
    J.C
    Le 10 mai 2014 à 06:31, Franck Payen a écrit :
    Boutons d'état ne s'activent pas pendant le scroll
    created by Franck Payen in Forums en français - View the full discussion
    Trouvé :
    En fait, dans vos boutons d'état, l'étiquette dans le bouton a un effet de défilement d'opacité qui le met à 0% passé une certaine hauteur qu'il faut tout simplement supprimer…
    https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6370520-639465/450-255/Forum- Mu-Opacite.png
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6370520#6370520
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Forums en français by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • HT4972 Hi I am trying to upgrade my iPhone Model#A1303 to iOS6 through iTunes. The iOS is upgraded but activation is pending. Says activating serveris temporarily unavailable repeatedly and i am unable to use my phone. Please help to upgrade or restore.

    Hi I am trying to upgrade my iPhone Model#A1303 to iOS6 through iTunes. The iOS is upgraded but activation is pending. Says activating serveris temporarily unavailable repeatedly and i am unable to use my phone. Please help to upgrade or restore.

    That's usully symptomatic of a phone that was jailbroken or hacked to unlock it.

  • Créer une sortie analogique 6025E

    Bonjour,
    j'aimerai savoir comment procéder pour créer une sortie analogique (AO0) me permettant d'envoyer une tension comprise entre 0 et 5 V à un débimètre massique (Brooks, Mass Flow Controller, 5580 TR). 
    J'ai pour le moment réussi à créer une entrée analogique (AI15) me permettant de récuperer la valeur du retour.
    Le tout en passant par la carte PCI-6025E.
    Merci d'avance
    Résolu !
    Accéder à la solution.

    Je comprends mieux ce que tu veux faire.
    Il faut que tu utilises les VI qui sont dans la palette E/S de mesures, DAQmx acquisition de données.
    Je te conseille également de regarder dans les exemples de code fournit avec LabVIEW (Menu Aide, Recherche d'exemples...), tu devrais trouver ton bonheur ;-)
    Cordialement
    Benoît C.
    Certified LabVIEW Associate Developer

  • Comment programmer un niveau de triger sur une entrée analogique provoquant le changement d�état d�une sortie logique lorsque ce niveau est atteint

    Comment programmer un niveau de triger sur une entrée analogique provoquant le changement d�état d�une sortie digitale lorsque ce niveau est atteint

    Hello Rla,
    I believe you've already posted this question here and it has already been answered. Please continue to post in that discussion thread.
    David Mc.
    NI Applications Engineer

  • Found all the Servers that were restart without the maintenance mode were actived ?

    Hi all
    I was wondering if I can find a query about this request:
    - Found all the Servers that were restart without the maintenance mode were actived ?
    It's to make a Report To include in Reporting Services.
    sorry for my English :)
    Thank you very much and have a good day

    Hi, first if the maintenance mode is activated no events are collected, then, as example, in default rules you can see the following
    Collection Rule for Windows Restarted Events that collects eventid=6005
    with eventsourcename=eventlog from System
    log which is enabled by default.
    http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows+Operating+System&ProdVer=5.2&EvtID=6005&EvtSrc=EventLog&LCID=1033
    So you can check Data warehouse DB for presence such event
    select ComputerName, DateTime from Event.vEvent ev
    inner join Event.vEventDetail evd on ev.eventoriginid = evd.eventoriginid
    inner join Event.vEventParameter evp on ev.eventoriginid = evp.eventoriginid
    inner join vEventLoggingComputer elc on elc.eventloggingcomputerrowid = ev.loggingcomputerrowid
    where eventdisplaynumber = '6005' Order by ComputerName, Datetime
    http://blogs.technet.com/b/kevinholman/archive/2007/10/18/useful-operations-manager-2007-sql-queries.aspx
    So if you see this event it means the server was restarted and the maintenance mode was not activated.
    Also keep in mind that there can be other event ids when computer is restarted, as example see the rule
    Collection Rule for Windows Restart Events (restarted from bugcheck)

  • Quelle est le courant maximum que peux fournir une sortie numérique de la Carte NI USB-6009?

    Bonjours,
    je voulais savoir qu'elle peut être le courant maximum que peux fournir une sortie numérique sans l'endommager de la carte NI USB-6009. 
    Cordialement.
    theolamache

    Salut :
    https://www.google.fr/search?q=NI+USB-6009
    Premier PDF que tu trouves, page 22/30, avec ça tu devrais pouvoir
    en déduire la puissance maximale d'une sortie numérique.
    De toute façon c'est l'appareil qui est le facteur limitant, en général
    c'est pas lui qui va flancher, c'est simplement qu'il ne fournira pas
    assez de courant pour faire fonctionner ton appareil.
    Il faut penser à un étage d'alimentation piloté par commande
    numérique (genre triristor) si tu veux plus de puissance. La
    commande numérique est juste là pour pouvoir piloter ce
    genre de composant, pas plus.
    David Koch

  • Distributed maintenance is not active; IDoc ignored

    Hi
    i am using LSMW to load Equipment BOM using IDOCs Basic type- /ISDFPS/BOMEQU01 Message type - /ISDFPS/BOMEQU.
    i am getting error mesage status - 51  Distributed maintenance is not active; IDoc ignored
    Message no. /ISDFPS/PM083
    i have maintained inbound parameters,Kindly help to resolve this issue.
    Thanks
    Seenu

    The System Package EA-DFPS need to be activated, If this is missing in the system.
        Enterprise Addon not active*
    SAP DFPS component enhances the standard SAP functions by providing functions for the following business tasks and processes:
    Organizational Flexibility (mapping organizational structures and material and personnel resource planning)
    The different business processes of armed forces, police, and aid organizations (organization, Human Resources Management, Materials Management, Maintenance, and so on) run along organizational structures.
    Each organizational element (department or unit, for example):
    Has certain properties, responsibilities, tasks, and missions
    Requires personnel, material, and financial resources in order to perform its tasks
    Is included in different organizational structures (organizational structure, command and support relationships, and so on) and works in conjunction with other organizational elements in accordance with the relationships thereby defined
    You can use the functions in the Organizational Flexibility area of the Defense Forces & Public Security component to map these organizational bases and to carry out your resource planning.
    This complete and integrated mapping provides you with the required basis in the system to:
    Control processes in Human Resources, Logistics, Accounting, and Funds Management
    Enable organizational changes to take effect automatically in the relevant processes
    Enable you to plan and execute operations and exercises from the domestic base
    Accounting and Funds Management
    The Defense Forces & Public Security component provides armed forces, police, and aid organizations with the functions they need to carry out account assignment and budgeting for objects in the domestic base and operations in a distributed system landscape.
    Materials Management
    In the Defense Forces & Public Security component, Materials Management (MM) supports you when supplying armed forces, police, and aid organizations with non-consumable, individual consumable, and bulk consumable goods.
    Material planners and MRP controllers can plan and carry out initial supplies and other supplies for the domestic base as well as for operations and exercises.
    All tasks relating to supplies can be carried out in a distributed system landscape.
    Support for Flight Operations
    The Support for Flight Operations area supports processes carried out by airborne units in the domestic base, operations, and exercises. This includes the planning, control, and coordination of flight operations, the execution and control of maintenance, and administration. As a result, you can execute flights, from planning through to technical debriefing.
    Maintenance
    The Maintenance area of the Defense Forces & Public Security (DFPS) component supports armed forces, police, and aid agencies in performing maintenance tasks in the domestic base, operations, and exercises and enables the consistent distribution of maintenance data in a multi-system landscape.

  • Impossible d'activer le réseau de données cellulaire

    bonjour, je capte la 3G (icone affichée) MAIS mon Iphone 5 ne dit qu'il N'y a pas internet pas de de connexion.
    Un autre message quand Je vais sur safari "impossible d'activer le Réseau de Données cellulaire".
    Que DOIs je faire, Que se passe t il?
    J'ai redémarré mon Iphone.
    M erci de Votre Réponse!
    Gaetan

    Bonsoir !
    J'ai excatement le même soucis.
    Je ne parviens pas à utiliser iMessage avec mon numéro de téléphone.
    Seule l'adresse mail de mon compte Apple fonctionne (mais les destinataires réceptionnent mes messages avec l'adresse mail, mais mon numéro ne s'affiche pas. Ce n'est pas pratique)
    Idem pour FaceTime, il ne s'active pas avec mon No de téléphone.
    - J'ai effacé complètement l'iPhone (sans faire de restauration), sans succès
    - Mon opérateur à changé ma carte Sim, sans succès
    - Si je place une autre carte SIM dont les fonctions iMessage et Facetime fonctionnent dans mon téléphone, cela marche aussi !
    Le problème est donc bien lié à ma ligne et mon numéro de téléphone
    (Cette ligne à été portée de Freemobile vers Sosh, ceci explique peut-être mon problème)
    Par contre, mon nouvel opérateur Sosh m'affirme que non, à son niveau il n'y a pas de problème.
    Apple me dit que de son côté, il ne peut rien faire...
    Je commence à m'arracher les cheveux !!!!
    Alors si vous avez une idée...
    D'avance, merci !

  • Is it possible to archive a website?  I don't want the website to be current/active anymore but I also don't want to erase it.  Is there an archive option?

    I have a website through iweb that I don't want to keep active anymore, but I also don't want to erase it completely.  Is there an "archive" option, or  some way to save it?

    There's no archive but you can just delete the online files from the server and keep the site in iWeb.  When you want to reactivate the site just republish it.
    OT

  • HT5787 Hallo , i don't remember the answer to my security questions and my apple ID is my old Email address whice not active any more and i don't have access to it

    Hallo , i don't remember the answer to my security questions and my apple ID is my old Email address whice not active any more and i don't have access to it.
    During the last year i was using my Iphone under this APPLE ID :***** , but i forgot to change it on "FIND MY IPHONE"
    is there a solution for that??
    Kind regards
    yossi
    <Email Edited By Host>

    If you changed your Apple ID from the old email address (that is showing up) to a new one, but just forgot to update it on your iPhone, try these steps.
    1. Use your current Apple ID password
    Trying using your current Apple ID password. If that doesn't work, continue to the next step.
    2. Sign out and back in to iMessage or FaceTime
    If you are currently signed in to iMessage or FaceTime
    Sign out of iMessage or FaceTime:
    iMessage: Go to Settings > Messages > Send & Receive, tap your Apple ID, then tap Sign Out.
    FaceTime: Go to Settings > FaceTime, tap your Apple ID, then tap Sign Out.
    Sign back in to iMessage or FaceTime:
    iMessage: Go to Settings > Messages, then tap "Use your Apple ID for iMessage".
    FaceTime: Go to Settings > FaceTime, then tap "Use your Apple ID for FaceTime".
    You should now be able to sign out of iCloud. You will still see your previous Apple ID when signing out.
    If you are not signed in to iMessage or FaceTime
    Sign in to iMessage or FaceTime:
    iMessage: Go to Settings > Messages, then tap "Use your Apple ID for iMessage".
    FaceTime: Go to Settings > FaceTime, then tap "Use your Apple ID for FaceTime".
    You should now be able to sign out of iCloud. You will still see your previous Apple ID when signing out.
    3. Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't work, try these steps:
    Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    Tap Settings > iCloud and try to sign out.
    Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    Tap Settings > iCloud and sign in with the new Apple ID.

  • Hi , I have recently bought an second hand iPhone 4 , Now most of the thing on the iPhone you  need iCloud ,i try logging on to it but when i do it say The maximum number of free account have been activated on this iPhone, i don't know what to do. Help

    Hi , I have recently bought an second hand iPhone 4 , Now most of the thing on the iPhone you  need iCloud ,i try logging on to it but when i do it say The maximum number of free account have been activated on this iPhone, i don't know what to do. Help

    When you have kernel panics, the pertinent information is in the panic report.
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar.
    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A panic report has a name that begins with "Kernel" and ends in ".panic". Select the most recent one. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    If you don't see any reports listed, but you know there was a panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.

  • TS1424 cannot download recently purchased album on iphone to itunes on computer.  says to make sure connection to network is active and try again.  don't know what to do from here!!!

    I cannot download recently purchased album on iphone to itunes on computer.  says to make sure connection to network is active and try again.  don't know what to do from here!!!

    Did you find a resolution as I'm having same problem?

Maybe you are looking for

  • Installing and running Endeca on Crunchbang (#!)

    Greetings- I am trying to install and run Endeca on my Crunchbang system [see below for distro details] . I finished installing packages and deploying a sample application from deployment_template successfully. However the initialize_service.sh fails

  • X1600 graphics and Pixel Shader support

    I have a first gen 17" MacBook Pro (2.16GHz, 2GB RAM, ATI Radeon X1600 graphics) with a graphics card that's supposed to support Pixel Shader 3.0 as documented here. However, when I run this software, the features that create textures and images onto

  • How can i have a copy of my iphone  applications in the itunes?

    how can i have a copy of my iphone  applications in the itunes?

  • Change Customer data...

    Dear all, I have to change the E-mail address of so many customers, So, first i ahve choose the option BDC but it is not working properly, so can u suggest me how to do this...? Regards.

  • Change price of Catalog item in S.Cart

    We want to change the price of a Catalog item in the SRM shopping cart ....am on SRM5, SP06 ECS... Is this possible? I know MDM catalog items come into SRM as non editable /grayed out with a Price already chosen....but we want to change it and add a