Attente millisecon​de: possible d'un chiffre infÃrieur à 1ms?

Bonjour,
j'ai un programme qui utilise une carte d'acquisitione. J'effectue une tâched'acquisition pendant 1seconde, j'attends 1ms puis j'effectue une acquisition pendant 2s.
Bref, j'aimerais attendre moins de 1ms mais je ne sais pas comment faire.
Est-ce que le vi "attente (ms)" accèpte les valeurs doubles (genre 0.5, 0.75)?
Merci d'avance.
Sébastien
Résolu !
Accéder à la solution.

Bonjour Sébastien,
Malheureusement avec un cadencement logiciel, tu ne pourras pas descendre en dessous de la ms sous un OS Windows.
Pour faire une acquisition sous la ms, il te faudra utiliser le cadencement matériel et donc utiliser le VI de Cadencement.
Tu trouveras plus d'informations sur la différence entre cadencement matériel et logiciel dans le chapitre 5 du lien suivant:
NI-DAQmx Timing
Je t'inviite également a regarder l'exemple présent dans LabVIEW : Tension entrée continue (Aide>>Recherche d'exemples>>E/S matérielles>>DAQmx>>Entrée analogique)
Bonne journée
Valentin
Certified TestStand Architect
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;}
Travaux Pratiques d'initiation à LabVIEW et à la mesure
Du 2 au 23 octobre, partout en France

Similar Messages

  • Labview travail il inférieur à la ms ?

    Bonjour,
    J'utilise une carte NI pour récupérer un signal analogique. Sur ce signal, je
    souhaiterai mesurer le temps qu'il a mit pour passé d'un état haut à un état
    bas. Je sais que cette mesure est inférieure à la ms. Le problème, c'est que
    j'ai l'impression de labview (par les fonctions déjà existante) n'est pas
    capable de travailler, où du moins mesurer un temps en dessous de la ms. De
    plus, je dois échantillonner le signal lors de cette descente avec donc une
    horloge inférieur à la ms (idéal = µs). Si quelqu'un à une idée je suis preneur
    Merci de m'aider

    Bonjour,
    Merci de suivre les réponses à votre question vers ce lien. Il correspond à la même question.
    http://forums.ni.com/ni/board/message?board.id=4170&message.id=15007
    Cordialement.

  • Mettre à 1 les valeurs inférieures à un seuil d'un tableau 2D

    Bonjour,
    Je suis un débutant complet en labview alors excusez d'avance mes faibles connaissances.
    Mais je souhaite faire du traitement d'image.
    Pour cela, j'ai déjà repris un exemple me permettant de transformer une image 1024x768 d'une caméra USB en tableau 2D de pixels.
    Ensuite je souhaiterai donc prendre les valeurs des ces derniers, les comparer à un seuil, puis forcer les valeurs à 1 si elles sont inférieures à ce seuil et les forcer à 0 sinon.
    J'ai mis en pièce jointes le diagramme et la face-avant de mon fichier.
    Cela ne marche pas, j'ai bien un tableau de booléen qui s'affiche, mais aucun n'est mis à 1, alors que dans mon tableau de pixel, il y a bel et bien des valeurs inférieures et supérieures au seuil.
    Merci de votre aide
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    clip_image002.jpg ‏28 KB
    clip_image003.jpg ‏38 KB

    Bonjour à vous, les boucles ne sont pas nécessaires, les fonctions de comparaisons permettre de rentrer des tableaux.
    A+
    Luc Desruelle | Voir mon profil | LabVIEW Code & blog
    Co-auteur livre LabVIEW : Programmation et applications
    CLA : Certified LabVIEW Architect / Certifié Architecte LabVIEW
    CLD : Certified LabVIEW Developer / Certifié Développeur LabVIEW

  • Jeux partiels de polices quand le pourcentage de caractère est inférieur à 100%

    Bonjour
    Dans la fenêtre "Exporter au format pdf", "onglet Avancé".
    Je ne comprends pas vraiment le paramètre "Jeux partiels de polices quand le pourcentage de caractère est inférieur à"
    d'ailleurs je ne comprends pas la phrase. Est-ce un problème de traduction?
    Si je veux l'intégralité des polices dans mon pdf, quel pourcentage 1% ou 100%
    Si vous avez compris le sens de cette phrase, pourriez-vous me l'expliquer ou dites moi si vous aussi vous n'avez pas compris?
    Je vous remercie de votre aide.
    Ulysse

    Je ne parle pas de l'intégralité des glyphes d'une police, on est bien d'accord sur ce point, et c'est l'objet de ma première réponse. Je parle de l'inquiétude d'ulysseSky, qui voulait s'assurer que toutes les polices de son document allaien têtre incoprporées.
    Si, j'ai bien compris. C'est pour ça que je faisais bien la distinction, pour que ce soit plus clair.

  • Je suis étudiant je souhaiterais acheter le MacBook Pro retina en 15 pouce et je vois que le prix est inférieur en éducation, comment cela se passe t'il pour prouver que nous somme bien étudiant ?

    Je suis étudiant je souhaiterais acheter le MacBook Pro retina en 15 pouce et je vois que le prix est inférieur en éducation, comment cela se passe t'il pour prouver que nous somme bien étudiant ?

    Vous avez seulement besoin de présenter une carte d'étudiant en cours afin d'obtenir le tarif étudiant.
    Clinton
    Sorry if the French is bad - I used Google Translate.

  • Comment appeler un movie dans différents niveaux (inférieur-supérieur)...

    Bonjour,
    je vous met en situation : (http://cocopub.com/ninon/index.html)
    J'ai un document maître qui se nomme structure.swf
    J'appel une section, collections.swfà l'aide d'un loadmovie dans un clip du nom de contenant_collections
    Une fois dans collections.swfqui se trouve en fait dans structure.swf, je désir appeler l'une des 7 sous-sections dans un clip du fichier collections.swfnommé contenant_colliers (pour la sections colliers, fichiers colliers.swf).
    Je peux afficher l'une des 7 sections sans problèmes, mais lorsque je désir changer de sous-sections et que je clic sur le bouton, rien ne se passe. Mes boutons pour mes 3 sections pricipales fonctionnent, mais pas les sous-sections.
    C'EST URGENT !!!!
    Merci pour tous de votre aide,
    Marc-André

    There is a French language forum at http://forums.adobe.com/community/international_forums/francais

  • Peux-t'on traiter des signaux d'une fréquence inférieure à 4 Hz ?

    Est-ce que le filtrage se fait en passe haut ou bien en passe bas ?
    Quelle est la différence entre le filtre 4Hz et 10kHz ?
    Peux-t'on utiliser l'appareil sans filtre ?

    "Les filtres situés sur le SCXI-1121 sont des filtres passe-bas.
    La différence entre les deux filtres est simplement la fréquence de coupure du filtre passe bas (4Hz ou 10KHz).
    Enfin, par défaut, vous ne pouvez pas désactiver ces filtres. Des modifications au niveau matériel sont faisables en désoudant certaines capacités mais cela n'est pas du tout conseillé.
    Bonne continuation."

  • Peux-t'on traiter des signaux d'une fréquence inférieure à 4 Hz sur le SCXI-1121?

    Est-ce que le filtrage se fait en passe haut ou bien en passe bas ?
    Quelle est la différence entre le filtre 4Hz et 10kHz ?
    Peux-t'on utiliser l'appareil sans filtre ?

    Les filtres situés sur le SCXI-1121 sont des filtres passe-bas.
    La différence entre les deux filtres est simplement la fréquence de coupure du filtre passe bas (4Hz ou 10KHz).
    Enfin, par défaut, vous ne pouvez pas désactiver ces filtres. Des modifications au niveau matériel sont faisables en désoudant certaines capacités mais cela n'est pas du tout conseillé.
    Bonne continuation.

  • Supprimer une file d'attente d'évènement statique

    Bonjour,
    Je suis en train de réaliser une application pour un banc de test sous labview.
    Dans le cadre de ce programme j'ai utilisé une structure évènement pour gérer les différentes actions réalisables sur l'IHM.
    Voila mon problème :
    Certains de mes boutons vont activer des évènements longs à traiter, durant tout ce temps de traitement labview vérouille la face avant mais stock tous les évènements dans un file d'attente et les traite une fois que l'évènement en cour est terminé. Cela me pose problème car j'ai peur qu'un utilisateur ne sachant pas qu'un évènement est en cours de traitement puisse appuyer sur plusieurs boutons, ne comprenant pa pourquoi l'interface est vérouillée, et qu'au moment du traitement de tout ces évènements cela ne plante mon programme.
    Je me demandais donc si il était possible de supprimer la file d'attente d'évènement statique d'une structure évènement pour éviter ce problème. Ou peut -être existe t'il d'autres solution (un vérouillage plus éfficace de la face avant ...) ??
    Voila voila j'espère que j'ai été assez clair, n'hésitez pas si vous avez des questions et merci d'avance pour votre aide, je suis vraiment bloqué là ....
    Résolu !
    Accéder à la solution.

    1)
    sur un Controle ... tu as le noeud de propriété "disabled".
    Tu peux donc à souhait rendre inactif un Controle du FP (un, des ou tous)
    inactivation à l'entrée du code .... et réactivation du ou des controles en sortie de code.
    2)
    oui, la fonction "flush event queue" permet aussi de "flusher" les event static.
    (il faut mettre une de ses entrées à "true" (voir l'aide sur cette fonction)
    le soucis est que "flush event queue" n'est disponible que pour LV 2013 et  supérieure,
    et donc que ton code sera impossible à convertir vers une version inférieure à 2013.

  • Does two timed loop work together? is it possible....

    Hello
    I use Crio in scan mode and have problem with timed loop.  I use two timed loop for two different PID loop. I need to get 1ms delay for PID loop. But When I two run realtime side with timed loop, only one of them work (when ı send command from host side). Is it possible to run two time loop 1ms. How can I configure each timed loop work together properly? (ı configured the each time loop as synchron scan enginee 1ms)
    Both array are used for sinusoidal position data form host vi. I use time delay (1 ms) to make certain frequency with sample size(I adjust sample size for 1000 for 1 hz 500 for 2 hz).Each loop control  to position of servo system with PID. So I use two VI in my host side and I send two different sinus data with array. I tested with one timed loop it works vey well. But When I try it two time loop it dosent work.
    Attachments:
    RT TEK.vi ‏105 KB

    Two loops in parallell is quite easy, you just need two unconnected loops. If there's a wire in between you get data dependency which means the 2nd loop will wait until the 1st one finishes.
    Is that what happening to you? (I cant open the file)
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Erreur de timeout sur Visa Write

    Bonjour,
    Je suis étudiant en énergétique 4e année et je réalise dans le cadre d'un stage une méthode de mesure de débit à travers une porte à l'aide de capteurs à fil chaud et de deux autres types de capteurs.
    J'utilise dans labview un programme dont le visuel+fichier est en pièce jointe.
    Sur le principe, le programme (assez complexe car le signal est traité par la suite) fonctionne de la manière suivante : j'utilise pour acquérir les signaux donnés par le multimètre agilent 34970A trois ensembles "visa write puis visa read" pour l'acquisition successive de signaux de tension, d'intensité, puis de tension (3 types de capteurs différents) avec timeout de 20 seconde, le tout dans une boucle while pour des acquisitions de plusieurs centaines de points, avec une série de valeurs toute les 5 secondes. 
    Aléatoirement, au bout d'un certain nombre de réalisation de la boucle (non régulier, parfois 1H, parfois 10 minutes, parfois 6h), la boucle s'arrête, et j'obtiens l'erreur suivante :
    L'erreur -1073807339 s'est produite à : VISA Read dans VitesseTemperatureRTDDirection2-essais10bon_moymobil.vi
     VISA:  (Hex 0xBFFF0015) Le délai d'attente (timeout) a expiré avant que l'opération ne soit achevée.
     Pourtant, le temps de réponse de mes capteur est inférieur à la seconde. ce sont des capteurs à fil chaud
    Je pense qu'il peut subsister un problème dans mon programme labview sur la méthode d'acquisition de ce multimètre. L'erreur peut également venir du multimètre ou des capteurs (faux contact)
    J'ai essayé d'être le plus claire possible, néanmoins n'hésitez pas à demander des explications 
    Merci d'avance pour vos précieuses réponses 
    Attachments:
    VitesseTemperatureRTDDirection2- essais10bon_optimize_avecsigne050510.vi ‏155 KB
    erreurprogramme.jpg ‏164 KB

    Pourquoi vous employez le "Read" dans la premiere commande de VISA, et "Init-Fetc" dans le prochain VISA?  Essai utilisant le "Read" tout pars tout.  Si ceci ne fixe pas le probleme, changez du "XON-XOFF" au aucun handshaking.  Temps au temps, les "binary bits" (je ne savez pas les mots en Francais) resemble XOFF.  J'espere que ceci vous aide.
    - tbob
    Inventor of the WORM Global

  • Error -Account 'Down-payments clearing account' could not be found for area

    When I am trying to pass a down payment entry by debiting vedor and crediting bank with asset it is giving an error as follows.
    Account 'Down-payments clearing account' could not be found for area 01
    Message no. AU133
    Please help me to rectify the same.
    Thanks in advance
    Deepak

    HI
    Please pay attention at  the possible causes of message AU133:
    1. Error AU133:
       a) You have not defined a contra account for acquisition value postings in the Asset Accounting Customizing settings (Transaction AO90).However, this is required as of Release 4.6C because, as is the case for all other integration postings in Asset Accounting, invoice receipt postings have to be displayed in Asset Accounting via the new posting kernel to ensure an identical document
    structure.
       b) You have defined the account in Asset Accounting, however, it is not created in the affected company code.Check whether the account is correct and create it for the company code, if necessary.
    2. You have entered an asset reconciliation account for the "Contra account: Acquisition value posting" (for example, the same account as for   "Acquisition:Acquis. and production costs" account).This is not  permitted.Check whether your account determination is correct               
       (Transaction AO90) in Asset Accounting Customizing. The same applies
       for the 'Contra account: Down payment posting'.
    3. As "Contra account: Acquisition value posting" you entered an asset G/L account. If necessary change the automatic posting indicator in the G/L account master record.
    4.Check if you need  revaluation accounts in depreciation areas involved   (AO90):
      -Revaluation acquis. and production costs
      -Offsetting account: Revaluation APC
    Please run also programm RACKONTO where missing or wrong customizing
    the accoutn determinations per company code is displayed
    Also have a look at note 7595 in this regard.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • My Number Does Not Show Up On Phone Or In iTunes

    This actually occurs on what is now my wife's iphone. It had been mine until I got the 3g one. We got a new sim from AT&T and activated it through itunes for my wife. Everything works, there are no special issues other than what everyone else has seen with the 2.0 software. Her number shows up on caller id on other phones all texts and emails and calls go through with no issue. However her number does not show up anywhere on her phone, not in settings on the phone screen, not on the contacts list and not on itunes either. I remember last year there were some posts regarding this issue but when I was using this phone my number showed up where it was supposed to be so I didn't pay attention to any possible resolutions. I've found a couple of posts that refer to a possible solution involving the sim card. However we went to an AT&T store and two of the guys there who both have iphones said that the sim wouldn't have anything to do with this.
    I'm assuming that something didn't transfer over when we did the activation for her but have no idea how to rectify this. I did try a restore from backup but that didn't do anything. On my phone my number shows up in the right places. Even though this isn't a critical or major issue it does annoy me ( more me than my wife! ). Does anyone have any suggestions?
    John

    Wanted to post an update for anyone else with this issue. I was advised by someone else to call AT&T customer support and have them resend activation/provisioning to the phone. He said he had the issue and this worked for him. So I called and when I finally got someone I was told that there was nothing they could "resend" to the phone but she got in touch with an Apple iphone support person and after explaining the issue to her she connected me to the Apple rep. I explained everything again to her and she said there were two options - the "restore as new phone" which she did not recommend because of the hassle and length of time involved, or have the activation resent to the phone by AT&T. I told her that I had been told there was nothing to be resent. She told me that was incorrect and then she got back in touch with AT&T support then got back to me and said I would see a text message to power off the phone. When I saw that I was to power off and wait 5 minutes and then power the phone back on. At the time I was actually using the phone that had the issue so she called me back on my phone and after 5 minutes I powered the other phone back up and the number now shows up everywhere it's supposed to. Simple, no muss, no fuss and no restore!!
    I thanked her profusely and we both wondered why the first AT&T service person I spoke to did not know that this could be done or did not want to. But she told me the AT&T guys are a little scared of the Apple guys and that they can get things done that we might not be able to. Anyway it is a simple process if you can get them to do it the first time, maybe it's best to go through the Apple people first. The Apple service rep was wonderful and I'm happy!
    John

  • Warning:unchecked cast

    I am one of the many that have this compiler problem. When i compile this program( i want to check how it works).
    import generated.*;
    import javax.xml.bind.*;
    import java.io.File;
    import java.util.List;
    public class JAXBUnMarshaller {
      public void unMarshall(File xmlDocument) {
        try {
    JAXBContext jaxbContext = JAXBContext.newInstance("generated");
    Unmarshaller unMarshaller = jaxbContext.createUnmarshaller();
    JAXBElement<CatalogType> catalogElement =     (JAXBElement<CatalogType>)
    unMarshaller.unmarshal(xmlDocument);
    CatalogType catalog=catalogElement.getValue();
         System.out.println("Section: " + catalog.getSection());
         System.out.println("Publisher: " + catalog.getPublisher());
         List<JournalType> journalList = catalog.getJournal();
         for (int i = 0; i < journalList.size(); i++) {
              JournalType journal = (JournalType) journalList.get(i);
              List<ArticleType> articleList = journal.getArticle();
                for (int j = 0; j < articleList.size(); j++) {
                  ArticleType article = (ArticleType)articleList.get(j);
    System.out.println("Article Date: " + article.getDate());
    System.out.println("Level: " + article.getLevel());
    System.out.println("Title: " + article.getTitle());
    System.out.println("Author: " + article.getAuthor());
    catch (JAXBException e) {
    System.out.println(e.toString());
         public static void main(String[] argv) {
              File xmlDocument = new File("catalog.xml");
              JAXBUnMarshaller jaxbUnmarshaller = new JAXBUnMarshaller();
              jaxbUnmarshaller.unMarshall(xmlDocument);
    IT responds to me
    _JAXBUnMarshaller.java:15:warning: [unchecked] unchecked cast_
    found: java.lang.Object
    required:javax.xml.bind.JAXBElement(generated.CatalogType)
    Can anyone help?

    Yep. Looks as if that's 'cause of
    JAXBElement<CatalogType> catalogElement = (JAXBElement<CatalogType>)unMarshaller.unmarshal(xmlDocument);The Java compiler is warning you that it has no way of ensuring (either at compile time or at runtime) that the JAXBElement is actually an element with the type CatalogType. So if you're wrong, things won't work the way you expect.
    You can safely ignore this warning if you're certain you're correct; the compiler is just drawing your attention to the possibility. Ideally, you'd have an API that returned the correct type rather than just an Object, but the Unmarshaller class doesn't have that capacity. So you'll just have to check it yourself to make sure it's right.

  • Updates for Acrobat 9 Pro Extended

    I just reinstalled Windows, which involved also reinstalling my copy of Acrobat 9 Pro Extended. When I hit the Check for Updates menu, the message box states There are no updates available at this time. In addition, I have been unable to locate updates for my version of Acrobat on the web site. I would appreciate a link to the update page.
    Thanks.
    Mike

    Thanks for sharing that information. Otherwise, I would not have been attentive to the possibility that the built-in updater would start to function. I found that it kicked in after I installed the update to 9.2.0.
    After installing 9.2.0 and rebooting, I tried the Check for updates menu option, under the Help menu. I got a message to the effect that “The Adobe updater is already running”. Using Process Explorer, I checked the running processes and found a windowless program called AdobeARM.exe (Adobe Reader and Acrobat Manager) was running. I assumed that it was downloading files, so I let it run. After about 10 minutes, it notified me of an update and offered to run it. After it finished, I was updated from 9.2.0 to 9.5.5. I checked the log and verified that it had downloaded and installed all the interim updates to bring me up to 9.5.5.
    Here’s what I think happened. With the release of version 9.2.0, Adobe changed the update procedure. There was probably a period of time that the update procedure in 9.0 and 9.1 would automatically transition to the new procedure implemented in 9.2.0. But that time has passed, and the only message one gets from 9.0.0 and 9.1.0 is that there are no upgrades. That leaves the question as to why the updater did not start working for you until 9.4.5. I think the answer is that the AdobeARM program downloads the necessary files before it makes itself visible and offers to install the updates. Each time you rebooted, AdobeARM, shut down, so it never reached the point where it could tell you that it had downloaded all the updates. When you reached 9.4.5, the time required to download the necessary files had dropped from 10 minutes to a minute or two, so you were finally given the opportunity of having the remaining updates installed automatically. The same thing would have happened to me, if your experience had not made me more cautious.
    Based on this experience, I would recommend the following procedure to update a fresh install of Acrobat 9 Pro Extended for Windows:
    Install the following files in this order:
    Ac9Ex3DUpd.msi
    AcroProExUpd910_all_incr.msp
    AcrobatUpd911_all_incr.msp [optional]
    AcrobatUpd912_all_incr.msp
    AcrobatUpd913_all_incr.msp [optional]
    AcrobatUpd920_all_incr.msp
    Except for File No. 2, these files are all available as links from the Acrobat 9 Pro Extended for Windows download page:
    http://www.adobe.com/support/downloads/product.jsp?product=158&platform=Windows
    For inexplicable reasons AcroProExUpd910_all_incr.msp is only available from the FTP site. The direct link is:
    ftp://ftp.adobe.com/pub/adobe/acrobat/win/9.x/9.1/misc/AcroProExUpd910_all_incr.msp
    Based on the information on the following page: http://helpx.adobe.com/acrobat/kb/update-patch-acrobat-reader-7.html, I have indicated that two updates are optional, because they are incorporated in subsequent quarterly updates. I installed them anyway.
    After installing the sixth file, AcrobatUpd920_all_incr.msp, reboot. Open Acrobat, click on the Help menu, and then on Check for updates. If it says the updater is already running, wait for it to finish downloading the remaining updates. As mentioned above, it took about 10 minutes for it to finish downloading files. After the files finish downloading, a new window will appear, telling you downloads are available and offering to download them. Click OK, and you will be updated to 9.5.5.

Maybe you are looking for

  • Can't erase a Seagate external drive

    I want to erase the usual 'PC' related files which come as standard with new drives, but as soon as I select erase it gives me the waring: Disk Erase failed with error: File system formatter failed. I have tried to erase 2 different drives and both t

  • No picture, only sound. JVC gy-hm100 ssd card

    Hi. I just bought the new JVC gy-hm100 camcorder that records directly into QT format. How ever, when I import the files to my new mac pro, I only get sound and no picture. Why??? Jacob

  • AirPort Express: Help with terminology

    Hi all, I've read lots of great posts here, but the terminology isn't always consistent, and I need help understanding the difference between the products. I would like to buy an AirPort Express base station (ie: router) and stream audio to two diffe

  • Live Meeting Recording Video Full Screen

    Is there there a way to make the recorded video full screen when playing back a live meeting sessions?  It will only display in the thumbnail view at the top left of the interface when viewing the recorded meeting in IE.  Can you make it show the vid

  • How a document number is Generated.

    Hi, When I park a document using FV60, how the document number is generated? I want to know the program name and function(subroutine) which will generate this number. If any one knows please let me know. It will be very helpful. Thank you in advance,