Acquisition de données avec un compact daq

Bonjour,
Débutante en labview, je dois faire une acquisition de données de mesure avec un compact daq.
J'ai fait des recherches pour me permettre de commencer.
Mais le VI que je fais ne me fais pas les mesures en continu...
Pouvez vous m'aider ?
Cordialement

Hello, 
Concernant ton vi, il y aurai pas mal de commentaires...., désolé je ne peux pas rentrer dans détail.
Les réponses précédentes te dirigent vers les exemples, pour être encore plus précis, je te conseil l'exemple "Cont Acq Thermocouple Samples-Int Clk.vi."
dans: 
E/S materielles/DAQmx/Mesures analogiques/temperature/Cont Acq Thermocouple Samples-Int Clk.vi.
Tu y verra comment utiliser correctement la fonction de cadencement dont ont parle ci dessus.
Un autre point fondamental : dans ta config de voie, tu n'a pas câblé ni le type de thermocoule, ni la compensation de soudure froide.... C'est vital si tu veux que tes mesures de températures soient justes...
Quel module pour thermocoupe utilises tu dans ton châssis cDaq9181? Selon le hardware, les fréquences d'échantillonnages doivent  parfois être contraintes à certaines valeurs (sous multiple de l'horloge, f maxi etc).
Bon courage
antoine

Similar Messages

  • Compact DAQ Data Acquisition

    Hello,
    I am working on data acquisition project using Compact DAQ - NI 9178, in the I have C series module NI 9213, NI 9207, NI 9205 (Thermocouple, current& Voltage and Voltage measurement units respectively).
    I have created tasks in MAX and using these tasks to read data in my LabVIEW VI.[ I use AI read VI only]
    Task settings , Acqusition mode - N samples, Samples to read -2 , Rate(Hz) -100m
    the above settings is same for all the three cards,.
    WHen I try to read 1 device data say data from NI 9207- I can read 200 samples per minute. WHen I try to read data from all the 3 units I see delay,
    Basically to complete 1 acqusition iteration it takes 1.4-1.5 seconds.
    Is there any better way to increase the speed of acquisition ?
    Thanks
    Solved!
    Go to Solution.

    My bad. Got confused with Frequency conversion. All good now. Sorry
    Was looking for 10 samples every 100ms, and I had programmed 10 samples every 2 seconds

  • Compact DAQ Acquisitio​n sur plusieurs modules

    Bonjour,
    Nous devons réaliser une petit enregistreur sur la base de matériel Compact
    DAQ.
    L’enregistreur doit pouvoir enregistrer les voies de plusieurs modules
    (température (USB 9213), tension (USB 9215))...
    Dans le petit programme en pièce jointe je pense ne pas utiliser la meilleure
    méthode pour acquérir les voies et mesures.
    trois problèmes sont rencontrés
    1- une même tâche ne peut contenir l'acquisition de voies de modules
    distincts, ce qui m'oblige à créer deux tâches en acquisition, une pour les
    voies "tension" une autre pour les voies "température".
    Cela reste possible à faire mais complique le diagramme et ne facilite pas
    l'ajout ou le retrait de modules et l'acquisition de voies (diagramme impacté).
    2- dans le programme écrit la fréquence d'acquisition doit être unique pour
    l'ensemble des modules. Il suffit de mettre la fréquence une à 1Hz et la deux à
    10Hz pour constater que la fréquence pour les deux tâches sera forcée à 1 Hz la
    fréquence possible est ici limitée par le module le plus lent (thermocouple).
    Une acquisition rapide des voies "tension" n'est alors pas
    réalisable.
     3- avec la configuration pénalisante de l'acquisition de l'ensemble
    des voies thermocouple du module USB 9213 la fréquence Max est fixée à 75Hzen
    utilisant en fréquence 1 50Hz et en deux 1Hz pour tester la robustesse du
    programme on obtient rapidement L'erreur -200279:Tentative de lecture
    d'échantillons qui ne sont plus disponibles. L'échantillon demandé était
    auparavant disponible, mais il a été écrasé depuis.
    Je pense que la technique globale pour acquérir les voies des modules
    n'est certainement pas adaptée. Une aide salutaire sur ce pb nous sera dès plus
    utile...
    Merci d'avance
    CS
    Résolu !
    Accéder à la solution.
    Pièces jointes :
    ENREGISTREUR_USB_DAQ.zip ‏68 KB

    je dispose d'un chassis cDAQ-9178, CompactDAQ chassis (8 slot USB)
    la configuration du matériel est récupérable à l'adresssuivante: 
    http://ohm.ni.com/advisors/compactdaq?configid=CD1​720585&elq=c067d1165fac4266bfced875dfa57429
    Un élément de réponse pour réaliser l'acquisition multifréquences, est de modifier le mode de relecture des voies Daqmx. La solution est fonctionnelle, reste que la méthode n'est pas très souple car en cas d'ajout de voies et de modules il faut obligatoirement modifier le diagramme.
    CS
    Pièces jointes :
    ENREGISTREUR_USB_DAQ.zip ‏69 KB

  • Comment faire pour obtenir une acquisition de données toutes les 5 secondes ??

    Bonjour
    Je suis en train de réaliser un VI me permettant de faire une acquisition de données de thermocouples reliés à mon COMPACT DAQ.
    Je voudrais qu'il me fasse une acquisition des 8 thermocouples toutes les 5 secondes.
    Je peux transferer mon VI pour voir un peu mieux ce que j'ai fait.
    Cordialement

    Lulu82,
    Pour pouvoir utiliser ton executable sur une machine sans LabVIEW d'installé, tu vas avoir besoin d'un petit logiciel pour pouvoir faire tourner le .exe. Il s'agit du Run Time Engine de LabVIEW.
    Soit tu installes en parallèle ce module en passant par notre site (en installant le Run Time correspondant à ta version de LabVIEW). 
    Soit, le plus simple, tu génères un installeur, comme tu peux le retrouver dans l'aide LabVIEW :
    Principes de base >> Construction et distribution de l'application >> Création de spécifications de constructions >> Construire un instaleur
    Dans cet installeur, tu ajouteras le Run-Time Engine ainsi que les drivers nécessaires à ton application (je suppose le driver NI-DAQmx), et ils se déploieront au moment de l'installation sur ton PC ne possédant pas LabVIEW :
    onglet "Avancé", dans la fenêtre qui s'ouvre, s'assurer que  "Moteur d'exécution Labview" soit bien coché.
    En éspérant que cela pourra t'aider !
    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...

  • Problème installation et configuration d'un système d'acquisition de donnée sous MAX

    Bonjour, je suis un nouveau utilisateur de labview ( version d'évaluation 2010).
    J'ai téléchargé sur ni.com des exercices et le troisième exercice me fait utiliser MAX (Measurement & Automation Explorer v4.7)
    Il est écrit qu'aprè avoir lancé MAX :"Agrandissez l’onglet Périphériques et interfaces et sélectionnez Périphériques NI-DAQmx." puis de faire un clic droit sur "Périphériques et interfaces" et de créer le nouveau périphérique NI-DAQmx (celui-ci sera simulé)
    Il se trouve que je n'ai à gauche que l'onglet "Logiciels" dans "Système" et aucun onglet dans "Systèmes déportés"...
    Pourriez-vous m'indiquer comment faire apparaître l'onglet "Périphériques et interfaces"?
    Avec mes remerciements

    Bonjour Ordino,
    Le drivers NI DAQmx 9.2.2 est bien compatible avec Windows Vista 32 bits, néanmoins certains éléments sont à prendre en considération:
    NI-DAQmx 9.2.2 - Windows 7 64 bit/7 x86/Server 2003 R2 (32-bit)/XP x86/Vista x64/Vista x86/Server 2008 R2 (64-bit)
    Vista x86 = Vista 32bits
    Support de logiciels dans NI-DAQmx 9.2.2
    Support de systèmes d'exploitation
    Les systèmes d'exploitation suivants sont supportés par NI-DAQmx 9.2.2 :
    Windows 7 (32 et 64 bits)
    Windows Vista Professionnel (32 et 64 bits)
    Windows XP Service Pack 2 ou version ultérieure
    Windows Server 2003 R2 (32 bits)
    Windows Server 2008 R2 (64 bits)
    NI-DAQmx ne supporte pas les comptes invités sous Windows 7/Vista/XP. Vous devez vous connecter à un compte administrateur ou un compte utilisateur pour pouvoir utiliser NI-DAQmx sous ces systèmes d'exploitation.
    Attention  Si vous avez fait une mise à niveau de votre système pour passer d'une version antérieure de Microsoft Windows à Microsoft Windows Vista, vous devez désinstaller tous les logiciels National Instruments avant de réaliser cette mise à niveau. Une fois celle-ci terminée, vous pourrez réinstaller vos logiciels National Instruments.
    Cordialement,
    Rémi D.
    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;}
    >> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...

  • 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

  • Acquisitions de données analog et digital sur le même front montant TTL

    Bonjour, j'ai une question assez urgente à vous poser. 
    Est'il possible de faire une acquisition des données d'un signal digital et d'un signal analogique simultanées triggées par le même top TTL?
    Je cherche un Daqpad capable de faire cela, et je n'ai pas trouvé plus d'informations sur ce site. 
    Merci d'avance!

    Bonjour Valaphone,
    Il est effectivement possible de le faire.
    Voici deux exemples de VI permettant de synchroniser une AI et DI et de faire un trigger numérique:
    Synchronize AI & DI
    Digital Trigger
    Concernant le DAQPad, je vous laisse prendre contact avec l'un de nos ingénieurs commerciaux au 01 57 66 24 24.
    Bonne journée
    Cindy
    Cindy

  • Compact DAQ 9215 BNC module -- Error code -200278 occured at DAQmx read

    Hi,
    I am trying to read data from a sensor giving an output between +/- 300mv. It is connected to the 9215 BNC module on the Compact DAQ chassis. When i try to acquire any number of samples at any frequency it comes up with an error message at the end (-200278). I have attached the screenshot of the error message.
    The program displays information in realtime in a waveform chart on the front panel as the  samples are acquired and also writes them onto a lvm file. I have also attached the vi of the program.
    Please help me as i cannot solve this problem. All help will be appreciated.
    Thanks
    Harshil
    Attachments:
    Error Message.jpg ‏29 KB
    Compact DAQ 9215 BNC.vi ‏74 KB

    Hi,
    Thanks for the help. I have tried to use arrays to
    store the data before i write to the file. The problem is when it writes at the
    end, the format changes and i do not get the channel name and the dt
    value (time interval between samples).
    Also if i select more than two channels than i do not get two colums in
    the output file but one column with both the values of the channels one after the other and thus becomes very hard to make where one channel ends the other begins.
    Please help on how to get round this.
    Harshil
    Attachments:
    Compact DAQ 9215 BNC.vi ‏93 KB

  • Can you daisy chain two Compact DAQ systems together?

    Greetings everyone,
    I have a signal conditioning application and I have been looking at the Compact DAQ Platform as a solution.
    I have a total of 16 TC's channels, a few DIO and a few Analog Out requirements.
    I can basicly meet these needs with a single cDAQ system but I would like to have room to expand more in the future.
    Does anyone know if it is possible daisy chain more than one cDAQ system together or if it woudl be very difficult to program and run two seperate DAQ systems from my computer.
    Any help would be greatly appreciated.
    Thanks,
    Thomas

    alkaline3mc wrote:
    NI, the home of dead links.... 
    You probably noticed that these posts were written 9 years ago...
    LabVIEW Champion . Do more with less code and in less time .

  • Fréquence d'acquisition de données sur un châssis NI DAQmx

    Bonjour,
    je suis un étudiant en stage. Ma mission consiste à réaliser un système d'acquisition de données sur le logiciel Labview 8.5. J'utilise
    un châssis NI DAQmx équipé d'un controleur PXI 8105 et de 5 cartes série M: 4 cartes 6225 et une carte 6254. J'ai un problème au niveeau de mes
    fréquences d'acquisition. Je n'arrive pas à acquérir des données sur une longue période sans que le système affiche une erreur. L'autre problème
    est la vitesse d'acquisition des données. Etant dans le domaine de haute performance, je dois acquérir des données à des vitesses de l'ordre de 20kHz
    mais mon programme ne tolère pas de vitesse au dessus de 1kHz. Ma vitesse se situe aux alentours d'une centaine de Hz.
    Avez-vous une solution à me proposer?
    Je vous remercie d'avance.

    Bonjour,
    Vous pouvez effectuer le traitement des données dans une boucle séparée de la boucle dédiée à l'acquisition. Ainsi votre traitement lent ne limitera pas l'acquisition.
    Vous pouvez réaliser ceci grâce à une architecture type producteur/consommateur.
    Vous pouvez trouver des exemples de cette architecture dans Aide>>Recherche d'exemple.. ainsi que des templates de projet pour cette architecture.
    Cordialement,
    Isabelle G.
    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

  • Use PFI0 on Compact DAQ chasis 9178 as Input Event

    Hi,
    I have a Compact DAQ Chasis 9178, and I have connect a 5V Input signal to it.
    From a detector Sensor.
    I want do use the Signal in Labview. It possible to convert this signal to a Boolean true or False?
    I want to read this signal directly from my VI.
    Thank You
    Solved!
    Go to Solution.

    So you have assigned your counter indicator in the SubVI to the connector pane?
    If you do not know, what the connector pane is, then look for "connector panes, assigning terminals" in the LabVIEW help or look here.
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/creating_subvis/
    If this is not your Problem - you have to be a little more specific. How do you expect the Main VI to "receive" the data, how did you programm it to do so?

  • Compact daq multiple power supplies into analog input

    I'm trying to read several values from different sensors into a 9205 voltage input module using a compact DAQ.  My sensors use different power supplies, they all output voltage between 0-10Vdc.  I can read the value off of any one sensor fine, but once I hook up another both values start to shift and osscillate, however either one by themselves gives me a steady DC value.  I am taking differential measurements from the sensor's outputs... I'm not sure if it would be ok to tie the grounds of the two power supplies together and feed them to my ground reference input of the module, if I take a voltage measurement between the two power supply grounds I see about 1Volt difference.
    Any ides/suggestions would be appreciated.
    Thanks,
    M. 

    Hi,
    I have been looking at the sensors you are using and the pins seem to be correct so I just want to make sure that we are on the same page with the connections you are making.  This is assuming you have a spring terminal on your daq card rather than a DSUB.
    Humidity Sensor - Pin 3 or 4 (CHn+) to AI0 (Pin 1) and Pin 6 (SGND) to AI8 (19)
    CO2 Sensor - V to AI1 (pin 2) and 0 to AI9 (Pin 20).
    In your software you should then be taking a differential voltage reading on AI0 and AI1.
    Assuming that is all correct then this is very strange.  The wiring diagrams suggest that the signals are ground referenced so this should be sufficient however the 1V difference in the ground lines is perculiar if they are plugged into the similar place.  although the differential reading will eliminate error due to this one consideration is that if they are floating you may need to add bias resistors.  You can find out more about this here.  As I said it doesn't appear that this should be required but is worth a go if you have the kit to try it.
    Otherwise it might be useful if you can send me some screenshots of the behavior on the graphs and perhaps your code and we can see if that helps.  Also if you are able to verify the functioning of your sensors some other way would also be useful i.e. with a multimeter.
    Regards,
    James Mc
    ========
    CLA and cRIO Fanatic
    wiresmithtech.com/blog

  • Compact daq frequency measurement

    hello,
    I am considering using the compact DAQ NI cDAQ-9172 for my measurement and I want it to acquire frequency measurement. I have some analogue input, they are signal with noise. (A example is a measurement of a magnetic pick up)
    I want to have a counter, I wuold use  the internal counter (5 / 6 slot) of the chassis ) NI cDAQ-917.
    I am considering using the NI 9201, but I can utilize the internal counter with a analogue input module?
    THANKS!!!!!!!!!!!!
     chiara.

    thanks for your reply.  maybe i explained my situation incorrectly.
    From the that sample freq program you showed me, i'm just using the numberic indicator for frequency only and not the other graphical displays (like the voltage and frequency spectrum).
    In my original program, i already have a bunch of graphical displays measuring physical channel ai8 to ai12.
    I wanted to see what frequency my ai12 channel as well as measure/display the voltage graphically.  I believe your saying that i can't measure both frequency and graphing at the same time on 1 channel?
    What i did was I connect ai12 channel to ai13 and basically copied the the sample freq measure vi program to my original program to indicate frequency.
    my orignal program has set the DAQmx reading ai8:ai12  to a analog 2D DBL multiple sampling.
    but i noticed that the sample frequency measure program requires the DAXmx read.vi set to 1D waveform to measure frequency not 2D DBL like the rest of my program.  I think it is where this part i'm having problems with sampling all my inputs ai8 to ai13.
    so when i copied the sample frequency measure program into my original program, it only runs one physical channel. Only the sample frequency program (ai13) or my other ai8 to ai12 graphs will work but not both at the same time.  It can't do all ai8:ai12 2D including the ai13 1D measurement continuously.
    i dont think its possible to read in analog 1D and 2D measurements at the same time?
    Thanks again.
    Message Edited by immortalc on 01-04-2008 10:02 AM

  • Compact daq (Error for long time measurement)

    I have a trouble when I use the NI9215 (analog input module of the compact DAQ).
    When it was kept sampling for more than 20 seconds, I got a error message from labview.
    For example, it is operated at the sampling frequency, 10 kHz, and try to get more than 200 kS, namely it takes 20 s, error messagy popped up in the labview program. In the labview program, I use a DAQ assistant, which is connected to DAQ mx read.
    Please give me some advice. Thanks.

    Post the message will be helpful, this can help determine if it is a buffer overflow, timeout, improper property memory leak...
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • NationalInstruments.DAQmx.DaqException: Network device is not reserved for this host. Compact Daq 9184 with one 9237

    I have registered the Measurement and Automation Explorer and I can create a dummy task in there and get data that seems valid at first glance.
    it is a compact daq 9184  with one single 9237 (strain) running over ethernet.
    I had to add some filtering features in my C# code, and upgraded from 9.7 to 9.8.
    Now I keep getting this damn exception - and it does not help me much.
    NI have you changed some APIs or?
    I am referencing
    NationalInstruments.Common 13,0,35,190 (have also tried 13,0,40,190)
    NationalInstruments.DAQmx 9.8.35.42
    Here are some details.
    Status Code: -201388
       at nNIMSSAIL100.StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >.CheckWithName(StatusObserverT<nNIMSSAIL100::ApiTraits<nNIMSSAIL100:otNetApi> >* , tCaseInsensitiveBasicString<wchar_t\,_STL::char_traits<wchar_t>\,_STL::allocator<wchar_t>\,nNIDMXS100::tLocaleConsideringWideStringComparitor\,nNIDMXS100::tLocaleConsideringWideStringCaseForcer>* pName)
       at NationalInstruments.DAQmx.Device.SelfTest()

    Hi Larover88
    Are you able to do a self test from within Measurement and Automation Explorer (MAX) on the specified module)?
    If yes, are you able to acquire data from within MAX?
    If you can't do the self test from MAX, try to reset the MAX database by 
    1) Opening MAX
    2) Click Tools --> Reset Configuration Data
    3) Let the computer reboot when asked for.
    Best Regards
    Anders Rohde

Maybe you are looking for

  • Partner Bank Type Selection in Payment Proposal

    Dear Experts, Would like to seek your advice regarding the above subject matter. We have a vendor with multiple bank accounts maintained in the vendor master and these are multiple currencies. For example: Vendor ABC Country      Bank key   Partner B

  • How to Play Sound on the Hour - not Voice

    I miss the ability I had in Classic to play a sound on the hour and half hour. In OSX, it seems that only having a voice announce the time is an option - unless I'm missing something. Does anyone know of a workaround? I hate the voice thing and would

  • Can any anti-virus protection software be used with Mac?

    I was wondering how to protect my laptop from viruses etc and whilst looking i've found no software thats for Mac, Can anyone suggest anything or know of any software to help? Thanks,

  • Cash journal with forx

    Hi Experts, My user wants to post the cash receipt in USD, I am maintaning cash journal in INR, its posible to post usd or any other settings i need to setup, Pls advice me its arrgent, Regards Sreenath

  • Setting rquired for material and vendor to purchase excisable goods

    Hi, I want to know if we create new material and a new vendor, what are the setting needed like in J1ID etc. to purchase that new material from new vendor as a exciseble goods, if all the settings at plant and company code level have been made. regar