Carte PXI 5922 et fonctions DAQmx

Bonjour,
J’ai une carte PXI 5922 sur un châssis PXI 1033 et j’ai réalisé un VI pour l’acquisition des donnes avec les fonctions NI SCOPE.
Je voudrais savoir si est possible de programmer la même chose en utilisant seulement des modules  DAQMX sans avoir besoin d’installation de NI SCOPE. Peut-on configurer des paramètres comme par exemple : vertical coupling, input impedance , probe attenuation seulement avec les fonctions daqmx et sans paser par daq assistent ?
Je vous remercie d’avance pour votre réponse.

Bonjour Ival,
La carte PXI-5922 est une carte Scope qui, par conséquent, se programme avec NI-SCOPE (page 21).
Le driver NI-DAQmx est utilisé quant à lui pour la programmation de cartes DAQ.
Dans la mesure où le driver NI-SCOPE est téléchargeable librement, pourriez-vous préciser pourquoi vous ne souhaitez pas l'utiliser ?
Cordialement,
Mathieu_T
Certified LabVIEW Developer
Certified TestStand 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;}
LabVIEW Tour
Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

Similar Messages

  • Comment définir 12 lines digitals ( 8) pour la fonction DAQmx Create Virtual Channel

    Bonjour, je voudrais demander l'aide pour deux points suivants:
    1 /J'utilise une carte PXi 6537 pour pouvoir faire une acqusition de 12 lines digitals, mais quand je choisis 8 lines du port0 avec 4 lines du port1 pour connecter avec la fonction DAQmx Create Virtual Channel, il y a toujours l'erreur. veuillez m'indiquer comment faire entrer 12 lines dans cette fonction s'il vous plait. (J'essaie avec ces configuration mais cela ne marche pas: Dev1/port0/line0:7_Dev1/port1/line0:3 ou Dev1/port0_port1 ou Dev1/line0:11  etc...etc...)
    2/ Dans cette utilisation, je voudrais utiliser la ligne  0 digital comme l'horloge externe, donc avec la fonction DAQmx Timing, j'indique la source d'horloge externe comme /Dev1/PFI0 et soit je connecte physiquement la voie Dev1/port0/line0 vers le borne PFI0 soit je fais le routage par logiciel de Dev1/port0/line0 vers PFI0, dans ce deuxième cas comment je dois faire , par quel noeud propriété qu'il faut utiliser.
    veuillez montrer ces deux solutions par une figure simple s'il vous plait, je vous remercie beaucoup et vous souhaite bonne semaine. TuongLinh.

    Bonjour,
    Et merci d'avoir posté sur ce forum.
    Je ne suis pas sûr de ce que vous voulez faire en rebouclant logiellement une des sorties numérique de votre boitier. Vous pouvez néanmoins accéder à davantage d'entrées/sorties en faisant un clic droit sur le terminal de l'horloge externe pour laquelle vous avez choisi /Dev1/PFI0 puis en cliquant sur "Filtrage du nom d'E/S...".
    Cochez alors les différentes cases pour avoir le plus de choix possibles puis utilisez une ou plusieurs sorties de compteur pour générer l'horloge dont vous avez besoin.
    Cordialement,
    Jérémy C.
    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

  • Comment mesurer un fréqunce avec une carte pxi-6602?

     Bonjour,
    Je cherche grâce à une carte PXI 6602 à mesurer la fréquence d'une signal périodique.
    Cette carte possèdent 8 compteur/timer, et je suis déja parvenu à genérer des trains d'impulsion sur ces compteurs.
    Néanmoins je ne parviens pas à mesurer des fréquences...
    Pour cela j'ai tenté de mesurer la fréquence d'un simple signal carré de 50Hz (amplitude 10V) généré par un GBF. J'injecte ce signal sur le PFI38/GATE0 du compteur 0, mais j'obtiens apres génération de mon code une fréquence nulle. J'ai réalisé ce code sur labVIEW 8.6 avec la fonction "Measure Pulse Width or Period.vi"   (code en pièce jointe)
    Merci d'avance pour votre aide
    Pièces jointes :
    mesure_freq.jpg ‏515 KB

    Desole, je ne parle pas francais bien. Vous devriez avoir des exemples pour l'usage du dispositif de l'E-serie DAQ en Visual Basic dans le repertoire \Program Files\National Instruments\NI-DAQ\Examples.
    Chris Matthews
    National Instruments

  • Communication I2c et carte PXI-6551

    Bonjour,
    j'aimerai communiquer avec une EEPROM série, donc avec un protocole I2c. Je possède Labview 8.6 et une carte PXI-6551.
    j'utilise la librairie I2c pour créer des trames de communication, cependant je n'arrive pas à les envoyer sur la 6551, et je dois avouer que j'ai du mal à comprendre comment la gestion des ACK peut se faire.
    Si vous pouviez me donner un coup de pouce, ce serait très aimable.
    Merci d'avance,
    Laurent.
    Solved!
    Go to Solution.

    I have never used the I2C lIbrary.  I didn't even know it existed.  Thank you for teaching me something new.
    You can send the I2C Waveform into the DAQmx Write function.  First you have to open a new DAQmx session.  Then set up the channels, timing, triggering, and such.  Wire the waveform to the Write function, then use the Initiate function to cause the PXI-6551 to output the waveform.  I hope that the I2C library you are using will take care of making the 6551 lines tri-state when it comes time to process the ACK signal.
    I have built waveforms the hard way, using the Digital Waveform functions to produce the Start bit, address bits, ACK, and so on...  I will have to take a look at the library you mentioned.
    I have to re-install Labview because of a problem.  When it is up and running, I will create a DAQmx example that you can use and post it here.
    - tbob
    Inventor of the WORM Global

  • Multirate sampling using CLK IN with PXIe-5922

    Hi
    I am working in an application where I need to change the sampling rate of an acquisition between 500 ks and 5 Ms without stopping the acquisition. The idea is to be acquiring continuously and be able to change the sampling frequency live depending on external events
    I was thinking about doing this using a PXIe-5922 and controlling its sampling frequency using the external sample clock input (maybe I would have to change the decimation factor by software as well?) connected to a signal generator (5404?) or some other clock generator whose frequency I can change without stopping the signal (maybe some specific development on PXI-7833R). My concerns are:
    Reading the 5922 spes I am not sure if I can change its sampling frequency between those values (500 kHz and 5 Mhz) using the external sample clock input without stopping the acquisition (my experience with other DAQ is that when you have to do any programming of the instrument the acquisition stops during the programming phase)
    If the above can be done, I guess my second problem will be to determine in the acquired data where a change of the sampling frequency has happened (as the driver will not know if I am using an external clock)… but I am not yet much worried because of this J
    I have not buy the hardware yet until I am sure I am in the right way... so any help will be much appreciated
    Best regards
    Guillermo

    Guillermo,
    Keep in mind the Reference Clock is used to generate the internal Sample Clock.  Changing the frequency of the Reference Clock will result in the same Sample Clock frequency.  Also, changing the Reference Clock frequency should not be done while acquiring since the device's clock circuitry needs to be configured based on the Reference Clock frequency.  I don't think this solution will produce desirable results for these reasons.  Unfortunately, the 5922 does not accept an external Sample clock from the Clock In terminal since the Sample Clock needs to be extremely high quality to meet the device's specifications.
    Do you really need to run continuously across different sampling rates, or could you afford a small amount of reconfiguration time between frequencies?  If you can, then you can also avoid the additional complication of not knowing where in your acquisition the sampling rate changed.  Could your application run continuously, then reconfigure the sampling rate when a trigger is received?
    Jeff B.
    NI R&D Group Manager

  • I'm having trouble with a multi channel acquisition and download with PXI-5922

    I am having trouble with getting data out from both channels of a PXI-5922.  My software seems to be working, but when I do the fetch there is no data for the second channel.  I am using the same format for all of the channelList inputs (0,1).  I've checked the instrument handles and anything else I can think of, but this is my first time trying to collect data on 2 channels of a digitizer.  Any help would be appreciated.

    Hi schliepe,
    Try checking your code against an existing example. The
    Developer Zone Example: Independent
    Channel Configuration with NI-SCOPE is a good VI to reference. Also note
    that there are several examples that come with the NI-SCOPE driver. They can be
    found in Windows by going to Start »
    Programs » National Instruments » NI SCOPE » Examples. Additionally, if you find that the examples are not working either, verify that both channels are functioning by running the
    NI-SCOPE Soft Front Panel.
    Please post back if you have any questions. Have a great
    day!
    Ryan D.
    District Sales Manager for Boston & Northern New England
    National Instruments

  • How to calculate number of samples ni scope for PXI-5922

    Hi,
    I am streaming data from one of the channels from a PXI-5922.
    Assuming the resolution at 16bits/sample and the sampling rate at 10MS/s, i should be streaming at a data rate of 20MB/s
    So, if i stream for about 4 seconds, I should have collected 20x4 = 80MB of data for the duration, but I am collecting well around 300 MB.
    Now, I am obviously missing something or my calculations are wrong, either way I will appreciate if someone can enlighten me on this.
    Note : I have set the number of records to 524288 (i.e 2^19)

    Hi Anup_Amin,
    Here is a document that helps explain why the sampling rate may not in fact be the same as what you have specified in your VI. Please see the Min Sampling Rate section at the link below:
    Coercions of Horizontal Parameters
    http://zone.ni.com/reference/en-XX/help/370592N-01/digitizers/horizontal_parameters/
    I hope this helps answer your question.
    Regards,
    Kaitlin N.
    National Instruments
    Applications Engineer

  • Frequency response measurements with pxi-5922

    I’ am using signal express and the pxi-5922 digitizer together with the AWG pxi-5441 to analyse the frequency response of a buffer amplifier. See the attached signal express file. Many different ways to measure the frequency response have been tried and this is the best I came up with. It is basically two tone extract steps in a sweep loop. But I’ am still uncertain if this is the best way to do this kind of measurement. The fact that the detected frequency differs between the two channels worries me, even when the two channels of the pxi-5922 are looped.  Is there a more accurate way to determine the frequency response?
    Best wishes
    Stefan Johansson, SP
    Attachments:
    sweep.JPG ‏397 KB
    Frequency Sweep funkar.seproj ‏81 KB

    Claudia-
    Thanks for the response.
    Regarding the CJC- When I switch it on, the temperature readings I get are very random, roughly negative 1 degrees. (I am operating right now at room temperature, and will be using J-type TC's to measure ~43 degrees C). Also, when I use the built-in CJC, the aquisition rate seems to slow down considerably. When I use the "user specified" everything seems to be ok, including the aquisition rate.
    I measured the resitance of the Thermistor on the TBX-68T and it was about 5000 Ohms, as expected.
    Just to make sure: When using the TBX-68T, do I need to hard-wire a thermocouple to Channel 1/auto-zero and another to channel 0/CJC? Because I connected a TC to channel 0 right now, but I wasn't 100%
    sure.
    I've attached my main vi and two sub vi's that I am using for the voltage aquisition part of my project. (Note:the current measurements are just voltage measurements multiplied by the recipricol of the resistance it was measured across, ie. 10).
    I would like to keep this file as is because it writes to a file exactly the way I want it to. I'd like to have the temperature aquisition with the 4351 in the same vi as the 6030E so that they both stop and start at the same time. I am just not sure how and where to log the temperature data since there will be fewer data points than the voltage data. Any suggestions? Should I write two separate files? can I somehow append them?
    Thanks again. Hope to here from you soon.
    Attachments:
    EBlackMainDAQ.vi ‏107 KB
    Save_Data8.vi ‏45 KB
    Build_String_Array5.vi ‏33 KB

  • Peut-on faire fonctionne​r les cartes pxi-7334 et 6052E avec le controleur PXI-8820 dans un chassis 8186 avec Labview8.5 ou 2012?

    Bonjour à tous,
    J'ai un chassis PXI 8186 avec un controleur PXI 8186 sous Windows XP avec les tirroirs PXI 7334 et PXI6052E.
    Pour les besoins des projets, je doit l'utiliser connecter sur internet.
    Je souhaiterais l'upgrader, avec un controleur PXI-8820.
    Savez-vous si, mes tirroirs PXI 7334 et PXI6052E  fonctionnerons avec cette nouvelle configuration, avec Labview 8.5 ou Labview 2012.
    Cordialement.

    Bonjour,
    Merci d'avoir posté votre question sur le forum de National Instruments.
    Pour répondre à votre question, vous ne pouvez malheureusement pas simuler de carte FlexRIO dans MAX.
    Je vous joins quand même le tutoriel suivant qui pourra vous aider à l'avenir :
    How to Simulate FPGA Hardware Targets Using the Project Explorer with LabVIEW :
    http://digital.ni.com/public.nsf/allkb/F466AD83D24F041D8625714900709583?OpenDocument
    Brice S.
    National Instruments France

  • CLK IN NI PXI 5922

    Hi,
    I'm using a 5922 digitizer with clk input and i have a problem.
    My problem is simple: I could not phase lock to the external reference clock.
    My CLK IN signal is a -250 mv:+250 mv square signal at 2Mhz (from low frequency generator) (this signal match with the spec).
    My ch 0 signal is a random signal according to the spec range.
    When i use Ni-Scope Express in LabView, my parameters are :
    -> Range 2V
    -> Coupling AC
    -> Offset 0
    -> input impedance 50 Ohm
    -> Probe attenuation 1
    -> Bandwith 0
    -> Sample rate 2M
    -> Record length 1000
    -> N samples
    -> Trigger type Edge
    -> trigger source External trig
    -> slope Positive
    -> Coupling DC
    -> Ref position 0%
    -> Level 0V
    -> Max time 10s
    -> Delay 0s
    -> Reference clock source : clock in
    My error is :
    "DAQmx Error -200245 occured
    Measurements : PLL could not phase lock to the external reference clock.
    Make sure your reference clock is connected and that it is within the jitter and voltage spec...."
    Dont care about external trigger, it work fine !
    I'm also using a NI example : niScope EX external clocking (i was just changing sample clock timebase source & rate by ref clock source & rate) and it dont work too.
    and there is no signal on CLK OUT at any time.
    What can i do, i'm locked with this problem ?
    Thanks !
    Gendre Laurent
    Stagiaire au service Détection à Thalès Alenia Space
    E-mail : [email protected]

    Hi,
    For example 60 MHz / 32 = 1.875 MHz is a sampling frequency (into the 5922) and i really need to be synchronize with my external clock  (so, not in intern).
    Im now investigate on an alternative clk in (1Mhz or 2Mhz)  and i try to fix some problems like "PLL was unlocked" when i use my new clk and an edge trigger or " this device does not support RIS", ...
    Its a little fastidious cause of parameters i have to take care.
    But the main important thing on my work is the voltage precision.
    In 20 bits, i have an important difference between two values for the same voltage input (verified by a scope) -> approx. 30 mV.
    For a 0 : +250 mV signal with a 1 mV noise, its annoying !
    Maybe, the antialiasing filter into the card is a problem for my measure.
    Thanks for helping me, its not simple to drive this card for what i want !
    ps : tomorrow i will post my VI.
    Gendre Laurent
    Stagiaire au service Détection à Thalès Alenia Space
    E-mail : [email protected]

  • Carte PXI-6682H non reconnue dans MAX

    Bonjour,
    Je développe actuellement un système d'acquisition de données basé sur une cible temps-réel (contrôlleur PXIe-8133), une carte d'acquisition (PXI-6366) et une carte de synchronisation au temps GPS (PXI-6682H).
    Les drivers NI-Sync 3.2.2 et NI-TimeSync 1.1.0 ont été installés respectivement sur le PC hôte et la cible temps-réel.
    Le problème rencontré est le fait que la carte 6682H ne soit pas reconnue sous MAX.
    Quelqu'un a-t-il une idée sur la façon de se dépatouiller avec ce problème?
    Bien cordialement,
    Hervé

    Bonjour Hervé,
    Essayez d'installer les drivers NI-Sync 3.3, cela devrait logiquement mieux marcher.
    En complément, pourriez-vous préciser quel OS est installé sur votre PC hôte?
    Bien cordialement,
    Romain P.
    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;}
    >> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

  • Existe t'il une fonction DAQMX qui permet de vérifier si des voies digitale sont utilisée par un autre task ?

    Bonjour, 
    Je travaille actuellement sur une amélioration qui permet de vérifier l'etat des relais de puissance sur nos bancs de tests. Pour cela j'utilise du multi threads pour eviter de perdre du temps de test. Or dans certain cas le DAQMX ce met en défaut à cause d'un probléme d'utilisation des voies digitales. C'est pour cela que j'aimerai pouvoir insérer une fonction qui permet de vérifier si les voies digitales sont déja utiliser par autre task au lancement de mon thread. Cette fonction existe t'elle ? 
    Merci de votre soutien.
    Cordialement
    CHEVALIER Kevin

    Hello Kevin@VALEO,
    You're in a English section of the forum. Please write in English is you expect an answer. Otherwise, you can post your question in the French section here.
    Regarding your question, why don't you use the Create Task function in order to test if a task already is using the digital channels? If the function sends the specific error which indicates your digital channels are already in use, you'll know it.
    Please don't hesitate to post a simple example which demonstrates the error you meet, eventually attach a screenshot and give us details if you wish more help.
    Regards,
    Jérémy C.
    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

  • Carte PXI non reconnue dans MAX

    Bonjour,
    Voilà mon problème.
    J'ai une carte NI PXI 7852, que je ne trouves pas dans MAX.
    Pourtant celle ci est reconnue et trouvée dans le Gestionnaire de Périphérique.
    De ce fait mon programme ne peut s'exécuter sans la présence de cette carte.
    Comment régler un tel type de problème sachant que j'ai réinstaller les derniers drivers NIDAQmx de la version utilisée et que ça ne se reconnait toujours pas.
    Résolu !
    Accéder à la solution.

    Bonjour,
    Je pense que c'est le comportement normal de la carte.
    Il s'agit d'une carte à base de technologie FPGA qui a besoin d'un fichier bitfile créé par le module LabVIEW FPGA pour avoir le comportement souhaité.
    RIO signifie Reconfigurable Inpout / Output.
    Pouvez vous envoyer une copie d'écran de votre configuration développée sous Measurement & Automation Explorer ?
    Obtenez vous quelque chose de similaire à cela :
    Cordialement,
    PS : Natty, nice job with Kinect Das ist wunderbar
    Da Helmut

  • Ma carte audigy 2 ne fonctionne plus, my card audigy 2 s

    after I reload windows xp pro, the computer doesn't ?read?or see the card audigy 2 anymore, what shall I do?apres avoir reinstaller windows xp pro, l'ordinateur ne voit plus la carte audigy 2, j'ai essayer d'installer les pilotes?mais rien a faire?

    userdede,
    You could try a clean install. After uninstalling the software, also remove the soundcard and boot windows without it. Then proceed with the reinstallation as listed.

  • Pilotage PXI-2530B sous CVI et DAQmx

    Bonjour,
    Je dois piloter une carte PXI-2530B sous CVI avec DAQmx.
    Avec les exemples, j’ai accès au relais voulu parmi les 128 disponibles (k0 à k128),
    mais également aux relais internes (kbc01..., kcom1...kref...) !
    Cela signifie-t-il que malgré la topologie que je choisis (“2530/3-Wire Quad 16x1 Mux”),
    c’est à moi de gérer la fonction de multiplexage, par exemple pour la voie 0, en pilotant
    les relais k0, k16, kcom1... et en ouvrant tous les autres ? Ou bien la topologie choisie
    ***** charge-t-elle de gérer tous les relais de manière à ce que par exemple pour la voie 0,
    il suffit de piloter uniquement le relais k0, et alors ensuite, les autres seront
    automatiquement pilotés ?
    Je pensais également à NI-Switch, mais cela à l’air moins convivial au niveau des
    fonctions, et à priori pas nécessaire pour des simples MUX ?
    Merci.
    Pascal Taunay - Atelec.

    In English :
    I need to drive a board PXI-2530B under CVI with DAQmx.
    With the examples, I can access to the desired relay (from k0 to k128), but also to
    the internal relays (kbc01..., kcom1...kref...) !
    Does this mean that even if I choose the topology (“2530/3-Wire Quad 16x1 Mux”), I need
    to manage the mux function by myself, for example for the channel 0, with the driving of the
    k0, k16, kcom1... and openning all other relays ? Or the chosen topology manage by itself
    all the relays so that for example for the channel 0, I need to drive only the relay k0, and
    then all other relays will be automatically driven ?
    I thought also about NI-Switch, but it seems to be less easy regarding the CVI functions,
    and perhaps not necessary to manage simple muxs ?

Maybe you are looking for