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

Similar Messages

  • 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

  • Synchroniser les horloges d'acquisition sur des modules c-DAQ analogiques

    Bonjour,
    J'ai deux modules d'aquisition compact daq : NI9205 (acquisition en tension, horloge d'échantillonnage à 250 KS/s) et NI9227 (acquisition en courant, horloge d'échantillonnage à 50 KS/s).
    J'ai essayé de les mettre dans une seule tâche virtuelle, mais le problème c'est que si j'utilise l'horloge embarquée, j'ai une incompatibilité à cause des horloges différentes entre module.
    J'ai donc essayé de passer via un compteur comme dans l'exemple ci-aprés mais pareil. Comment faut-il faire ?
    Merci par avance pour vos réponses,
    Christophe
    Pièces jointes :
    Essai acquisition continu courant.vi ‏44 KB

    Bonjour.
    Vous n'avez pas besoin de créer une source de cadencement pour votre boucle de lecture.Il suffit simplement de lire vos données avec DAQmx Lire dans une boucle classique. A partir du moment où la fréquence d'acquisition que vous choisissez est dans les spécifications des 2 modules, vous ne devez pas avoir de problème. La fréquence de lecture dépendra du nombre de points que vous avez choisi de lire à chaque tour de boucle dans le VI Daqmx Lire et la boucle se cadencera d'elle même.
    Cordialement.

  • 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 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

  • 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

  • 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

  • Pages : Impossible de fractionner une ligne de tableau sur plusieurs pages - Impossible to divide a row on multiple pages in a table

    ENGLISH FOLLOWS
    Avec le logiciel Pages, il est impossible de fractionner une ligne de tableau sur plusieurs pages, contrairement à Word. C'est un problème majeur. En particulier quand on veut comparer deux textes côte à côte. Si le texte est long, on ne voit que la première page. Cela devrait être corrigé. En attendant, y a-t-il une solution pour voir le texte complet?
    With Pages, it is impossible to divide the content of one row in a table on more than one page, as we can do with Word. This is a major problem. Especially when we wish to compare two texts side by side. If the text is long, we can only see the content of the first page. This should be fixed. Is there a solution?

    Thanks Picas for this direct and simple answer, even if this disappointed me
    Never mind, I have to use another app or find a "way-to", hoping this will be upgrade in a future version.
    To answer to your question :
    1st link - The french app's online help - Related Page :  "Create sections", you'll find this : "Un document peut contenir une ou plusieurs sections. Vous pouvez ajouter une section pour utiliser un format différent pour une partie du document, par exemple. Chaque section possède sa propre pagination, ses en-têtes, bas de page et image d’arrière-plan."
    I translate for you or perhaps are you french speaking ? : "A document can contain one or more sections. You can add a section to use a different format for a portion of the document, for example. Each section has its own pagination, its headers, footers, and image background."
    Perhaps I misunderstood the 2 sentences
    2nd link and others : using this google search "Mac Pages 5.2 Document section layouts"
    Reading the french online help and flying over the results of my Google searches, it seems to appear to me that it was possible, by simply choose the section in the preview and change the parameters of the chosen section.
    One more time, thanks for your time and you answer.

  • 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 .

  • Iphone IOS 5 - Exchange 2007 - Calendrier Rendez-vous sur plusieurs jours

    Depuis le calendrier de la boite aux lettres sous Exchange 2007 (Outlook ou Outlook Web Access), un rendez-vous est créé sur plusieurs jours.
    Après synchronisation, mon Iphone ne reconnait pas (dans le calendrier) le rendez-vous comme étant en journée entière mais comme un rendez-vous avec les informations de dates suivantes :
    à partir de 00:00 le jour de début du rendez-vous
    jusqu'à 00:00 le lendemain de la fin du renez-vous
    L'affichage est alors complèment erroné :
    - pas en haut mais dans tout le calendrier pour un affichage jour
    - uniquement le 1er jour pour un affichage liste
    Si le rendez-vous est créé sur une journée depuis la messagerie, le rendez-vous est correct dans l'Iphone après synchronisation.
    Si le rendez-vous est créé sur plusieurs jours depuis l'Iphone, le rendez-vous est correct dans la messagerie après synchronisation. Mais, si ce rendez-vous est modifié ensuite depuis Outlook ou OWA, même problème de nouveau après synchro.
    Merci pour vos réponses.

    Bonjour,
    Je suis maintenant sous IOS 7 avec un Iphone 5.
    Je viens de faire un test je n'ai plus de problème.
    J'avais lu qu'il y avait un correctif pour ce problème mais avec un serveur Exchange à partir de 2010 uniquement.
    Cdt
    Christophe

  • Variable visible sur plusieurs onglets ?

    Bonjour,
    Je cherche à rendre visible différents élément sur plusieurs onglets (tabs). Pour les graphiques, j'ai fait des copier des VI que j'ai placé sur les différents onglets. Je me pose la question de savoir s'il y aurait une possibilité de rendre transparent les onglets. De ce fait un unique graphique serait par exemple visible sur mes trois onglets et je n'aurai donc pas besoin de créer trois fois l'opération.
    Pour les graphiques, je n'ai pas eu de problèmes pour les placé mais maintenant j'ai un "control" que je souhaiterai être accessible sur mes différents onglet et je ne sais pas comment m'y prendre. Une fois de plus l'idéale serait de rendre l'onglet en partie transparent ou de déclarer qu'une variable doit être visible sur les trois onglets.
    Bref, toute aide est plus que bienvenue !
    Merci d'avance
    Résolu !
    Accéder à la solution.

    "...tu les déplaces avec les fléches du clavier sur ton onglet. Pas avec la souris sinon ton onglet va s'encadrer et les objets y seront ajouté automatiquement"
    Pu***n je t'adore !!! Je n'ai utilisé que la souris pour placer mes éléments... ! J'viens d'apprendre quelque chose qui va me permettre de gagner du temps et de conserver quelques cheveux sur la tête !!
    Ca aurait bien pratique de pouvoir modifier la présence sur les diférents onglet avec un simple "clique droite"
    Encore une petite question stp: J'ai déplacer un bouton comme tu me l'a indiqué et il apparaît bien sur les différents onglet. Par contre je remarque une bordure (genre relief) pas très jolies. Y a t-il un moyen pour que l'affichage soit "normal" donc sans ces bordures noires épaisses ?

  • Incertitud​es sur le module 9217

    Madame, monsieur,
    Je recherche actuellement, pour un calcul d'incertitudes sur un système d'acquisition mobile, quelques incertitudes sur le module NI-9217.
    Je recherche plus particulièrement:
    -les incertitudes sur la stabilité du courant délivré (pour un courabnt de 1mA)
    -les incertitudes sur le réglage du courant
    -les incertitudes sur la tension mesurée à la sortie de la sonde 
    -l'erreur maximale tolérée. 
    En vous remerciant d'avance.
    Résolu !
    Accéder à la solution.

    Bonjour,
    Merci d'avoir posté sur le forum NI.
    Vous pouvez trouver La documentation complète sur le NI 9217 à ce lien :
    http://digital.ni.com/manuals.nsf/websearch/754EF1​A59C48FB73862573D0006CC9AB
    Pour plus d'informations sur ce produit, vous pouvez regarder ici dans la rubrique Resources >> Manuels.
    Cordialement,
    Nicolas M.
    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;}
    Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
    2 sessions en parallèle : Débuter a...

  • Installer Creative cloud en entreprise sur plusieurs PC avec le même compte

    Bonjour,
    Récemment, nous avons eu besoin du logiciel Adobe Scout. Ce dernier n'étant pas disponible en licence séparée (ou alors je n'ai pas trouvé), nous avons été obligé de prendre une licence complète Cloud.
    Cependant, cette licence offre une multitude de logiciels. Adobe scout est destiné à un poste de développeur, ce dernier n'a pas besoin de photoshop et Cie.
    Est-il possible d'utiliser un abonnement "formule complète" sur plusieurs PC en même temps ?
    Le but étant, avec une licence:
    - installer Flash Builder et Adobe Scout sur un PC d'un développeur
    - installer Photoshop sur le PC d'un designer
    - installer Edge Code CC sur le poste d'un développeur WEB
    Tout cela en utilisant la même adresse email utilisée pour l'enregistrement de la licence.
    Merci pour vos réponses.

    Bonjour Tristan,
    Bienvenu sur les forums Adobe.
    Il faut savoir que lorsque vous souscrivez à une licence Creative Cloud, cela ne peut-être n'utilise que par un seul utilisateur.
    Si vous avez opté pour le type de licence entreprise, encore une fois il faut que la licence achete soit utilisée par l'unique utilisateur.
    Si vous souhaitez plus d'utilisateurs il faudra dès lors augmenter le nombre de sièges si cela est une version entreprise ou souscrire à d'autres formules pour les types de comptes dit classique.
    Merci de votre compréhension.
    Arnaud.

Maybe you are looking for

  • TDS rate changes, effective 1st Oct'09

    Dear All, We are planning to create new TDS codes for New TDS rates which will be effective from 1st Oct. - Using LSMW to upload the TDS codes - Not deleting old codes which are already assigned to the master After updating new tax codes for already

  • Why can I not open a attachment that has the suffix .mpe?

    A friend and I both received an email with an attachment that has the suffix .mpe.  When I try to open it I get a message that Quicktime can not open the file- that it is in a format that Quicktime doesn't understand.  I wrote both the friend and the

  • Aperture Facebook integration all screwed up

    1) Sometimes not all of the photos get synced up. Aperture says it's done, but only 40-50 of 100 photos are visible on Facebook. 2) Faces are not linked consistently. For example, sometimes someone will be tagged and then in another photo they won't

  • How do a re-create a website like this?

    Hi there, I really like the design of this website - can anyone tell me how I go about re-creating it: http://www.bluedanube.ca/home.html I see that it's done with tables instead of CSS. Would it be possible to have the banner as a large image on the

  • Why can I not select SD versions of SD programs I purchased?

    Why can I not select SD versions of SD TV programs I purchased? When I go to my program to download it. I click the SD button, that is what I paid for. It will not move over to the SD version to allow me to download it even though I have received not