DAQ PXI 6527 sous Teststand

Bonjour,
Je travaille actuellement sur le développement d'un programme de test automatique sous Teststand v3.1. Pour cela, je dipose d'un châssis PXI 1045 ainsi que diverses cartes PXI programmables.
Si je poste ce message sur le forum, c'est parce que j'ai des difficultés à accéder aux fonctionnalités de la carte PXI 6527. En effet, c'est la seule carte pour laquelle je ne dispose pas d'IVI (type Dmm) ou de DLL.
Je n'arrive donc pas à communiquer avec la carte PXI 6527 sous Teststand.
Mon objectif est de programmer la carte de façon à ce que je puisse la commander en Tout ou Rien (sortie à 0 ou 5V).
Comment puis-je réaliser un tel programme sous Labwindows CVI v7.0? Disposez-vous d'exemples?
Comment utiliser le programme CVI sous Teststand?
Cordialement,
Eric59

Bonjour Eric59,
Pour ce qui est de l'utilisation d'un code développé avec CVI sous Teststand, je vous conseille de consulter le manuel suivant : http://www.ni.com/pdf/manuals/375070c.pdf
A partir du chapitre 11, ce document vous explique comment utiliser CVI avec Teststand.
Concernant la carte PXI-6527, quelques exemples existent que vous trouverez au lien suivant : http://sine.ni.com/psp/app/doc/p/id/psp-152/lang/fr
Cordialement,
Celine
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
Du 15 octobre au 7 novembre : Strasbourg - Lyon - Lille - Toulouse - Mar...

Similar Messages

  • DLL pour PXI 6527 (usage sous TestStand)

    Bonjour,
    Dans le cadre du développement d'un programme de test sous TestStand, je suis amené à utiliser une carte PXI 6527 me fournissant mes e/s numériques.
    Cependant, après usage, il s'est révélé m'être impossible de la piloter sans l'utilisation d'une dll, que je ne semble pas posséder et dont je n'arrive pas à trouver trace sur la page web support de la PXI 6527. Pourriez vous de ce fait m'indiquer où trouver cette dll, ou le cas échéant la marche à suivre pour permettre le pilotage de la carte PXI sans celle-ci ?
    Je vous en remercie d'avance, 
    Cordialement

    Si vous souhaitez accéder aux fonctionnalités de votre 6527 depuis Teststand, deux possibilités s'offrent à vous :
    1. Construire un code (Un VI LabVIEW paar exemple), qui sera appelé durant une de vos séquences de test.
    2. Appeler un Assistant DAQ directement depuis Teststand, qui sera appelé dans une séquence de test.
    Je vous invite également à télécharger la dernière version du driver NI DAQmx (dernière en date : 9.6)
    NI-DAQmx 9.6 - Windows 7 32-bit/Vista 32-bit/Server 2008 R2 64-bit/XP 32-bit/Server 2003 R2 32-bit/V...
    Cordialement,
    Vincent.O
    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

  • Enregistrer dans un fichier excell les resultats de mesure sous teststand

    Bonjour à tous,
    Voila mon probléme semble trés simple (Et je penses que pour des experts il l'est).
    Je réalise avec un module PXI et teststand une mesure continue de courant en fonction de la température ( Mesure périodique définie par l'utilisateur).
    Le but est d'enregistrer dans un fichier excell les mesures réalisées.
    Y a t'il moyen sous teststand de réaliser cette fonction ?
    Merci d'avance pour votre aide

    Bonjour Gauthier,
    En effet il s'agit d'une question classique. il y a donc plusieures réponses.
    -Excel? Es ce qu'un csv suffirait? Si oui voici un lien ou tout est déjà fait: http://zone.ni.com/devzone/cda/epd/p/id/5854
    -Il est possible de customiser la séquence: reportgen_txt par exemple, et de rajouter des steps pour créer un rapport Excel à savoir: Créer un fichier Excel à partir d'un template, Rajouter les datas contenues dans les variables locales de la séquence (report header/footer/body), puis d'enregistrer le fichier là ou bon vous semble.
    Cordialement,
    Rodéric L
    Certified LabVIEW Architect

  • Adlink daqpilot not working in subvi (DAQ/PXI-2204)

    Using DAQpilot from Adlink
    in Labview 2010 / windows 7
    I want to do n-channels, n-scans, single shot in a while loop
    The configuration is as follows: (see also attached task)
    -installed device: DAQ/PXI-2204:0
    -n-chs: 0-31 differential
    -10.000 Hz
    -30.000 scans
    -scaled data in 2D array
    The DAQ pilot runs once and continously in a sub vi:
    It also works when I place the task in a loop.
    But when I use it in a sub vi which is called from another vi in a loop it work the first cycle and the second not, third ok, fourth not. see diagram below:
    following error message:
    Attachments:
    test_3.vi ‏67 KB
    while_loop.vi ‏13 KB
    tset3.zip ‏4 KB

    Hello!!!
    You do not need to put the "Configuration Parameters Setting" inside a loop.
    These configuration are needed just one time.
    If you want to change these parameters for other acquistion, you can put these steps inside a case structure and when you need to change those configurations values you've just to call the "Configuration Case" and do it before the new acquisition starts.
    The acquisition need to be continuous, not the configuration.
    You can found code examples on this link below:
    www.ni.com/code
    Hope this helps,
    Regards.
    Barbara Pracek
    Engenharia de Aplicações
    National Instruments Brasil

  • Utilisatio​n d'un analyseur de spetre sous teststand 3.1

    Bonjour à tous,
    Alors voila mon probléme :
    Je travails actuellement sur une baie de test automatisée utilisant Teststant pour séquencer le test et dialoguer avec les différents appareils.
    Jusqu'ici tout va trés bien. Nous souhaitons intégrer un analyseur de spectre sur cette baie.
    Aussi nous décidons de réaliser sur un portable l'intégration de cet analyseur avant de l'intégrer sur la baie de test.
    Installation des drivers IVI Compliance package 4..2 et le nouveau MAX et Teststand 3.1.
    Je configures, me semble t'il, correctement l'analyseur (AEROFLEX IFR 2399C), il est vu par le MAX mais sous teststand, dans la partie IVI, je ne retrouves que les "vieux" driver IVI : DMM, POWER SUPPLY, FGEN.....mais pas de IVI SpecAn.
    Je suis plus qu'embéter car comment faire pour utiliser cet analyseur si je ne retrouves pas le  IVI SpecAN sous teststand ?
    Merci d'avance de votre aide
    ++

    Bonjour,
    En cherchant dans la doc, il semblerait que TestStand ne fournisse qu'un nombre limité de steps IVI, et ne soit pas directement impacté par 'installation de IVI Compliance Package.
    IVI Step Types for TestStand
    Ce qui expliquerait que vous ne trouvez pas la class SpecAn dans les steps proposés.
    En revanche, j'imagine qu'il est possible de créer ses propres steps IVI pour la classe qui vous intéresse, mais je ne saurais vous guider sur le comment.
    Bonne chance.
    Olivier L. | Certified LabVIEW Developer

  • Utilisation d'énumération sous TestStand 2013

    Bonjour.
    Je travaille sur un projet sous TestStand 2013 où je dois créer des Step Types à partir d'une dll en .NET.
    Certaines fonctions de cette dll appellent des énumérations en entrée (exemple ci-dessous).
    Je load ensuite ce Step dans un Type afin de créer un Step Type.
    J'aurais aimé que ceux qui plus tard créeront des séquences à partir de mes Step Type accèdent directement à ces énumération dans leur séquence.
    Cependant je n'arrive pas à créer de structures équivalentes à une énumération sous TestStand.
    J'ai essayé avec des Containers et des Objects Reference mais impossible de faire apparaître un énumération dans le Step Type.
    Du coup, j'ai crée une fonction par élément de la liste ("SetBayerPatternBGBG", "SetBayerPatternGRGR", ...) mais ça ne me plaît gère car multipie les Step Type similaires.
    Exemple pour la fonction précédente avec le cas BGBG :
    Y'a t'il un moyen de créer un paramètre équivalent à une énumération sous TestStand ou de récupérer celle de la dll.net pour la mettre en paramètre d'entrée de mon Step Type ??
    Merci.

    Bonjour.
    Oui, j'avais déjà vu cette discution lors de mes recherches et vu que l'on pouvais utiliser des containers.
    Du coup, c'est ce que je m'apprêter à faire
    Ce qui m'ennuie un peu avec cette méthode, c'est que je suis obligé de re-créer toutes les énumérations de ma dll sous TestStand. Certaines de ces énumérations comme "Parity" ou "StopBits" proviennent du Framework 4 et j'aurais préféré les utiliser directement. Ainsi, les personnes qui feraient les séquences avec mes Step Type par la suite accederaient directement à l'énumération plutôt que d'utiliser mes containers.

  • Dialoguer avec un instrument sous teststand en utilisant le driver.dll

    Bonjour à tous,
    Alors dans un précédent post j'ai essayé de récupérer le pas IVI SpecAn sous teststand----> Pas possible
    Donc nouvelle solution :
    Je veux dialoguer avec mon analyseur de spectre sous teststand
              - Configuer sous le MAX GPIB0::7::INSTR  OK
              - les commandes sous MAX passe bien et l'analyseur répond aux instruction basiques.
    Je passes sous teststand, utilise le driver aéroflex pour l'IFR2399C et le sélectionne.
    Je lances une commande INIT, visualise via NI spy qu'une commande passe via le port GPIB mais l'appareil ne la prends pas en compte.
    En fait commant Teststand peut il savoir vers quel instrument j'envoi ma commande ? A aucun moment je ne passes le paramétre d'adresse ou autre ??????
    Je penses que mon probléme vient de la mais ne sait pas déterminer comment passer le paramétre d'adresse.
    PS : J'ai mis en PJ une vue du driver sous teststand (Ne pas prendre en compte les paramétres inscrits)
    Merci d'avance pour votre aide
    Pièces jointes :
    Sans titre.JPG ‏115 KB

    Bonjour,
    Pour moi, il faut obtenir un "instrumentHandle" (du même nom que le dernier paramètres) avant de faire votre initialisation.
    En général c'est ce genre de fonction ou on passe l'adresse GPIB de l'instrument.
    Dans votre cas vous pointez vers l'adresse 19200 en mémoire qui doit contenir une certaine valeur qui ne correpond pas à une adresse d'un matériel branché sur le bus GPIB.
    Essayez de voir si une fonction de connection est disponible (Connect(), GetHandle(), etc).
    Cordialement,
    Da Helmut

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

  • 2.7 year experiance in labview, DAQ, PXI, PCI seeking job

    chennai based
    2.7 year experiance in labview, DAQ, PXI, PCI seeking job
    Attachments:
    sen 3.doc ‏81 KB

    Thanks for your help,
    I've finally got rid of the errors, but when i run the VI while using the potentiometer, i'm not getting any readings on the graphs (on the front panel). I've checked for errors but cannot find any...
    Any help is appreciated,
    Thanks
    p.s. i've attached the VI so you can see what i mean...
    Attachments:
    Pitch Analysis1.vi ‏321 KB

  • Testing digital IO channels of a pxi-6527

    Hello,
    I need a VI that tests whether the digtal input/output channels on a pxi-6527 are working. So say by using an array of checkboxes aligned with a array of indicators, where the first dig input 0.0 is aligned with the first dig output 3.0 and so on.
    here's a link to the 6527 user manual
    Cheers

    If you only want to test if the DIO lines are working, you do not even need a VI.
    just use the MAX, set DO and read DI.
    if you still want a VI, make one VI with the help of NI Examples and then post the same for specific guidance.

  • How to monitor DAQ card outputs during TestStand operation?

    I am trying to debug a rare failure mode on a test station that runs on TestStand. TestStand controls measurement equipment through a PCI-GPIB controller and a DUT and DUT switch box through two NI-DAQmx devices; PCI-6509, and PCI-6534. I believe that root cause of the failure is due to the software not putting the DUT into the correct state for the test. In order to check this I need to monitor the changes on the GPIB and DAQ cards. I was able to use NI Spy to monitor the commands on the GPIB bus but I have not been able to monitor the state of DAQ cards. Is there a tool that will allow me to pause TestStand during its operation and look at what logic states the PCI-6509 and PCI-6534 outputs are in? Or at least monitor the I/O of the PCI-6509 and PCI-6534 cards similar to what NI SPY offers for the GPIB cards?
    Regards,
    David

    I am not aware of a tool similar to NI SPY for I/O cards.
    However you can introduce a break point at the point of interest in a test sequence(step).TestStand will stop execution at that point.
    You can then manually verify the I/O status using a DMM .
    Hope this helps.

  • IVI Configuration with PXI-4110 in TestStand

    Hello All,
    Set-Up:
    PXI-1033 connected through MXI to a PC running Windows 7. LabVIEW 2014. TestStand 2014 (32-bit). PXI-4110 Power Supply and PXI-4070 DMM.
    In MAX I can open both soft panels and control both units and they work great.  In LabVIEW I can control both cards as well. 
    In MAX I have set up a driver and logical name for my DMM. This unit works great within TestStand using an IVI DMM step.
    I then proceeded to setup the 4110 in MAX with an IVI driver and logical name. Here are my settings:
    Name: ni4410_PS
    Hardware: Added hardware asset and select the PS. This one is checked, no other assets are checked.
    Software Module: NI-DCPower, 4110 is listed as a device that is supported.
    Virtual Names: This is where I am confused, Under physical name there are four options that come up (0, 1, 2, and 3). This power supply only has 3 outputs so I am unsure why four come up. I have made 4 virtual names, one for each of the options. I named them ch0, ch1, ch2, and ch3 respectively.
    When I put an IVI Power Supply step in TestStand everything seems to be working. I open the configuration window and set my values for each channel. If I try to validate the setup by unchecking simulate and click on init I do not get an error.  As soon as I clic on 'Configure' or 'Show Soft Front Panel' I get the following error:
    "The IVI Configure operation failed for lgical name 'NI PS 1'. Details: Extention capability not supported by instrument driver. (Base) (-30717)"
    Any information would be appreciated.  I tried playing with it for a couple hours yesterday and had a couple co workers try to help.  We are all under the assumption that this should be working.  
    Thank You!!
    Jesse
    Solved!
    Go to Solution.

    Hi jesserzamora,
    Have you seen this link: http://digital.ni.com/public.nsf/allkb/331F2717DBCD1F858625758200745773?OpenDocument
    It discusses a similar failure with the IVI Power Supply step in TestStand. 
    Julia P.

  • DAQ-PXI 6259

    Hi,
    I am using Labview 7.1 and NI PXI 6259 DAQ card.
    I want to configure 'n' no.of digital channels at a time but each channel has to stop the task at different time.Is it possible to do this??
    Suppose consider i need to configure some 8 digital channels in that i need to write 4 channels continuously and 5th channel for 5 seconds,6th for 3 Seconds,7th for 2 seconds,8th for 10 seconds.I will come to know abt the no.of channels and whether it is for continuous or for finite time only at run time.Is there any method to configure the virtual channels by grouping all 8 channels but stop each channel at different time??
    Plz help me in this
    Regards
    Meenatchi

    Hello Meenatchi,
    It appears what you are trying to do is to use synchronized digital output so that one sample is output on all of your lines at the same time, for different lengths of time.  If this is the case, then what Britoa suggests is probably the best way to go about it.  You can programatically "decide" what you want to output and then build a digital waveform to reflect the behaivior you want to see. For example, if you wanted to output at 1kHz and you wanted channel 1 to output continuously while channel 2 only output for 1 second, then you would programatically construct a waveform where channel 2 was set low after 1000 samples.  The example that I would start with would be the Cont Write Dig Port-Ext Clk-Non Regeneration.vi
    As far as having different tasks running, the only way you can do that is if you use software timing (1 sample On Demand) for the different lines.  You can then create a different task for each line and stop them independently as shown here:
    Your lines will not be synchronized, but you could then use a case structure to decide whether to write to each line or not.
    I hope this gives you a place to start, post back if you have any issues programming this.
    Message Edited by Neal M on 12-26-2007 01:42 PM
    Neal M.Applications Engineering       National Instruments        www.ni.com/support
    Attachments:
    2DigLines.JPG ‏97 KB

  • Difference de comporteme​nt entre debug et release sous Teststand

    Bonjour,
    J'ai realisé une sequence teststand que je lance à partir de cvi. Je travaillais en mode debug et jusque la tout va bien. Cependant quand je passe la sequence en mode release et que je l'execute depuis CVI, le comportement est différent (je commande un lecteur de code a barre qui ne fonctionne alors plus en release)? Pourquoi?
    Chose etrange, si j'execute directement lasequence sous testand en release sa fonctionne? Ou est alors le souci?
    Merci d'avance por votre aide
    Florence D.

    Running the script by python2 solves it for me:
    su - mythtv -c "nice -n 19 python2 /usr/bin/tv_grab_nl_py --output ~/listings.xml"
    Best regards,
    Cedric

  • What is the best way to Query for a PXI Chassis in TestStand

    Hi All,
    I have some benches that have a PXI Chassis and others without. 
    I would like to Query for the Chassis and if it isn't there I will use another method of testing.
    Is there a way to query for the chassis and if there is how?
    Thanks
    Message Edited by glennjammin on 10-09-2009 09:23 AM
    Test Engineer
    L-3 Communications
    Solved!
    Go to Solution.

    Hi,
    You could use the VISA Find Resource function. If you get back PXI[bus]::device[::function][::INSTR] or PXI[interface]::[bus-]device[.function][::INSTR] then you have a PXI chassis
    regards
    Ray Farmer
    Regards
    Ray Farmer

Maybe you are looking for

  • How do I stop safari from reopening previous sessions even after restart?

    Finally made the leap to Lion. WHY does safari insist on starting up and restoring the previous session, all tabs and everything even after a restart.  I've looked in preferences and for the life of me cannot find how/where to turn this off.  I just

  • TS3714 how can i set an event in the calander to repeat on 2nd thurday of every month

    how can i get an event to show in calander every 2nd thursday every momth

  • Nikon Capture NX and Mac OS 10.4.11

    Using Nikon Capture NX, thumbnails don't display in the browser. Program will not quit and must be Force Quit every time. Other functions seem OK. I have tried various versions, from the CD that came with the camera (ver 1.3.0), to various others up

  • Billing changes

    My bill is normaly between 175.00 to 225.00 a month with 3 lines friends and family....my self and my daughter have 1000 text mgs each a month and my hubby has the 7pm option.my daughter had gotten a new phone in nov 24,2010.i  informed them i want t

  • Open a PDF file in illustrator with multiple pages CS6

    Hi all, Maybe someone could tell me if this feature is already available... I really need to use this feature... maybe someone has a Idea? i need to translate and edit a PDF file that was original designed by our factory... they had hired a company t